Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 47
Default SumProduct Returns Zero

I have entered the following formula on a summary sheet:

SUMPRODUCT(('issue detail'!MONTH(A$3:A$275)=7)*('issue detail'!B$3:B$275))

Issue Detail is the second sheet in the workbook. Column A contains dates
(every day of the year). Columns B thru E contain numbers. I am trying to
get a total for the month of July (and for all other months) for each column.
This formula keeps retuning zero. Why?

If I can get the formula to work, I would also break down the totals by
week. By the end of the year, with 12 months and 52 weeks, would another
formula be faster?

I am using Excel 2003.

Thanks, Ron
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MDW MDW is offline
external usenet poster
 
Posts: 117
Default SumProduct Returns Zero

Try this:

SUMPRODUCT((MONTH('issue detail'!A$3:A$275)=7)*('issue detail'!B$3:B$275))

--
Hmm...they have the Internet on COMPUTERS now!


"ronnomad" wrote:

I have entered the following formula on a summary sheet:

SUMPRODUCT(('issue detail'!MONTH(A$3:A$275)=7)*('issue detail'!B$3:B$275))

Issue Detail is the second sheet in the workbook. Column A contains dates
(every day of the year). Columns B thru E contain numbers. I am trying to
get a total for the month of July (and for all other months) for each column.
This formula keeps retuning zero. Why?

If I can get the formula to work, I would also break down the totals by
week. By the end of the year, with 12 months and 52 weeks, would another
formula be faster?

I am using Excel 2003.

Thanks, Ron

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default SumProduct Returns Zero

SUMPRODUCT may need to be entered as an array formula.

Enter the formula you quote below and then, instead of hitting ENTER, hit
CTRL+SHIFT+ENTER. Does it calculate correctly?

"ronnomad" wrote:

I have entered the following formula on a summary sheet:

SUMPRODUCT(('issue detail'!MONTH(A$3:A$275)=7)*('issue detail'!B$3:B$275))

Issue Detail is the second sheet in the workbook. Column A contains dates
(every day of the year). Columns B thru E contain numbers. I am trying to
get a total for the month of July (and for all other months) for each column.
This formula keeps retuning zero. Why?

If I can get the formula to work, I would also break down the totals by
week. By the end of the year, with 12 months and 52 weeks, would another
formula be faster?

I am using Excel 2003.

Thanks, Ron

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default SumProduct Returns Zero

Also, as to the question of another formula being faster, it doesn't sound
like you're running the formula against a huge amount of data, and so given
today's processor speeds and copious amounts of RAM I don't know that you'd
notice an appreciable difference between the speed of this formula and
another one.

"ronnomad" wrote:

I have entered the following formula on a summary sheet:

SUMPRODUCT(('issue detail'!MONTH(A$3:A$275)=7)*('issue detail'!B$3:B$275))

Issue Detail is the second sheet in the workbook. Column A contains dates
(every day of the year). Columns B thru E contain numbers. I am trying to
get a total for the month of July (and for all other months) for each column.
This formula keeps retuning zero. Why?

If I can get the formula to work, I would also break down the totals by
week. By the end of the year, with 12 months and 52 weeks, would another
formula be faster?

I am using Excel 2003.

Thanks, Ron

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 47
Default SumProduct Returns Zero

Thanks. That worked. Appreciate the help.

Ron

"MDW" wrote:

Try this:

SUMPRODUCT((MONTH('issue detail'!A$3:A$275)=7)*('issue detail'!B$3:B$275))

--
Hmm...they have the Internet on COMPUTERS now!


"ronnomad" wrote:

I have entered the following formula on a summary sheet:

SUMPRODUCT(('issue detail'!MONTH(A$3:A$275)=7)*('issue detail'!B$3:B$275))

Issue Detail is the second sheet in the workbook. Column A contains dates
(every day of the year). Columns B thru E contain numbers. I am trying to
get a total for the month of July (and for all other months) for each column.
This formula keeps retuning zero. Why?

If I can get the formula to work, I would also break down the totals by
week. By the end of the year, with 12 months and 52 weeks, would another
formula be faster?

I am using Excel 2003.

Thanks, Ron

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 returns zero vacation Excel Worksheet Functions 7 January 31st 06 07:56 PM
pleas help: sumproduct function returns #value or #ref error Jennie Excel Worksheet Functions 1 June 24th 05 04:51 PM
sumproduct function returns #value or #ref error Jennie Excel Worksheet Functions 4 June 24th 05 04:19 PM
returns calculation using sumproduct Stan Altshuller Excel Worksheet Functions 6 January 13th 05 12:25 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 07:06 AM.

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"