Hi!
Try this:
=IF(OR(C3="",D3="",F3=""),"",IF(C3D3,D3-F3,IF(D3C3,C3-F3,"equal")))
You haven't accounted for C3 and D3 being equal!
If any of the referenced cells are empty the formula will return blank ("").
Biff
"BenJAMMIN" wrote in message
...
I am trying to figure out a simple formula but it is giving me fits:
If cell C3 is bigger than D3, Then take D3 and less the amount in F3 and
give me the sum
If cell D3 is bigger than C3, Then take C3 and less the amount in F3 and
give me the sum
So the formula needs to be a sum if statement???
What would it look like?
|