Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 177
Default sumproduct date calc.

Hi I am trying to sum a column of numbers by month and am having trouble with
the formula (see below). I am getting a return of VALUE. Any ideas where I
am going wrong?

Thanks


Todd

=SUMPRODUCT((MONTH(J2)=MONTH($H2:$H$300)),F$2:F$30 0)

F H j2
cost date requested Month
$12.46 1/6/2006 1/00/2006
$200.70 1/19/2006
$53.22 1/6/2006
$471.84 1/7/2006
$25.35 2/9/2006
$33.00 2/11/2006
$346.98 2/14/2006
$3.82 2/15/2006
$99.42 2/8/2006

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,939
Default sumproduct date calc.

Try changing your formula to something more like this...

=SUMPRODUCT(--(MONTH(J2)=MONTH($H2:$H$300)), F$2:F$300)

and the value in J2 to a valid date (1/00/2006 is not a valid date)...
--
HTH...

Jim Thomlinson


"Todd" wrote:

Hi I am trying to sum a column of numbers by month and am having trouble with
the formula (see below). I am getting a return of VALUE. Any ideas where I
am going wrong?

Thanks


Todd

=SUMPRODUCT((MONTH(J2)=MONTH($H2:$H$300)),F$2:F$30 0)

F H j2
cost date requested Month
$12.46 1/6/2006 1/00/2006
$200.70 1/19/2006
$53.22 1/6/2006
$471.84 1/7/2006
$25.35 2/9/2006
$33.00 2/11/2006
$346.98 2/14/2006
$3.82 2/15/2006
$99.42 2/8/2006

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 177
Default sumproduct date calc.

Thanks. I don't get it. I tried your adjustments and they don't work. I
have tried the formula in different columns and with different categories but
it does not work. I either get value or a return of zero. I have used the
formula successfully before but something on this sheet is not quite right.

Thanks.


Todd

"Jim Thomlinson" wrote:

Try changing your formula to something more like this...

=SUMPRODUCT(--(MONTH(J2)=MONTH($H2:$H$300)), F$2:F$300)

and the value in J2 to a valid date (1/00/2006 is not a valid date)...
--
HTH...

Jim Thomlinson


"Todd" wrote:

Hi I am trying to sum a column of numbers by month and am having trouble with
the formula (see below). I am getting a return of VALUE. Any ideas where I
am going wrong?

Thanks


Todd

=SUMPRODUCT((MONTH(J2)=MONTH($H2:$H$300)),F$2:F$30 0)

F H j2
cost date requested Month
$12.46 1/6/2006 1/00/2006
$200.70 1/19/2006
$53.22 1/6/2006
$471.84 1/7/2006
$25.35 2/9/2006
$33.00 2/11/2006
$346.98 2/14/2006
$3.82 2/15/2006
$99.42 2/8/2006

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,939
Default sumproduct date calc.

Is the value in J2 an actual date or is it text? That could be the problem. I
used that exact formula successfully. It does require the double negative at
the front of the month criteria otherwise it will return 0.
--
HTH...

Jim Thomlinson


"Todd" wrote:

Thanks. I don't get it. I tried your adjustments and they don't work. I
have tried the formula in different columns and with different categories but
it does not work. I either get value or a return of zero. I have used the
formula successfully before but something on this sheet is not quite right.

Thanks.


Todd

"Jim Thomlinson" wrote:

Try changing your formula to something more like this...

=SUMPRODUCT(--(MONTH(J2)=MONTH($H2:$H$300)), F$2:F$300)

and the value in J2 to a valid date (1/00/2006 is not a valid date)...
--
HTH...

Jim Thomlinson


"Todd" wrote:

Hi I am trying to sum a column of numbers by month and am having trouble with
the formula (see below). I am getting a return of VALUE. Any ideas where I
am going wrong?

Thanks


Todd

=SUMPRODUCT((MONTH(J2)=MONTH($H2:$H$300)),F$2:F$30 0)

F H j2
cost date requested Month
$12.46 1/6/2006 1/00/2006
$200.70 1/19/2006
$53.22 1/6/2006
$471.84 1/7/2006
$25.35 2/9/2006
$33.00 2/11/2006
$346.98 2/14/2006
$3.82 2/15/2006
$99.42 2/8/2006

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default sumproduct date calc.

1/00/2006 is not a valid date.
Try to change this 1/1/2006 it will work with your formula


"Todd" wrote:

Hi I am trying to sum a column of numbers by month and am having trouble with
the formula (see below). I am getting a return of VALUE. Any ideas where I
am going wrong?

Thanks


Todd

=SUMPRODUCT((MONTH(J2)=MONTH($H2:$H$300)),F$2:F$30 0)

F H j2
cost date requested Month
$12.46 1/6/2006 1/00/2006
$200.70 1/19/2006
$53.22 1/6/2006
$471.84 1/7/2006
$25.35 2/9/2006
$33.00 2/11/2006
$346.98 2/14/2006
$3.82 2/15/2006
$99.42 2/8/2006



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
excel date scheduling not msProject 4pinoy Excel Worksheet Functions 0 November 11th 06 08:33 PM
SUMPRODUCT between date range Celia New Users to Excel 1 November 9th 06 06:39 PM
Calc. Avg. Instead of SUMPRODUCT sahafi Excel Worksheet Functions 4 September 14th 06 11:46 PM
SUMPRODUCT calc question PerryClisbee Excel Worksheet Functions 1 August 5th 06 12:00 AM
if, sumproduct, help by date Jim Excel Worksheet Functions 3 January 20th 06 10:42 PM


All times are GMT +1. The time now is 07:21 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"