The formula in cell AF5 will return a value of 1, as it should, but the same formula doesn't return the correct answer (should be '1') in cells AF6 and AF10?
many thanks!
The formula in cell AF5 will return a value of 1, as it should, but the same formula doesn't return the correct answer (should be '1') in cells AF6 and AF10?
many thanks!
Hi
That is because the values in AE6 and AE10 are less than the value in AE4. So the function result is 0.??? and when you remove the decimal part (with TRUNC), you get 0.
Try looking at ROUND, or ROUNDUP or something like that if you think the result should be 1 for those cells.
rylo
cstauber
Welcome to Exceltip forum
Please take a couple of minutes and read the Forum Rules
In future please use better thread titles
Please Read Forum Rules Before Posting
Wrap VBA code by selecting the code and clicking the # icon or Read This
How To Cross Post politely
Top Excel links for beginners to Experts
If you are pleased with a member's answer then use the Scales icon to rate it
If my reply has assistedor failed to assist you
I welcome your Feedback.
Thank you so much - I knew it was something glaringly simple.
<Bows to the master>
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks