0
Thanks

A few words of thanks would be greatly appreciated.

Excel - Remove #Value error message



Issue


How to remove the #Value error while leaving the formula in cell?
The formula is:
  • =IF(AND(C5>D5);((A3*A4)-(12,5));IF(AND(D5>C5);((C4*C3)-(12,5));IF(AND(C5=D5);((B4*B3)-(12,5));""))) 

Solution


Try this:
  • =IF(C5>D5;(A3*A4)-12,5;IF(D5>C5;(C4*C3)-12,5;IF(C5=D5;(B4*B3)-12,5;""))) 


Then the error message "# Value!" is caused by a text input or space in your cell calculation. It's better avoid this kind of data entry.

Thanks to Mike-31 for this tip.
0
Thanks

A few words of thanks would be greatly appreciated.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jean-François Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.
Related
This document, titled « Excel - Remove #Value error message », is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).

Subscribe To Our Newsletter!

The Best of CCM in Your Inbox

Subscribe To Our Newsletter!