SUMIF function using Criteria on different worksheet

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a SUMIF function analysing data across different worksheets. However
currently I am manually typing in the "Criteria" (which is in text form) in
to each different equation. The Criteria list is available on a seperate
worksheet, can I simply refer the equation to look at a defined cell in
another worksheet.

For example
=SUMIF('Outgoings'!$E$9:$E$26,"=Electricity",'Outgoings'!$I$9:$I$26)

So if the word "Electricity" is in cell 'Purchase List'!G8 can the formula
refer to the cell rather than the word Electricity?

Thanks in advance, a Taxed Mind.
 
Try...

=SUMIF('Outgoings'!$E$9:$E$26,'Purchase List'!G8,'Outgoings'!$I$9:$I$26)

Hope this helps!
 
You need to refer to the cell itself, not whats in it, eg if 'Electricity'
were in B7 in Sheet3 then,

=SUMIF('Outgoings'!$E$9:$E$26,Sheet3!B7,Outgoings'!$I$9:$I$26)

or if you name Sheet3 B7 'Electricity'

=SUMIF('Outgoings'!$E$9:$E$26,Electricity,Outgoings'!$I$9:$I$26)
Regards,
Alan.
 

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

Back
Top