Excel Formula

keiljohnsilver

New Member
Joined
Jan 21, 2017
Messages
6
Hi i would like some help with a formula basically if a cell let's say A9 has a value i want the cell to take the value in another cell away (D9)

the cell in question is J9 and includes the current formula =MAX((D9-E9+F9-G9+H9-I176),0)

Any help welcome

Thanks
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Not quite i want J9 to subtract D9 IF A9 has a value lets say J9 = 100 D9 =20 & F9 =80

IF A9 has a value then do not include D9 (£20) therefore overall value in J9 would = £80

hope this makes sense.

Thanks
 
Upvote 0
No, sorry - not getting it. Please provide some sample data in tabular format showing what is in each of these cells that are referenced in your formula.
 
Upvote 0
No, sorry - not getting it. Please provide some sample data in tabular format showing what is in each of these cells that are referenced in your formula.

i just did:

J9 to subtract D9 IF A9 has a value lets say J9 = 100 (D9+F9) D9 =20 & F9 =80 therefore J9 = £100

IF A9 has a value in its cell then do not include D9 (£20) therefore overall value in J9 would = £80 (F9 Only)

Thanks
 
Upvote 0
Assuming A9 will either have a value or will be empty/blank...
=F9+IF(A9="",D9,0)
 
Upvote 0

Forum statistics

Threads
1,214,943
Messages
6,122,380
Members
449,080
Latest member
Armadillos

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