Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 216
Default Count # items in ColA if blank in ColB

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Count # items in ColA if blank in ColB

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 216
Default Count # items in ColA if blank in ColB

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 905
Default Count # items in ColA if blank in ColB

"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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,934
Default Count # items in ColA if blank in ColB

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 216
Default Count # items in ColA if blank in ColB

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default Count # items in ColA if blank in ColB

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 216
Default Count # items in ColA if blank in ColB

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default Count # items in ColA if blank in ColB


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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default Count # items in ColA if blank in ColB

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 216
Default Count # items in ColA if blank in ColB

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 216
Default Count # items in ColA if blank in ColB

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
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
How do I count the items in one column if another column is blank dereksmom Excel Worksheet Functions 1 November 8th 06 11:34 PM
match colC to ColA, put row from ColB for 'answer' MatthewTap Excel Discussion (Misc queries) 4 October 14th 05 07:38 PM
want to count in two columns; countif (colA=x AND colB=y)? Heather Murch Excel Worksheet Functions 1 February 17th 05 03:47 PM
Lookup value in colA whos row matches row of index value in colB Gwen Frishkoff Excel Worksheet Functions 1 October 30th 04 10:48 PM
Lookup value in colA whos row matches row of index value in colB Gwen Frishkoff Excel Worksheet Functions 3 October 30th 04 09:07 PM


All times are GMT +1. The time now is 05:36 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"