#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 84
Default EXCEL

I need to total a column of numbers eg 'R' but only if the column 'I' says
'DES'.
--
BobT
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 135
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,203
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 135
Default 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


.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:24 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"