SUNIF with 2 criteria cells

G

Guest

A B C D E F
1/06 2/06 3/06 4/06
1 ford
2 chey
3 dodge


OK, on another sheet I have 20,900 lines of items I have sold to these
customers.
I have the cust name in column A, the date as listed in row 2 is in column
E, and the number of pcs sold is in column C. I want to get the total amount
sold to each cust during each month. Any help would be great.
 
G

Guest

Roger,
Thanks for the attempt. I couldn't get it to work though( i'm sure it's my
doing)
=SUMPRODUCT(--(Sheet3!$A$2:$A$20903)=A5)--(Sheet3!$G$2:$G$20903=$B$4)*(Sheet3!$E2:$E20903)
That is what it ended up as when MS put in its fix. I changed some of the
row and column #s to fit actual. On your formula the last part didn't call
out another sheet. Is this correct? Also on the middle section it called out
only "Sheet" without a #.
Any further options?
Thanks,
Mike
 
P

Peo Sjoblom

Try this, DON'T let excel try to change it

=SUMPRODUCT(--(Sheet3!$A$2:$A$20903=A5),--(Sheet3!$G$2:$G$20903=$B$4),Sheet3!$E2:$E20903)

will lookup A5 in the A range where the G range is equal to B4 then sum
those conditions in E

--
Regards,

Peo Sjoblom

Portland, Oregon
 
G

Guest

Thanks Peo,
That did the trick!!
Mike


Peo Sjoblom said:
Try this, DON'T let excel try to change it

=SUMPRODUCT(--(Sheet3!$A$2:$A$20903=A5),--(Sheet3!$G$2:$G$20903=$B$4),Sheet3!$E2:$E20903)

will lookup A5 in the A range where the G range is equal to B4 then sum
those conditions in E

--
Regards,

Peo Sjoblom

Portland, Oregon
 

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