A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

EXCEL



 
 
Thread Tools Display Modes
  #1  
Old February 10th, 2010, 05:21 PM posted to microsoft.public.excel.worksheet.functions
Bobt
external usenet poster
 
Posts: 110
Default EXCEL

I need to total a column of numbers eg 'R' but only if the column 'I' says
'DES'.
--
BobT
  #2  
Old February 10th, 2010, 05:45 PM posted to microsoft.public.excel.worksheet.functions
Gary''s Student
external usenet poster
 
Posts: 7,584
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  
Old February 10th, 2010, 05:48 PM posted to microsoft.public.excel.worksheet.functions
Daryl S[_2_]
external usenet poster
 
Posts: 881
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  
Old February 10th, 2010, 05:50 PM posted to microsoft.public.excel.worksheet.functions
Teethless mama
external usenet poster
 
Posts: 3,722
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  
Old February 10th, 2010, 06:07 PM posted to microsoft.public.excel.worksheet.functions
Fred Smith[_4_]
external usenet poster
 
Posts: 2,386
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  
Old February 10th, 2010, 09:52 PM posted to microsoft.public.excel.worksheet.functions
JLatham
external usenet poster
 
Posts: 1,896
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  
Old February 11th, 2010, 05:53 PM posted to microsoft.public.excel.worksheet.functions
Daryl S[_2_]
external usenet poster
 
Posts: 881
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


.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:40 PM.


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