Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
countif with multiple functions
I have a speadsheet with pultiple worksheets
worksheet Jan has Col F that contain Intitials such as CL and Col C that contains letter and numbers, such as NCO15 or Uko15. On worksheet Parts, I have a cell with the initial, and i need a formula that counts how many times the innitial in that cell appear in Jan column F, as long as the Jan Col C corresponding data begins with the letter N. After much research I wrtote this formula: =SUMPRODUCT((JAN!F:F=Parts!A3)*(JAN!C:C="n*")) However I am still getting an error.. Can someone see where i am going wrong? |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
countif with multiple functions
A couple of things:
1. Don't use the full columns; use something like A1:A1000 and C1:C1000 3. Avoid the wildcard here; incorporate something like LEFT(A1:A1000,1)="N" Don't give up on SUMPRODUCT(). It is the best approach. See: http://www.xldynamic.com/source/xld.SUMPRODUCT.html -- Gary''s Student - gsnu200843 "mdcgpw" wrote: I have a speadsheet with pultiple worksheets worksheet Jan has Col F that contain Intitials such as CL and Col C that contains letter and numbers, such as NCO15 or Uko15. On worksheet Parts, I have a cell with the initial, and i need a formula that counts how many times the innitial in that cell appear in Jan column F, as long as the Jan Col C corresponding data begins with the letter N. After much research I wrtote this formula: =SUMPRODUCT((JAN!F:F=Parts!A3)*(JAN!C:C="n*")) However I am still getting an error.. Can someone see where i am going wrong? |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
countif with multiple functions
Thank you, I tried changing it to the following but it still did not work,
now I am getting a #Value! error, before it a #name =SUMPRODUCT((JAN!G2:G500=Parts!A3)*LEFT(JAN!C2:C50 0="N")) "Gary''s Student" wrote: A couple of things: 1. Don't use the full columns; use something like A1:A1000 and C1:C1000 3. Avoid the wildcard here; incorporate something like LEFT(A1:A1000,1)="N" Don't give up on SUMPRODUCT(). It is the best approach. See: http://www.xldynamic.com/source/xld.SUMPRODUCT.html -- Gary''s Student - gsnu200843 "mdcgpw" wrote: I have a speadsheet with pultiple worksheets worksheet Jan has Col F that contain Intitials such as CL and Col C that contains letter and numbers, such as NCO15 or Uko15. On worksheet Parts, I have a cell with the initial, and i need a formula that counts how many times the innitial in that cell appear in Jan column F, as long as the Jan Col C corresponding data begins with the letter N. After much research I wrtote this formula: =SUMPRODUCT((JAN!F:F=Parts!A3)*(JAN!C:C="n*")) However I am still getting an error.. Can someone see where i am going wrong? |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
countif with multiple functions
The problem is in the LEFT() portion of your formula, change that to
LEFT(JAN!C2:C500,1="N") and I belive it will work for you. "mdcgpw" wrote: Thank you, I tried changing it to the following but it still did not work, now I am getting a #Value! error, before it a #name =SUMPRODUCT((JAN!G2:G500=Parts!A3)*LEFT(JAN!C2:C50 0="N")) "Gary''s Student" wrote: A couple of things: 1. Don't use the full columns; use something like A1:A1000 and C1:C1000 3. Avoid the wildcard here; incorporate something like LEFT(A1:A1000,1)="N" Don't give up on SUMPRODUCT(). It is the best approach. See: http://www.xldynamic.com/source/xld.SUMPRODUCT.html -- Gary''s Student - gsnu200843 "mdcgpw" wrote: I have a speadsheet with pultiple worksheets worksheet Jan has Col F that contain Intitials such as CL and Col C that contains letter and numbers, such as NCO15 or Uko15. On worksheet Parts, I have a cell with the initial, and i need a formula that counts how many times the innitial in that cell appear in Jan column F, as long as the Jan Col C corresponding data begins with the letter N. After much research I wrtote this formula: =SUMPRODUCT((JAN!F:F=Parts!A3)*(JAN!C:C="n*")) However I am still getting an error.. Can someone see where i am going wrong? |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
countif with multiple functions
Oops, I may not have given you the correct change - it should be like
LEFT(B1:B8,1)="N") "mdcgpw" wrote: Thank you, I tried changing it to the following but it still did not work, now I am getting a #Value! error, before it a #name =SUMPRODUCT((JAN!G2:G500=Parts!A3)*LEFT(JAN!C2:C50 0="N")) "Gary''s Student" wrote: A couple of things: 1. Don't use the full columns; use something like A1:A1000 and C1:C1000 3. Avoid the wildcard here; incorporate something like LEFT(A1:A1000,1)="N" Don't give up on SUMPRODUCT(). It is the best approach. See: http://www.xldynamic.com/source/xld.SUMPRODUCT.html -- Gary''s Student - gsnu200843 "mdcgpw" wrote: I have a speadsheet with pultiple worksheets worksheet Jan has Col F that contain Intitials such as CL and Col C that contains letter and numbers, such as NCO15 or Uko15. On worksheet Parts, I have a cell with the initial, and i need a formula that counts how many times the innitial in that cell appear in Jan column F, as long as the Jan Col C corresponding data begins with the letter N. After much research I wrtote this formula: =SUMPRODUCT((JAN!F:F=Parts!A3)*(JAN!C:C="n*")) However I am still getting an error.. Can someone see where i am going wrong? |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
countif with multiple functions
Paste this:
=SUMPRODUCT((JAN!G2:G500="xxx")*(LEFT(JAN!C2:C500, 1)="N")) We really need that ,1 in the LEFT() function. -- Gary''s Student - gsnu200843 "mdcgpw" wrote: Thank you, I tried changing it to the following but it still did not work, now I am getting a #Value! error, before it a #name =SUMPRODUCT((JAN!G2:G500=Parts!A3)*LEFT(JAN!C2:C50 0="N")) "Gary''s Student" wrote: A couple of things: 1. Don't use the full columns; use something like A1:A1000 and C1:C1000 3. Avoid the wildcard here; incorporate something like LEFT(A1:A1000,1)="N" Don't give up on SUMPRODUCT(). It is the best approach. See: http://www.xldynamic.com/source/xld.SUMPRODUCT.html -- Gary''s Student - gsnu200843 "mdcgpw" wrote: I have a speadsheet with pultiple worksheets worksheet Jan has Col F that contain Intitials such as CL and Col C that contains letter and numbers, such as NCO15 or Uko15. On worksheet Parts, I have a cell with the initial, and i need a formula that counts how many times the innitial in that cell appear in Jan column F, as long as the Jan Col C corresponding data begins with the letter N. After much research I wrtote this formula: =SUMPRODUCT((JAN!F:F=Parts!A3)*(JAN!C:C="n*")) However I am still getting an error.. Can someone see where i am going wrong? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do you create COUNTIF functions based on multiple criteria? | Excel Worksheet Functions | |||
COUNTIF & AND Functions | Excel Worksheet Functions | |||
countif functions | Excel Worksheet Functions | |||
CountIf functions | Excel Discussion (Misc queries) | |||
Multiple Functions IF, AND, COUNTIF, MATCH | Excel Worksheet Functions |