Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Sumproduct "not equal"
The sumproduct formula does not provide the correct answer.
J=I&C H=Blank Search B3:B3270 for "Phase I" Search B3:B3270 for "Formual" If M3:M3270 = "D" do not count Here is my formula =SUMPRODUCT((J3:J3270="I&C")*(H3:H3270="")*((ISNUM BER(SEARCH("Phase I",B3:B3270))+(ISNUMBER(SEARCH("Formal",B3:B3270)) )*(M3:M3270<"D")))) |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Sumproduct "not equal"
Try the below..."Formual" or "Formal" ??
=SUMPRODUCT((J3:J3270="I&C")*(H3:H3270="") ISNUMBER(MATCH(B3:B3270,{"Phase I","Formal"},0))*(M3:M3270<"D")) If this post helps click Yes --------------- Jacob Skaria "Terry" wrote: The sumproduct formula does not provide the correct answer. J=I&C H=Blank Search B3:B3270 for "Phase I" Search B3:B3270 for "Formual" If M3:M3270 = "D" do not count Here is my formula =SUMPRODUCT((J3:J3270="I&C")*(H3:H3270="")*((ISNUM BER(SEARCH("Phase I",B3:B3270))+(ISNUMBER(SEARCH("Formal",B3:B3270)) )*(M3:M3270<"D")))) |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Sumproduct "not equal"
Try this (all on one line):
=SUMPRODUCT(--(J3:J3270="I&C"),--(H3:H3270=""), (ISNUMBER(SEARCH("Phase I",B3:B3270))+ ISNUMBER(SEARCH("Formal",B3:B3270))), --(M3:M3270<"D")) -- Biff Microsoft Excel MVP "Terry" wrote in message ... The sumproduct formula does not provide the correct answer. J=I&C H=Blank Search B3:B3270 for "Phase I" Search B3:B3270 for "Formual" If M3:M3270 = "D" do not count Here is my formula =SUMPRODUCT((J3:J3270="I&C")*(H3:H3270="")*((ISNUM BER(SEARCH("Phase I",B3:B3270))+(ISNUMBER(SEARCH("Formal",B3:B3270)) )*(M3:M3270<"D")))) |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Sumproduct "not equal"
Correction..
=SUMPRODUCT((J3:J3270="I&C")*(H3:H3270="")* ISNUMBER(MATCH(B3:B3270,{"Phase I","Formal"},0))*(M3:M3270<"D")) If this post helps click Yes --------------- Jacob Skaria "Terry" wrote: The sumproduct formula does not provide the correct answer. J=I&C H=Blank Search B3:B3270 for "Phase I" Search B3:B3270 for "Formual" If M3:M3270 = "D" do not count Here is my formula =SUMPRODUCT((J3:J3270="I&C")*(H3:H3270="")*((ISNUM BER(SEARCH("Phase I",B3:B3270))+(ISNUMBER(SEARCH("Formal",B3:B3270)) )*(M3:M3270<"D")))) |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Sumproduct "not equal"
"does not provide the correct answer" is not a very explicit description of
the problem. What answer did you get? What answer did you expect? I assume that your "Formual" is just a typo? Are there any cells in column B which contain both "Phase I" and "Formal"? If so you will have counted them twice. I think also that you've got confused with your parentheses. Look at them carefully and see where they match. I think that you may have intended =SUMPRODUCT((J3:J3270="I&C")*(H3:H3270="")*(ISNUMB ER(SEARCH("Phase I",B3:B3270))+ISNUMBER(SEARCH("Formal",B3:B3270))) *(M3:M3270<"D")) To solve the double counting of column B, try changing it to =SUMPRODUCT((J3:J3270="I&C")*(H3:H3270="")*((ISNUM BER(SEARCH("Phase I",B3:B3270))+ISNUMBER(SEARCH("Formal",B3:B3270))) 0)*(M3:M3270<"D")) If you've still got problems, are the cells in column H really blank, or do they contain spaces or other non-printing characters? -- David Biddulph "Terry" wrote in message ... The sumproduct formula does not provide the correct answer. J=I&C H=Blank Search B3:B3270 for "Phase I" Search B3:B3270 for "Formual" If M3:M3270 = "D" do not count Here is my formula =SUMPRODUCT((J3:J3270="I&C")*(H3:H3270="")*((ISNUM BER(SEARCH("Phase I",B3:B3270))+(ISNUMBER(SEARCH("Formal",B3:B3270)) )*(M3:M3270<"D")))) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions | |||
SUMPRODUCT(--ISNUMBER(FIND("AM",C5:160))*(k5:k160="") | Excel Discussion (Misc queries) | |||
HELP on "left","right","find","len","substitute" functions | Excel Discussion (Misc queries) | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel |