Math Formula

D

DaveB

I'm trying to write a math formula but I don't know how
to write it. Could someone help me. I'd like it to say,
if cell E7 is greater than cell E8 then Cell E9 = 0, but
if cell E7 is less than than cell E8 then Cell E9 = E7
minus E8. The label for this row would be Dave owes Terry.
Then on the cell below that which would be Cell E10 the
formula should be reversed to say if cell E7 is less
than cell E8 then Cell E9 = 0, but if cell E7 is greater
than than cell E8 then Cell E9 = E7 minus E8. This cell
would be labeled Terry owes Dave. Please help. How do I
do this?
 
D

Don Guillett

how about something like this. What if e7=e8??
=if(e7<e8,e7-e8,if(e7>e8,0,""))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top