ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   EXCEL (https://www.excelbanter.com/excel-worksheet-functions/255946-excel.html)

Bobt

EXCEL
 
I need to total a column of numbers eg 'R' but only if the column 'I' says
'DES'.
--
BobT

Gary''s Student

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


Daryl S

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


Teethless mama

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


Fred Smith[_4_]

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



JLatham

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


Daryl S

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


.



All times are GMT +1. The time now is 02:26 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com