Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
momtoaj
 
Posts: n/a
Default Multiple Condition Sumif Formula

I'm trying to create a formula for the following
conditions:

column J Column I Column E
Month: Billed: Revenue:
12/1/2004 x 5,000
11/1/2004 2,500
10/1/2004 x 1,000
10/1/2004 2,000
1/1/2005 3,000
1/1/2005 x 4,000

So I want the formula to look at if the month is October
(or 10/1/2004) & if it was billed (x), then sum the
revenue column.

This is the formula that I tried, but it is still coming
back with a $0 answer:

=SUMPRODUCT((J5:J44="10/1/2004")*(I5:I44="x")*(E5:E44))
The result should be $1,000

I've tried to enter the formula exactly as it is written
& I've tried to enter the formula as an array by doing
CTRL+SHIFT+ENTER, but I still get $0

What am I doing wrong?, or if there is a better formula
to use...

Thanks!
  #2   Report Post  
 
Posts: n/a
Default

Hi

I think your problem might be that your 'date' (in the Month column) is a
date but your 'date' in your formula is classed as text. Try typing
10/1/2004 (as a date) in a cell on its own (say X1), and use:
=SUMPRODUCT((J5:J44=X1)*(I5:I44="x")*(E5:E44))
At least that will tell you if we're on the right track!

--
Andy.


"momtoaj" wrote in message
...
I'm trying to create a formula for the following
conditions:

column J Column I Column E
Month: Billed: Revenue:
12/1/2004 x 5,000
11/1/2004 2,500
10/1/2004 x 1,000
10/1/2004 2,000
1/1/2005 3,000
1/1/2005 x 4,000

So I want the formula to look at if the month is October
(or 10/1/2004) & if it was billed (x), then sum the
revenue column.

This is the formula that I tried, but it is still coming
back with a $0 answer:

=SUMPRODUCT((J5:J44="10/1/2004")*(I5:I44="x")*(E5:E44))
The result should be $1,000

I've tried to enter the formula exactly as it is written
& I've tried to enter the formula as an array by doing
CTRL+SHIFT+ENTER, but I still get $0

What am I doing wrong?, or if there is a better formula
to use...

Thanks!



  #3   Report Post  
momtoaj
 
Posts: n/a
Default

You're right, that fixed it!

Thanks a bunch!


-----Original Message-----
Hi

I think your problem might be that your 'date' (in the

Month column) is a
date but your 'date' in your formula is classed as text.

Try typing
10/1/2004 (as a date) in a cell on its own (say X1), and

use:
=SUMPRODUCT((J5:J44=X1)*(I5:I44="x")*(E5:E44))
At least that will tell you if we're on the right track!

--
Andy.


"momtoaj" wrote in

message
...
I'm trying to create a formula for the following
conditions:

column J Column I Column E
Month: Billed: Revenue:
12/1/2004 x 5,000
11/1/2004 2,500
10/1/2004 x 1,000
10/1/2004 2,000
1/1/2005 3,000
1/1/2005 x 4,000

So I want the formula to look at if the month is

October
(or 10/1/2004) & if it was billed (x), then sum the
revenue column.

This is the formula that I tried, but it is still

coming
back with a $0 answer:

=SUMPRODUCT((J5:J44="10/1/2004")*(I5:I44="x")*(E5:E44))
The result should be $1,000

I've tried to enter the formula exactly as it is

written
& I've tried to enter the formula as an array by doing
CTRL+SHIFT+ENTER, but I still get $0

What am I doing wrong?, or if there is a better formula
to use...

Thanks!



.


  #4   Report Post  
 
Posts: n/a
Default

Great! If you want to keep your original formula, then, you'll need to
change it to:
=SUMPRODUCT((J5:J44=DATEVALUE("10/1/2004"))*(I5:I44="x")*(E5:E44))

Thanks for the feedback!
--
Andy.


"momtoaj" wrote in message
...
You're right, that fixed it!

Thanks a bunch!


-----Original Message-----
Hi

I think your problem might be that your 'date' (in the

Month column) is a
date but your 'date' in your formula is classed as text.

Try typing
10/1/2004 (as a date) in a cell on its own (say X1), and

use:
=SUMPRODUCT((J5:J44=X1)*(I5:I44="x")*(E5:E44))
At least that will tell you if we're on the right track!

--
Andy.


"momtoaj" wrote in

message
...
I'm trying to create a formula for the following
conditions:

column J Column I Column E
Month: Billed: Revenue:
12/1/2004 x 5,000
11/1/2004 2,500
10/1/2004 x 1,000
10/1/2004 2,000
1/1/2005 3,000
1/1/2005 x 4,000

So I want the formula to look at if the month is

October
(or 10/1/2004) & if it was billed (x), then sum the
revenue column.

This is the formula that I tried, but it is still

coming
back with a $0 answer:

=SUMPRODUCT((J5:J44="10/1/2004")*(I5:I44="x")*(E5:E44))
The result should be $1,000

I've tried to enter the formula exactly as it is

written
& I've tried to enter the formula as an array by doing
CTRL+SHIFT+ENTER, but I still get $0

What am I doing wrong?, or if there is a better formula
to use...

Thanks!



.




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
Deleting multiple rows through a formula mike_vr Excel Discussion (Misc queries) 1 March 15th 05 01:29 PM
formula from multiple worksheets to give a color output to one wo. vikingshooter Excel Worksheet Functions 0 February 10th 05 03:19 PM
Combining IF and multiple SUMIF statements, if A>0 & B is between Lee Excel Worksheet Functions 1 January 3rd 05 06:46 PM
How do I sum (like sumif) but predicated on multiple criteria, in. djpaik Excel Worksheet Functions 2 January 1st 05 01:12 PM
Sum(if ... multiple conditions ... Interpretation? Ken Excel Discussion (Misc queries) 6 December 16th 04 10:23 PM


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