#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Patricia
 
Posts: n/a
Default SUMPRODUCT

I am attempting to use the sumproduct function to determine the number of
ovetime hours worked by week. The following formula is returning a zero
value, which is incorrect:

=SUMPRODUCT((D$2:D$15000="20051009")*(E$2:E$15000= "L102")*(I2,I15000))

Seems pretty straightforward, but it's not working. Any help would be
appreciated.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gary''s Student
 
Posts: n/a
Default SUMPRODUCT

Replace:
I2,I15000
with
I2:I15000
--
Gary's Student


"Patricia" wrote:

I am attempting to use the sumproduct function to determine the number of
ovetime hours worked by week. The following formula is returning a zero
value, which is incorrect:

=SUMPRODUCT((D$2:D$15000="20051009")*(E$2:E$15000= "L102")*(I2,I15000))

Seems pretty straightforward, but it's not working. Any help would be
appreciated.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Patricia
 
Posts: n/a
Default SUMPRODUCT

Thank's, but that is just a typo. I have typed it as you indicated in my
spreadsheet. Any other suggestions????

"Gary''s Student" wrote:

Replace:
I2,I15000
with
I2:I15000
--
Gary's Student


"Patricia" wrote:

I am attempting to use the sumproduct function to determine the number of
ovetime hours worked by week. The following formula is returning a zero
value, which is incorrect:

=SUMPRODUCT((D$2:D$15000="20051009")*(E$2:E$15000= "L102")*(I2,I15000))

Seems pretty straightforward, but it's not working. Any help would be
appreciated.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Roberto
 
Posts: n/a
Default SUMPRODUCT


: =SUMPRODUCT((D$2:D$15000="20051009")*(E$2:E$15000= "L102")*(I2,I15000))

Have you already tried this way?:

=SUMPRODUCT((D$2:D$15000=20051009)*(E$2:E$15000="L 102")*(I2:I15000))

Roberto


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

What's in column D?

Is it a date formatted to look like yyyymmdd (or possibly yyyyddmm)???

Are your really comparing column E to the string "L102" or are you trying to
compare column E to what's in cell L102?

I like this format:

=sumproduct(--(D$2:D$15000=date(2005,10,9)),--(E$2:E$15000=L102),(I$2:I$15000))

Adjust the ranges to match--but you can't use whole columns.

=sumproduct() likes to work with numbers. The -- stuff changes trues and falses
to 1's and 0's.

Bob Phillips explains =sumproduct() in much more detail he
http://www.xldynamic.com/source/xld.SUMPRODUCT.html

And J.E. McGimpsey has some notes at:
http://mcgimpsey.com/excel/formulae/doubleneg.html




Patricia wrote:

I am attempting to use the sumproduct function to determine the number of
ovetime hours worked by week. The following formula is returning a zero
value, which is incorrect:

=SUMPRODUCT((D$2:D$15000="20051009")*(E$2:E$15000= "L102")*(I2,I15000))

Seems pretty straightforward, but it's not working. Any help would be
appreciated.


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sandy Mann
 
Posts: n/a
Default SUMPRODUCT

Patricia,

If you have 20051009 in a cell then that is a number and you are looking in
the SUMPRODUCT() for a string - "20051009"

Try removing the quotes within SUMPRODUCT() or format column D as text
*before* you enter 20051009 or preceed with an apostrophe.

--
HTH

Sandy
In Perth, the ancient capital of Scotland


with @tiscali.co.uk


"Patricia" wrote in message
...
Thank's, but that is just a typo. I have typed it as you indicated in my
spreadsheet. Any other suggestions????

"Gary''s Student" wrote:

Replace:
I2,I15000
with
I2:I15000
--
Gary's Student


"Patricia" wrote:

I am attempting to use the sumproduct function to determine the number
of
ovetime hours worked by week. The following formula is returning a
zero
value, which is incorrect:

=SUMPRODUCT((D$2:D$15000="20051009")*(E$2:E$15000= "L102")*(I2,I15000))

Seems pretty straightforward, but it's not working. Any help would be
appreciated.




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 and dynamic ranges Bill_S Excel Worksheet Functions 2 March 19th 06 01:19 AM
Sumproduct Peter B Excel Worksheet Functions 1 March 7th 05 01:59 PM
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 04:49 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"