Subtract Cell A1 from A2 and vice versa

fjwag3

New Member
Joined
Aug 16, 2020
Messages
8
Office Version
  1. 2007
New Excel user coming from open office.

Simple subtraction, eg, A1, A2, A2, A1. I need the solution in Cell B opposite the > number.
=IF(E7>E8;E7-E8;"") is the formula in Open Office. The double quotations do not get the job done in excel 2007.

=MAX(A1:A2)-MIN(A1:A2) this formula subtracts and places in the one cell, I need it either/or, adjacent to the > #.

9 3
6

6
9 3

Thanks in advance
FJW3

 

fjwag3

New Member
Joined
Aug 16, 2020
Messages
8
Office Version
  1. 2007
Question has been answered. Thanks to all who posted!
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Watch MrExcel Video

Forum statistics

Threads
1,132,912
Messages
5,655,912
Members
418,250
Latest member
Jebacmakro

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
Top