Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 81
Default SUMIF summing multiple columns

I have the following formula in cell E9:
=SUMIF(Details!$X$6:$X$167,""&0.3,Details!$AF$6:$ AG$169)

It seems there is a problem with the SUMIF summing more than one column
(AF6:AG169). Any suggestions?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default SUMIF summing multiple columns


167 169
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"juliejg1" wrote in message
...
I have the following formula in cell E9:
=SUMIF(Details!$X$6:$X$167,""&0.3,Details!$AF$6:$ AG$169)

It seems there is a problem with the SUMIF summing more than one column
(AF6:AG169). Any suggestions?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 81
Default SUMIF summing multiple columns

I'm confused by your answer

"Don Guillett" wrote:


167 169
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"juliejg1" wrote in message
...
I have the following formula in cell E9:
=SUMIF(Details!$X$6:$X$167,""&0.3,Details!$AF$6:$ AG$169)

It seems there is a problem with the SUMIF summing more than one column
(AF6:AG169). Any suggestions?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default SUMIF summing multiple columns

What Don meant by "167 169" is that in SUMPRODUCT the arrays must be the
same length. Yours are not, as one has 162 rows and the other has 164.
--
David Biddulph

"juliejg1" wrote in message
...
I'm confused by your answer

"Don Guillett" wrote:


167 169
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"juliejg1" wrote in message
...
I have the following formula in cell E9:
=SUMIF(Details!$X$6:$X$167,""&0.3,Details!$AF$6:$ AG$169)

It seems there is a problem with the SUMIF summing more than one column
(AF6:AG169). Any suggestions?





  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default SUMIF summing multiple columns

It doesn't really matter since the OP is using SUMIF and wants to sum 2
columns (AF:AG) it will only work for one. This will work

=SUMPRODUCT((Details!$X$6:$X$1670.3)*(Details!$AF $6:$AG$167))


and that is where same sized arrays are important. SUMIF will gladly swallow
it


--


Regards,


Peo Sjoblom




"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
What Don meant by "167 169" is that in SUMPRODUCT the arrays must be the
same length. Yours are not, as one has 162 rows and the other has 164.
--
David Biddulph

"juliejg1" wrote in message
...
I'm confused by your answer

"Don Guillett" wrote:


167 169
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"juliejg1" wrote in message
...
I have the following formula in cell E9:
=SUMIF(Details!$X$6:$X$167,""&0.3,Details!$AF$6:$ AG$169)

It seems there is a problem with the SUMIF summing more than one
column
(AF6:AG169). Any suggestions?








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 81
Default SUMIF summing multiple columns

Thank you!

"Peo Sjoblom" wrote:

It doesn't really matter since the OP is using SUMIF and wants to sum 2
columns (AF:AG) it will only work for one. This will work

=SUMPRODUCT((Details!$X$6:$X$1670.3)*(Details!$AF $6:$AG$167))


and that is where same sized arrays are important. SUMIF will gladly swallow
it


--


Regards,


Peo Sjoblom




"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
What Don meant by "167 169" is that in SUMPRODUCT the arrays must be the
same length. Yours are not, as one has 162 rows and the other has 164.
--
David Biddulph

"juliejg1" wrote in message
...
I'm confused by your answer

"Don Guillett" wrote:


167 169
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"juliejg1" wrote in message
...
I have the following formula in cell E9:
=SUMIF(Details!$X$6:$X$167,""&0.3,Details!$AF$6:$ AG$169)

It seems there is a problem with the SUMIF summing more than one
column
(AF6:AG169). Any suggestions?







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


Similar Threads
Thread Thread Starter Forum Replies Last Post
SUMIF, One criteria multiple columns O_o Excel Discussion (Misc queries) 4 November 8th 06 12:39 AM
SUMIF and multiple columns wait3264 Excel Discussion (Misc queries) 3 August 11th 06 01:04 PM
SUMIF with multiple criteria, by columns Question Excel Worksheet Functions 3 March 29th 06 05:27 AM
SUMIF over multiple columns psmith4497 Excel Worksheet Functions 3 June 17th 05 06:40 PM
Sumif over multiple columns Josh O. Excel Worksheet Functions 1 February 15th 05 04:33 PM


All times are GMT +1. The time now is 09:37 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"