Simple if question??

  • Thread starter Thread starter Shhhh
  • Start date Start date
S

Shhhh

Hello all,

I'm looking for a simple if function that says basically:

IF C39 is greater than B39 then B39-C39... if however B39 is greater
than C39 then C39-B39

I'm sure its a fairly simple one but I'm lost.

Any and all help greatly appreciated!

Thanks!
 
Hi

Try
=IF(C39>B39,B39-C39,C39-B39)
Or
=-ABS(B39-C39)

Regards,
Pedro J.
 

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

Back
Top