SUMIF

N

Nath

HI,

I have two criteria that i wish to use within the SUMIF
function, is this possible. I have both a Product Name
and a Week number. Week number is column f and product is
column H, the value is column I. The week # is in cell
a1, the products are in a list from a2 downwards.

TIA

Nath.
 
H

Helen Trim

You can't have 2 criteria in a sumif function. One way
round this is to use an AND function or OR function in a
separate column to test both criteria. This will then
have true or false on each line. Then you can use this
column as your criteria range.

For example, if you want to sum column C where column A
equals "Fred" and column B is greater than 10, then in
column D have the function:
=AND(A2="Fred",B2>10)

Then the sum is given by:
=SUMIF(D:D,TRUE,C:C)

Hope this helps,
Helen
 

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


Top