=IF problem

D

DaveAsh

Hi,
I have a spreadsheet which is to be used to monitor spend according to
specific cost codes. I am having problems though in writing formulas that
actually work..

Can anyone help in writing a formula to work out the total spend (£) (which
could be in any of the cells h44:h420), for spend which is on a certain cost
code e.g. '6210 - Oil' which can be in any of the cells e44:e420. The new
total (£) needs to go into cell d2.

If I can see how to do one cost code, I can then alter the formula to work
out the others.

note column d uses a drop down input

I'm sure its simple, but I'm struggling.

Cheers
 
D

DaveAsh

Sorry, I missed out another condition of the formula.

Column J, (range j44:j420) must be marked Yes for the amout to be considered
in the formula

Please help!
 
B

Builder

If I understand your request I wouyld suggest the =DSUM formula. Hope that
helps
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

using if for multiple criteria 22
sumifs problem 1
#DIV/0! problem 4
Cashflow 5
SUMIF using cells with commas in 1
Can you work this backwards 1
Formula for summing cells that may be deleted 4
Grouping Totals 1

Top