Formula needed to determine higher figure and subtract lower

nails

New Member
Joined
Mar 4, 2011
Messages
6
Hi.. I'm an excel newbie and so would be grateful for any help with my question;

f i k

100 50
100 150

I want to get an answer for to display in k. I need to start with col f as that is my base fig. Sometimes the figure in i is lower than f and sometimes it's higher so I need a calculation that determines which is the higher figure f or i and then subtracts the lower figure and displays it in k.
I do not want a negative figure. Does this make sense?

Chris.
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Hi Jesse

When I try this I get a result of 0 which is wrong as the figures are:

f 7500 i 6366.72
 
Upvote 0
Surely, it's all simpler than that:

=ABS(F1-I1)
 
Upvote 0

Forum statistics

Threads
1,224,589
Messages
6,179,744
Members
452,940
Latest member
rootytrip

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top