Hi all,
I have the following code to display a message box if a range doesn't sum to 100%
Please Login or Register to view this content.
However the msgbox appears even if the cells do sum to 100. I have tested all the ranges using the following code:
and found that the problem is in the range D6:D9. This range returns true as expected in most cases, but occasionally false even if the numbers sum to 100%.Please Login or Register to view this content.
i.e. 5% 5%
65% 41%
13% 43%
17% sums to 100% and returns true 11% sums to 100% but returns false.
Could anyone provide any ideas as to why this might be happening?
Thanks in advance,
James
Bookmarks