Formula help

robswayne

New Member
Joined
Apr 22, 2024
Messages
3
Office Version
  1. 2013
Platform
  1. Windows
Morning Everyone,

first post on here, I am after some help with a formula.

I am setting up a cost sheet and I want a contingency for 5 different area codes. if a cost is added after a line break that cost will be subtracted from the relevant contingency area code.

I hope that make sense? picture added to hopefully help

1713782661754.png


Thanks Rob
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
what will be entered into the 4 columns - anythign you could use in a SUMIFS() to pull out costs ?
 
Upvote 0
nothing that will be generic. the code column will have 1 of 5 codes in it.

I don't think I have explained it very well. the contingency at the bottom needs to subtract any values that have the same code in. for example if I added in a line for code 1 with a value of £5000 the code 1 contingency would read £45000.

Thanks
 
Upvote 0
sorry i'm not following at all now

code1 has an item qty of 5 , so i assume at a cost of each item 10k as shown planned and then a total of 50k (10k * 5)

at the bottom code 1 - 1 item cost 50k, and total 50k

so where is the entry for subtraction of 5k code 1

is that a range inbetween

or just after an empty row

sorry, read a few times
 
Upvote 0
Here's the template for code 1. Repeat for other codes.
Rich (BB code):
=Plan Total Code 1 - SUMIF(Area Code, Code 1, Value)
 
Upvote 0

Forum statistics

Threads
1,215,417
Messages
6,124,777
Members
449,187
Latest member
hermansoa

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