If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
EXCEL
I need to total a column of numbers eg 'R' but only if the column 'I' says
'DES'. -- BobT |
#2
|
|||
|
|||
EXCEL
=SUMPRODUCT(--(I1:I100="DES"),R1:R100)
-- Gary''s Student - gsnu201001 "BobT" wrote: I need to total a column of numbers eg 'R' but only if the column 'I' says 'DES'. -- BobT |
#3
|
|||
|
|||
EXCEL
Bob -
Adjust the column lengths to your needs. This is an array formula, so after putting this in your result cell, press Ctrl|Sift|Enter instead of just Enter. =SUMPRODUCT(--(I2:I13 = "DES"),J2:J13) -- Daryl S "BobT" wrote: I need to total a column of numbers eg 'R' but only if the column 'I' says 'DES'. -- BobT |
#4
|
|||
|
|||
EXCEL
=SUMIF(I:I,"Des",R:R)
"BobT" wrote: I need to total a column of numbers eg 'R' but only if the column 'I' says 'DES'. -- BobT |
#5
|
|||
|
|||
EXCEL
Daryl,
Sumproduct is not an array function. Using Enter will suffice. Regards Fred "Daryl S" wrote in message ... Bob - Adjust the column lengths to your needs. This is an array formula, so after putting this in your result cell, press Ctrl|Sift|Enter instead of just Enter. =SUMPRODUCT(--(I2:I13 = "DES"),J2:J13) -- Daryl S "BobT" wrote: I need to total a column of numbers eg 'R' but only if the column 'I' says 'DES'. -- BobT |
#6
|
|||
|
|||
EXCEL
Dat's da 1 I'd have used! All too often we get fixated on SUMPRODUCT() even
when not required because only 1 IF condition needs to be evaluated. Bonus points for most efficient and fast operating solution g. "Teethless mama" wrote: =SUMIF(I:I,"Des",R:R) "BobT" wrote: I need to total a column of numbers eg 'R' but only if the column 'I' says 'DES'. -- BobT |
#7
|
|||
|
|||
EXCEL
Thanks Fred - I stand corrected. The forumula is still good.
-- Daryl S "Fred Smith" wrote: Daryl, Sumproduct is not an array function. Using Enter will suffice. Regards Fred "Daryl S" wrote in message ... Bob - Adjust the column lengths to your needs. This is an array formula, so after putting this in your result cell, press Ctrl|Sift|Enter instead of just Enter. =SUMPRODUCT(--(I2:I13 = "DES"),J2:J13) -- Daryl S "BobT" wrote: I need to total a column of numbers eg 'R' but only if the column 'I' says 'DES'. -- BobT . |
Thread Tools | |
Display Modes | |
|
|