Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
GD GD is offline
external usenet poster
 
Posts: 83
Default SUMPRODUCT column criteria

Can anyone tell me if an entire column can be used as criteria in a
SUMPRODUCT formula? I tried: =-SUMPRODUCT(--('PS Sales'!$K:$K='Jan
09'!I$1),--('PS Sales'!$F:$F='Jan 09'!$A18),'PS Sales'!$H:$H) but got a #NUM!
error.

Using =-SUMPRODUCT(--('PS Sales'!$K$1:$K$60000='Jan 09'!I$1),--('PS
Sales'!$F$1:$F$60000='Jan 09'!$A18),'PS Sales'!$H$1:$H$60000) works fine, but
typing the row numbers every time is a huge waste of time!

Thanks!
--
GD
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default SUMPRODUCT column criteria

Hi,
Selecting the entire column will work only with excel 2007

"GD" wrote:

Can anyone tell me if an entire column can be used as criteria in a
SUMPRODUCT formula? I tried: =-SUMPRODUCT(--('PS Sales'!$K:$K='Jan
09'!I$1),--('PS Sales'!$F:$F='Jan 09'!$A18),'PS Sales'!$H:$H) but got a #NUM!
error.

Using =-SUMPRODUCT(--('PS Sales'!$K$1:$K$60000='Jan 09'!I$1),--('PS
Sales'!$F$1:$F$60000='Jan 09'!$A18),'PS Sales'!$H$1:$H$60000) works fine, but
typing the row numbers every time is a huge waste of time!

Thanks!
--
GD

  #3   Report Post  
Posted to microsoft.public.excel.misc
GD GD is offline
external usenet poster
 
Posts: 83
Default SUMPRODUCT column criteria

UGH!!!

Thanks, Eduardo!
--
GD


"Eduardo" wrote:

Hi,
Selecting the entire column will work only with excel 2007

"GD" wrote:

Can anyone tell me if an entire column can be used as criteria in a
SUMPRODUCT formula? I tried: =-SUMPRODUCT(--('PS Sales'!$K:$K='Jan
09'!I$1),--('PS Sales'!$F:$F='Jan 09'!$A18),'PS Sales'!$H:$H) but got a #NUM!
error.

Using =-SUMPRODUCT(--('PS Sales'!$K$1:$K$60000='Jan 09'!I$1),--('PS
Sales'!$F$1:$F$60000='Jan 09'!$A18),'PS Sales'!$H$1:$H$60000) works fine, but
typing the row numbers every time is a huge waste of time!

Thanks!
--
GD

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 79
Default SUMPRODUCT column criteria

You can use a named range if that would help - but as far as I am aware the
range cannot be $A$:$A$

edvwvw

GD wrote:
Can anyone tell me if an entire column can be used as criteria in a
SUMPRODUCT formula? I tried: =-SUMPRODUCT(--('PS Sales'!$K:$K='Jan
09'!I$1),--('PS Sales'!$F:$F='Jan 09'!$A18),'PS Sales'!$H:$H) but got a #NUM!
error.

Using =-SUMPRODUCT(--('PS Sales'!$K$1:$K$60000='Jan 09'!I$1),--('PS
Sales'!$F$1:$F$60000='Jan 09'!$A18),'PS Sales'!$H$1:$H$60000) works fine, but
typing the row numbers every time is a huge waste of time!

Thanks!


--
Message posted via http://www.officekb.com

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
SUMPRODUCT - Count Various criteria in same column (exclude other) EricB Excel Worksheet Functions 8 September 5th 08 07:44 AM
2 criteria lookup of text. Return text form column 3. SUMPRODUCT t zzxxcc Excel Worksheet Functions 2 August 26th 08 11:04 PM
sumproduct with multiple criteria in single column my Excel Discussion (Misc queries) 4 July 5th 07 07:57 PM
sumproduct 2 columns based on criteria in 3rd column excel guru i''m not Excel Discussion (Misc queries) 5 December 31st 05 03:47 PM
Sumproduct - multiple criteria in Column A briank Excel Worksheet Functions 2 January 6th 05 06:44 PM


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