Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Count data in one column indicated by data in another column

You're welcome. Thanks for the feedback!

Biff

"Carol" wrote in message
...
It WORKED! Beautiful! I've never seen the "ROWS" thing before.... but
love
it!
Thank you so very much!
--
Carol


"T. Valko" wrote:

Try this:

=SUMPRODUCT(--(A$1:A$10=""),--(B$1:B$10=ROWS($1:1)))

Copy down a total of 3 cells.

The first cell will be the count of 1's. The second cell will be the
count
of 2's and the third cell will be the count of 3's.

Biff

"Carol" wrote in message
...
Column A holds "X" or "" (blank). Column B holds "1", "2", or "3".
I need to count the number of 1s, 2s, and 3s, in column B when the cell
in
column A is blank.

I've tried several variations of IF, AND, & COUNTIF - can't get
anything
to
work. Have also tried many variations of SUMPRODUCT found in other
posts.
None are working for me.

Can you please help? Is there a way to do this?
Thank you!
--
Carol






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
Based on a condition in one column, search for a year in another column, and display data from another column in the same row look [email protected] Excel Discussion (Misc queries) 1 December 27th 06 05:47 PM
Count only if another column has data in Pivot Table? [email protected] Excel Worksheet Functions 1 October 10th 06 09:16 PM
HOW DO I COUNT CELLS WITH DATA BY COLUMN? Warren Excel Worksheet Functions 2 June 30th 06 09:53 AM
I need to count data in one colum based on data in another column LG Excel Worksheet Functions 1 June 13th 06 02:41 PM
How do I count or display unique data in a column? kbeilers Excel Worksheet Functions 1 November 12th 04 04:51 AM


All times are GMT +1. The time now is 08:49 PM.

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"