Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Problem w/ A Sumproduct Formula | Excel Worksheet Functions | |||
Sumproduct / Max array formula problem | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions | |||
Problem with VBA returning the contents of a long formula. | Excel Discussion (Misc queries) |