Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I need to count the number of items in ColA that match a certain criteria in
ColA and are blank in ColB. Any ideas? Thanks. Nadine |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Something like this: =sumproduct((ColA="xxx")*(ColB=""))
-- Max Singapore --- "Nadine" wrote: I need to count the number of items in ColA that match a certain criteria in ColA and are blank in ColB. Any ideas? Thanks. Nadine |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Unfortunately I got the result #NUM!. Thanks for trying.
"Max" wrote: Something like this: =sumproduct((ColA="xxx")*(ColB="")) -- Max Singapore --- "Nadine" wrote: I need to count the number of items in ColA that match a certain criteria in ColA and are blank in ColB. Any ideas? Thanks. Nadine |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
"Nadine" wrote:
I need to count the number of items in ColA that match a certain criteria in ColA and are blank in ColB. You do not give sufficient information to provide a solution that you can enter verbatim. Try something like: =sumproduct((A1:A100="criteria")*(B1:B100="")) That assumes a simple criteria based on matching text. If the criteria is numeric, you would exclude the double-quotes. If the criteria is not a simple comparison (equal, less than, greater than, etc), you may need to be more specific if you cannot apply the above paradigm. |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I'm assuming you are using XL2003 or earlier. If so, you cannot use whole
column (such as A:A) references within the SUMPRODUCT function... you have to specify a fixed range and all ranges should be the same length (there are some exceptions to this, but not for the simple ranges you are using). So, try something like this... =SUMPRODUCT((A2:A1000="xxx")*(B2:B1000="")) -- Rick (MVP - Excel) "Nadine" wrote in message ... Unfortunately I got the result #NUM!. Thanks for trying. "Max" wrote: Something like this: =sumproduct((ColA="xxx")*(ColB="")) -- Max Singapore --- "Nadine" wrote: I need to count the number of items in ColA that match a certain criteria in ColA and are blank in ColB. Any ideas? Thanks. Nadine |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
ColA is a hardware type and ColB is other data where I want to count the
blanks if they match the criteria in ColA. This is to summarize the rows and rows of data. So: How do I count all the laptops in ColA where ColB is blank? Thanks. "Joe User" wrote: "Nadine" wrote: I need to count the number of items in ColA that match a certain criteria in ColA and are blank in ColB. You do not give sufficient information to provide a solution that you can enter verbatim. Try something like: =sumproduct((A1:A100="criteria")*(B1:B100="")) That assumes a simple criteria based on matching text. If the criteria is numeric, you would exclude the double-quotes. If the criteria is not a simple comparison (equal, less than, greater than, etc), you may need to be more specific if you cannot apply the above paradigm. |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
try =COUNTIFS(A2:A4,"Laptop",B2:B4,"=") "Nadine" wrote: ColA is a hardware type and ColB is other data where I want to count the blanks if they match the criteria in ColA. This is to summarize the rows and rows of data. So: How do I count all the laptops in ColA where ColB is blank? Thanks. "Joe User" wrote: "Nadine" wrote: I need to count the number of items in ColA that match a certain criteria in ColA and are blank in ColB. You do not give sufficient information to provide a solution that you can enter verbatim. Try something like: =sumproduct((A1:A100="criteria")*(B1:B100="")) That assumes a simple criteria based on matching text. If the criteria is numeric, you would exclude the double-quotes. If the criteria is not a simple comparison (equal, less than, greater than, etc), you may need to be more specific if you cannot apply the above paradigm. |
#8
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I'm getting #NAME?
Thanks for trying "Eduardo" wrote: Hi, try =COUNTIFS(A2:A4,"Laptop",B2:B4,"=") "Nadine" wrote: ColA is a hardware type and ColB is other data where I want to count the blanks if they match the criteria in ColA. This is to summarize the rows and rows of data. So: How do I count all the laptops in ColA where ColB is blank? Thanks. "Joe User" wrote: "Nadine" wrote: I need to count the number of items in ColA that match a certain criteria in ColA and are blank in ColB. You do not give sufficient information to provide a solution that you can enter verbatim. Try something like: =sumproduct((A1:A100="criteria")*(B1:B100="")) That assumes a simple criteria based on matching text. If the criteria is numeric, you would exclude the double-quotes. If the criteria is not a simple comparison (equal, less than, greater than, etc), you may need to be more specific if you cannot apply the above paradigm. |
#9
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() Are you using 2007 "Nadine" wrote: I'm getting #NAME? Thanks for trying "Eduardo" wrote: Hi, try =COUNTIFS(A2:A4,"Laptop",B2:B4,"=") "Nadine" wrote: ColA is a hardware type and ColB is other data where I want to count the blanks if they match the criteria in ColA. This is to summarize the rows and rows of data. So: How do I count all the laptops in ColA where ColB is blank? Thanks. "Joe User" wrote: "Nadine" wrote: I need to count the number of items in ColA that match a certain criteria in ColA and are blank in ColB. You do not give sufficient information to provide a solution that you can enter verbatim. Try something like: =sumproduct((A1:A100="criteria")*(B1:B100="")) That assumes a simple criteria based on matching text. If the criteria is numeric, you would exclude the double-quotes. If the criteria is not a simple comparison (equal, less than, greater than, etc), you may need to be more specific if you cannot apply the above paradigm. |
#10
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
sorry my mistake I enter something wrong try =COUNTIFS(A2:A4,"Laptop",B2:B4,"") "Nadine" wrote: I'm getting #NAME? Thanks for trying "Eduardo" wrote: Hi, try =COUNTIFS(A2:A4,"Laptop",B2:B4,"=") "Nadine" wrote: ColA is a hardware type and ColB is other data where I want to count the blanks if they match the criteria in ColA. This is to summarize the rows and rows of data. So: How do I count all the laptops in ColA where ColB is blank? Thanks. "Joe User" wrote: "Nadine" wrote: I need to count the number of items in ColA that match a certain criteria in ColA and are blank in ColB. You do not give sufficient information to provide a solution that you can enter verbatim. Try something like: =sumproduct((A1:A100="criteria")*(B1:B100="")) That assumes a simple criteria based on matching text. If the criteria is numeric, you would exclude the double-quotes. If the criteria is not a simple comparison (equal, less than, greater than, etc), you may need to be more specific if you cannot apply the above paradigm. |
#11
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thank you! It worked.
"Rick Rothstein" wrote: I'm assuming you are using XL2003 or earlier. If so, you cannot use whole column (such as A:A) references within the SUMPRODUCT function... you have to specify a fixed range and all ranges should be the same length (there are some exceptions to this, but not for the simple ranges you are using). So, try something like this... =SUMPRODUCT((A2:A1000="xxx")*(B2:B1000="")) -- Rick (MVP - Excel) "Nadine" wrote in message ... Unfortunately I got the result #NUM!. Thanks for trying. "Max" wrote: Something like this: =sumproduct((ColA="xxx")*(ColB="")) -- Max Singapore --- "Nadine" wrote: I need to count the number of items in ColA that match a certain criteria in ColA and are blank in ColB. Any ideas? Thanks. Nadine . |
#12
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Eduardo, Rich Rothstein gave me the formula to use. Thanks for all your help.
"Eduardo" wrote: Are you using 2007 "Nadine" wrote: I'm getting #NAME? Thanks for trying "Eduardo" wrote: Hi, try =COUNTIFS(A2:A4,"Laptop",B2:B4,"=") "Nadine" wrote: ColA is a hardware type and ColB is other data where I want to count the blanks if they match the criteria in ColA. This is to summarize the rows and rows of data. So: How do I count all the laptops in ColA where ColB is blank? Thanks. "Joe User" wrote: "Nadine" wrote: I need to count the number of items in ColA that match a certain criteria in ColA and are blank in ColB. You do not give sufficient information to provide a solution that you can enter verbatim. Try something like: =sumproduct((A1:A100="criteria")*(B1:B100="")) That assumes a simple criteria based on matching text. If the criteria is numeric, you would exclude the double-quotes. If the criteria is not a simple comparison (equal, less than, greater than, etc), you may need to be more specific if you cannot apply the above paradigm. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I count the items in one column if another column is blank | Excel Worksheet Functions | |||
match colC to ColA, put row from ColB for 'answer' | Excel Discussion (Misc queries) | |||
want to count in two columns; countif (colA=x AND colB=y)? | Excel Worksheet Functions | |||
Lookup value in colA whos row matches row of index value in colB | Excel Worksheet Functions | |||
Lookup value in colA whos row matches row of index value in colB | Excel Worksheet Functions |