I need a formula for 2 if conditions
If cell b2 = 1, then -1
If cell b2 = 0, then -2
I need a formula for 2 if conditions
If cell b2 = 1, then -1
If cell b2 = 0, then -2
One way...
=IF(B2=1,-1,IF(AND(ISNUMBER(B2),B2=0),-2,""))
Biff
Microsoft MVP Excel
Keep It Simple Stupid
Let's Go Pens. We Want The Cup.
Perhaps
=B2-2
Assuming 1 and 0 are the only choices...
=IF(B2=1,-1,-2)
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks