. A B C
1 1 2 2
2
case 1 :
SUM(B1-A1) = RESULT IS 1
case 2 :
SUM(B1-C1) = RESULT IS 0
in case 2, I want the blank cell to be returned when the formula result is "0"
thank you.
. A B C
1 1 2 2
2
case 1 :
SUM(B1-A1) = RESULT IS 1
case 2 :
SUM(B1-C1) = RESULT IS 0
in case 2, I want the blank cell to be returned when the formula result is "0"
thank you.
You could amend your formula to this:
=IF(SUM(B1-C1)=0,"",SUM(B1-C1))
or you could keep the same formula and apply a Custom Format to the cell of:
General;-General;;
and this will cause zero values to be displayed as blanks.
Hope this helps.
Pete
Thanks, that working ..
If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post and mark this thread as SOLVED.
Also, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).
Pete
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks