Can I SUM column C IF Column A=X AND Column D=Y?
Assign your "given values" to particular cells, so they can easily be
changed, without having to revise the formula itself (E1, E2).
=Sumproduct((A1:A100=E1)*(D1:D100=E2)*C1:C100)
To add other criteria, simply add another argument:
=Sumproduct((A1:A100=E1)*(D1:D100=E2)*(B1:B100=E3) *C1:C100)
All ranges should be the same size, and you *cannot* use entire columns
(A:A - B:B)
--
HTH,
RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===
"Minx" wrote in message
...
If you could follow that...
I have a number of columns of information for any given row. I would like to
set up a sheet that will sum Column C for all rows IF Column A = {a given
value} AND Column D = {a different given value}. I may even need to throw in
that Column B = {another given value}. Can I do this and how?
I've run across something about VLOOKUP, but I'm not sure how to make that
work. I'm primarily a CAD operator making brief forays into Excel, and I
keep
thinking it has got to be easier than all the manual sorting I'm currently
doing.
I'm using Excel 2003 (on Windows XP SP2)
|