Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 73
Default SUMPRODUCT Problem

First, thank you in advance for your help and looking at this.

I'm trying to use this formula to sum the values in cells D4:D4650 based on
the criteria that the date in cells B4:B4650 is from 2006 and it has not been
rejected (E4:E4650).
=SUMPRODUCT(--(B4:B4650=YEAR(2006)),--(E4:E4650<"Rejected"),(D4:D4650))

The problem with this formula is that it returns $0.00 and it should be over
$5m.

TIA for your help
Joe
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 4,624
Default SUMPRODUCT Problem

Try:


=SUMPRODUCT(--(YEAR(B4:B4650)=2006),--(E4:E4650<"Rejected"),D4:D4650)

In article ,
Joe Gieder wrote:

First, thank you in advance for your help and looking at this.

I'm trying to use this formula to sum the values in cells D4:D4650 based on
the criteria that the date in cells B4:B4650 is from 2006 and it has not been
rejected (E4:E4650).
=SUMPRODUCT(--(B4:B4650=YEAR(2006)),--(E4:E4650<"Rejected"),(D4:D4650))

The problem with this formula is that it returns $0.00 and it should be over
$5m.

TIA for your help
Joe

  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 73
Default SUMPRODUCT Problem

Your fix worked great thank you. I just need to learn how to write the order
of the formula.

I have one question though, if I may impose. Within the range of B4:B4650
there are numerous cells that have text, when I deleted the text the formula
worked but with the text it did not. Is there a way to leave the text and
still have it work?

Thank you again for your help.
Joe

"JE McGimpsey" wrote:

Try:


=SUMPRODUCT(--(YEAR(B4:B4650)=2006),--(E4:E4650<"Rejected"),D4:D4650)

In article ,
Joe Gieder wrote:

First, thank you in advance for your help and looking at this.

I'm trying to use this formula to sum the values in cells D4:D4650 based on
the criteria that the date in cells B4:B4650 is from 2006 and it has not been
rejected (E4:E4650).
=SUMPRODUCT(--(B4:B4650=YEAR(2006)),--(E4:E4650<"Rejected"),(D4:D4650))

The problem with this formula is that it returns $0.00 and it should be over
$5m.

TIA for your help
Joe


  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default SUMPRODUCT Problem

Try this:

=SUMPRODUCT(--(TEXT(B4:B4650,"yyyy")="2006"),--(E4:E4650<"Rejected"),D4:D4650)

Biff

"Joe Gieder" wrote in message
...
Your fix worked great thank you. I just need to learn how to write the
order
of the formula.

I have one question though, if I may impose. Within the range of B4:B4650
there are numerous cells that have text, when I deleted the text the
formula
worked but with the text it did not. Is there a way to leave the text and
still have it work?

Thank you again for your help.
Joe

"JE McGimpsey" wrote:

Try:


=SUMPRODUCT(--(YEAR(B4:B4650)=2006),--(E4:E4650<"Rejected"),D4:D4650)

In article ,
Joe Gieder wrote:

First, thank you in advance for your help and looking at this.

I'm trying to use this formula to sum the values in cells D4:D4650
based on
the criteria that the date in cells B4:B4650 is from 2006 and it has
not been
rejected (E4:E4650).
=SUMPRODUCT(--(B4:B4650=YEAR(2006)),--(E4:E4650<"Rejected"),(D4:D4650))

The problem with this formula is that it returns $0.00 and it should be
over
$5m.

TIA for your help
Joe




  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 73
Default SUMPRODUCT Problem

Worked perfectly. Thank you for the help.

"T. Valko" wrote:

Try this:

=SUMPRODUCT(--(TEXT(B4:B4650,"yyyy")="2006"),--(E4:E4650<"Rejected"),D4:D4650)

Biff

"Joe Gieder" wrote in message
...
Your fix worked great thank you. I just need to learn how to write the
order
of the formula.

I have one question though, if I may impose. Within the range of B4:B4650
there are numerous cells that have text, when I deleted the text the
formula
worked but with the text it did not. Is there a way to leave the text and
still have it work?

Thank you again for your help.
Joe

"JE McGimpsey" wrote:

Try:


=SUMPRODUCT(--(YEAR(B4:B4650)=2006),--(E4:E4650<"Rejected"),D4:D4650)

In article ,
Joe Gieder wrote:

First, thank you in advance for your help and looking at this.

I'm trying to use this formula to sum the values in cells D4:D4650
based on
the criteria that the date in cells B4:B4650 is from 2006 and it has
not been
rejected (E4:E4650).
=SUMPRODUCT(--(B4:B4650=YEAR(2006)),--(E4:E4650<"Rejected"),(D4:D4650))

The problem with this formula is that it returns $0.00 and it should be
over
$5m.

TIA for your help
Joe






  #6   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default SUMPRODUCT Problem

You're welcome. Thanks for the quick feedback!

Biff

"Joe Gieder" wrote in message
...
Worked perfectly. Thank you for the help.

"T. Valko" wrote:

Try this:

=SUMPRODUCT(--(TEXT(B4:B4650,"yyyy")="2006"),--(E4:E4650<"Rejected"),D4:D4650)

Biff

"Joe Gieder" wrote in message
...
Your fix worked great thank you. I just need to learn how to write the
order
of the formula.

I have one question though, if I may impose. Within the range of
B4:B4650
there are numerous cells that have text, when I deleted the text the
formula
worked but with the text it did not. Is there a way to leave the text
and
still have it work?

Thank you again for your help.
Joe

"JE McGimpsey" wrote:

Try:



=SUMPRODUCT(--(YEAR(B4:B4650)=2006),--(E4:E4650<"Rejected"),D4:D4650)

In article ,
Joe Gieder wrote:

First, thank you in advance for your help and looking at this.

I'm trying to use this formula to sum the values in cells D4:D4650
based on
the criteria that the date in cells B4:B4650 is from 2006 and it has
not been
rejected (E4:E4650).
=SUMPRODUCT(--(B4:B4650=YEAR(2006)),--(E4:E4650<"Rejected"),(D4:D4650))

The problem with this formula is that it returns $0.00 and it should
be
over
$5m.

TIA for your help
Joe






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 Problem Gos-C Excel Worksheet Functions 13 February 10th 06 07:07 PM
sumproduct problem Stefan Excel Worksheet Functions 2 January 5th 06 10:59 AM
Sumproduct Problem Andibevan Excel Worksheet Functions 4 August 17th 05 09:39 AM
sumproduct problem christophe meresse Excel Worksheet Functions 3 July 30th 05 02:23 PM
Another Sumproduct & #N/A problem Dave Davis Excel Worksheet Functions 3 January 10th 05 03:59 PM


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