Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
carl
 
Posts: n/a
Default Problem with a SUMPRODUCT Formula

This formula works:

=SUMPRODUCT(--(AMS!$C$4:$C$60000="InitialOrderEntry");--(AMS!$Z$4:AMS!$Z$60000=17);--(AMS!$AB$4:$AB$60000=226);--(AMS!$AS$4:$AS$60000=$A$1);--(AMS!$J$4:$J$60000))

When I add this condition: (AMS!$B$4:$B$60000=Summary!C3)

=SUMPRODUCT(--(AMS!$C$4:$C$60000="InitialOrderEntry");--(AMS!$B$4:$B$60000=Summary!C3);--(AMS!$Z$4:AMS!$Z$60000=17);--(AMS!$AB$4:$AB$60000=226);--(AMS!$AS$4:$AS$60000=$A$1);--(AMS!$J$4:$J$60000))

The formula returns "0" - which is incorrect. The data in AMS!$B$4:$B$60000
looks like this - 20060314. The criteria in Summary!C3 is copied from
AMS!$B$4:$B$60000.

What am I doing wrong ?

Thank you in advance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Morrigan
 
Posts: n/a
Default Problem with a SUMPRODUCT Formula


I am guessing this is one of those instants where Test to Columns may
help. Apply Data - Test to columns - Finish to the 2 columns
Summary!C and AMS!B.


--
Morrigan
------------------------------------------------------------------------
Morrigan's Profile: http://www.excelforum.com/member.php...fo&userid=7094
View this thread: http://www.excelforum.com/showthread...hreadid=524394

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Morrigan
 
Posts: n/a
Default Problem with a SUMPRODUCT Formula


I am guessing this is one of those instants where Test to Columns may
help. Apply Data - Test to columns - Finish to the 2 columns
Summary!C and AMS!B.


--
Morrigan
------------------------------------------------------------------------
Morrigan's Profile: http://www.excelforum.com/member.php...fo&userid=7094
View this thread: http://www.excelforum.com/showthread...hreadid=524394

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
daddylonglegs
 
Posts: n/a
Default Problem with a SUMPRODUCT Formula


What do you have in AMS!$B$4:$B$60000, are they dates? If so try

(TEXT(AMS!$B$4:$B$60000,"yyyymmdd")=Summary!C3)


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=524394

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
carl
 
Posts: n/a
Default Problem with a SUMPRODUCT Formula

Thank you. Not sure what you are refering to. can you please elaborate ?

"Morrigan" wrote:


I am guessing this is one of those instants where Test to Columns may
help. Apply Data - Test to columns - Finish to the 2 columns
Summary!C and AMS!B.


--
Morrigan
------------------------------------------------------------------------
Morrigan's Profile: http://www.excelforum.com/member.php...fo&userid=7094
View this thread: http://www.excelforum.com/showthread...hreadid=524394




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
carl
 
Posts: n/a
Default Problem with a SUMPRODUCT Formula

The data in both fields is the same - I think...

If I send you a sample spreadsheet would it help ?



"daddylonglegs" wrote:


What do you have in AMS!$B$4:$B$60000, are they dates? If so try

(TEXT(AMS!$B$4:$B$60000,"yyyymmdd")=Summary!C3)


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=524394


  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Morrigan
 
Posts: n/a
Default Problem with a SUMPRODUCT Formula


carl Wrote:
Thank you. Not sure what you are refering to. can you please elaborate
?

"Morrigan" wrote:


I am guessing this is one of those instants where Test to Columns

may
help. Apply Data - Test to columns - Finish to the 2 columns
Summary!C and AMS!B.


--
Morrigan

------------------------------------------------------------------------
Morrigan's Profile:

http://www.excelforum.com/member.php...fo&userid=7094
View this thread:

http://www.excelforum.com/showthread...hreadid=524394





Highlight the 2 columns, go to Data - Text to columns - click Finish


--
Morrigan
------------------------------------------------------------------------
Morrigan's Profile: http://www.excelforum.com/member.php...fo&userid=7094
View this thread: http://www.excelforum.com/showthread...hreadid=524394

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
carl
 
Posts: n/a
Default Problem with a SUMPRODUCT Formula

And then what ? What am I looking for ?

"Morrigan" wrote:


carl Wrote:
Thank you. Not sure what you are refering to. can you please elaborate
?

"Morrigan" wrote:


I am guessing this is one of those instants where Test to Columns

may
help. Apply Data - Test to columns - Finish to the 2 columns
Summary!C and AMS!B.


--
Morrigan

------------------------------------------------------------------------
Morrigan's Profile:

http://www.excelforum.com/member.php...fo&userid=7094
View this thread:

http://www.excelforum.com/showthread...hreadid=524394





Highlight the 2 columns, go to Data - Text to columns - click Finish


--
Morrigan
------------------------------------------------------------------------
Morrigan's Profile: http://www.excelforum.com/member.php...fo&userid=7094
View this thread: http://www.excelforum.com/showthread...hreadid=524394


  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Morrigan
 
Posts: n/a
Default Problem with a SUMPRODUCT Formula


Hmm.....that's it. If that didn't fix it, it's probably not due to the
misinterpretation of copy and paste from other sources.


carl Wrote:
And then what ? What am I looking for ?

"Morrigan" wrote:


carl Wrote:
Thank you. Not sure what you are refering to. can you please

elaborate
?

"Morrigan" wrote:


I am guessing this is one of those instants where Test to

Columns
may
help. Apply Data - Test to columns - Finish to the 2 columns
Summary!C and AMS!B.


--
Morrigan


------------------------------------------------------------------------
Morrigan's Profile:
http://www.excelforum.com/member.php...fo&userid=7094
View this thread:
http://www.excelforum.com/showthread...hreadid=524394





Highlight the 2 columns, go to Data - Text to columns - click

Finish


--
Morrigan

------------------------------------------------------------------------
Morrigan's Profile:

http://www.excelforum.com/member.php...fo&userid=7094
View this thread:

http://www.excelforum.com/showthread...hreadid=524394




--
Morrigan
------------------------------------------------------------------------
Morrigan's Profile: http://www.excelforum.com/member.php...fo&userid=7094
View this thread: http://www.excelforum.com/showthread...hreadid=524394

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
Problem w/ A Sumproduct Formula carl Excel Worksheet Functions 2 March 17th 06 06:40 PM
Sumproduct / Max array formula problem Andibevan Excel Worksheet Functions 5 August 25th 05 01:18 AM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Problem with VBA returning the contents of a long formula. [email protected] Excel Discussion (Misc queries) 2 February 23rd 05 12:14 AM


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