Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gazzr
 
Posts: n/a
Default Help with SUMPRODUCT?


Hi All,

I have to say I'm pulling what little hair I have out over my
SUMPRODUCT formula.

Can anyone advise what I am doing wrong with the formula below?
Basically I am trying to Sum column AA based on two conditions in Col H
and Col S.

When I enter the formula i get the #NUM! error?

=SUMPRODUCT(--(Sheet1!H:H="LN"),--(Sheet1!S:S="Garry"),Sheet1!AA:AA)

Thanks everyone.
Garry


--
Gazzr
------------------------------------------------------------------------
Gazzr's Profile: http://www.excelforum.com/member.php...o&userid=31075
View this thread: http://www.excelforum.com/showthread...hreadid=557152

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dave Peterson
 
Posts: n/a
Default Help with SUMPRODUCT?

You can't use the whole column for this kind of formula.

Pick a row that is big enough and use that:

=SUMPRODUCT(--(Sheet1!H1:H9999="LN"),--(Sheet1!S1:S9999="Garry"),
Sheet1!AA1:AA9999)

Gazzr wrote:

Hi All,

I have to say I'm pulling what little hair I have out over my
SUMPRODUCT formula.

Can anyone advise what I am doing wrong with the formula below?
Basically I am trying to Sum column AA based on two conditions in Col H
and Col S.

When I enter the formula i get the #NUM! error?

=SUMPRODUCT(--(Sheet1!H:H="LN"),--(Sheet1!S:S="Garry"),Sheet1!AA:AA)

Thanks everyone.
Garry

--
Gazzr
------------------------------------------------------------------------
Gazzr's Profile: http://www.excelforum.com/member.php...o&userid=31075
View this thread: http://www.excelforum.com/showthread...hreadid=557152


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gazzr
 
Posts: n/a
Default Help with SUMPRODUCT?


Hi Dave,

Thanks for the help! I have fixed up the cell ranges as suggested and I
now get 0 as the result (Not as bad as #NUM!). I have made sure that the
cell ranges are correct and that the conditions that I am checking
against actually exist in Sheet1 but to no avail.

I will do some more testing and report back.

Thanks mate
Garry


--
Gazzr
------------------------------------------------------------------------
Gazzr's Profile: http://www.excelforum.com/member.php...o&userid=31075
View this thread: http://www.excelforum.com/showthread...hreadid=557152

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gazzr
 
Posts: n/a
Default Help with SUMPRODUCT?


Hi Dave,

User error I'm afraid, cell references were wrong, I was looking at Col
A, not Col AA.

Very happy that I know how to use SUMPRODUCT though!;)

Thanks again
Garry


--
Gazzr
------------------------------------------------------------------------
Gazzr's Profile: http://www.excelforum.com/member.php...o&userid=31075
View this thread: http://www.excelforum.com/showthread...hreadid=557152

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ragdyer
 
Posts: n/a
Default Help with SUMPRODUCT?

See if perhaps this might help you understand it even mo

http://www.xldynamic.com/source/xld.SUMPRODUCT.html

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"Gazzr" wrote in message
...

Hi Dave,

User error I'm afraid, cell references were wrong, I was looking at Col
A, not Col AA.

Very happy that I know how to use SUMPRODUCT though!;)

Thanks again
Garry


--
Gazzr
------------------------------------------------------------------------
Gazzr's Profile:
http://www.excelforum.com/member.php...o&userid=31075
View this thread: http://www.excelforum.com/showthread...hreadid=557152


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
Adding "OR" to a Sumproduct Formula Duke Carey Excel Worksheet Functions 0 March 21st 06 06:41 PM
Need help with sumproduct & dynamic ranges bill_s1416 Excel Worksheet Functions 1 March 19th 06 03:36 AM
sumproduct causing memory errors? dave Excel Worksheet Functions 1 March 3rd 05 09:31 AM
Sumproduct function not working Scott Summerlin Excel Worksheet Functions 12 December 4th 04 05:15 AM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM


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