+ Reply to Thread
Results 1 to 3 of 3

How to Count Cells based on another cell

  1. #1
    Registered User
    Join Date
    04-23-2013
    Location
    Chennai, India
    MS-Off Ver
    Office 365
    Posts
    54

    How to Count Cells based on another cell

    Let's say I have column A and column B. Column A has values such as Apple, oranges, mangoes.These values keep repeating. Column B has values such as True, False.

    Now I would like to Count the number of Apples that are True.

    Any help is appreciated.

    Thanks in advance.
    Last edited by jebindavidson; 12-22-2015 at 04:26 AM.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: How to Count Cells based on another cell

    =COUNTIFS(A:A, "Apple", B:B, True)
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    04-23-2013
    Location
    Chennai, India
    MS-Off Ver
    Office 365
    Posts
    54
    Quote Originally Posted by ChemistB View Post
    =COUNTIFS(A:A, "Apple", B:B, True)
    Wow ChemistB !!

    You're a genius. Thanks a ton. It worked.

    May the Lord Jesus bless you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Getting a count of occurances in one cell based on other cells.
    By John M. in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-23-2015, 09:56 AM
  2. [SOLVED] Count cells in row based on cell value, highlight row if wrong number or cells.
    By gutterball in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-11-2014, 04:00 PM
  3. Count cells based on cell color
    By vamshi57 in forum Excel General
    Replies: 3
    Last Post: 04-14-2014, 02:11 AM
  4. Replies: 4
    Last Post: 09-12-2013, 11:32 PM
  5. Count cells based on criteria of another cell
    By codyj in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-07-2010, 02:24 PM
  6. Replies: 2
    Last Post: 06-24-2010, 04:53 PM
  7. count cells in a range based on another cell
    By magicsticvi in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-14-2007, 03:40 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1