# Subtracting formula issue

#### coolhit

##### Board Regular
Hi
I am trying to do subtracting but have issue with formula.

Required is keyed in by user in cell A10
Have has formula in cell A11
Short fall has formula in cell A12 which i am having trouble with.

Current i get
Example 1
A10 = 345000 = Require
A11 = 346000 = Have
A12 =1000 = I want it blank.

Example 2
A10 = 347000 = Require
A11 = 346000 = Have
A12 = -1000 = I want it blank.

What i want to achieve is below

A10 = 345000 = Require
A11 = 346000 = Have
A12 = = I want it blank.

A10 = 347000 = Require
A11 = 346000 = Have
A12 = -1000 = I want to show negative figure.

Regards

### Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

##### Well-known Member
Hi Coolhit,

Like this?

Coolhit.xlsx
A
10347000
11346000
12-1000
Sheet1
Cell Formulas
RangeFormula
A12A12=IF(A11<A10,A11-A10,"")

#### coolhit

##### Board Regular
Hi Coolhit,

Like this?

Coolhit.xlsx
A
10347000
11346000
12-1000
Sheet1
Cell Formulas
RangeFormula
A12A12=IF(A11<A10,A11-A10,"")
This great many thanks

Replies
15
Views
153
Replies
4
Views
45
Replies
7
Views
242
Replies
1
Views
45
Replies
2
Views
88

### Forum statistics

1,127,107
Messages
5,622,780
Members
415,927
Latest member
vedasinternational

### 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.

### Which adblocker are you using?

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

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