+ Reply to Thread
Results 1 to 5 of 5

A function that will count cells based on the value of the adjacent cells

  1. #1
    Registered User
    Join Date
    09-28-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    57

    A function that will count cells based on the value of the adjacent cells

    I have 2 columns one with A,B,C's another with values I am looking for a function to put in where the star is to count the values in the test column that match the Alpha column. Many thanks

    Test
    A *
    B
    C


    Alpha Test
    A 3
    A 34
    A 4
    A
    A 6
    A 7
    A 8
    A 9
    A
    A
    A 3
    B
    B 34
    B 12
    B 35
    B 7
    B 8
    B 9
    B 0
    C 0
    C
    C 9
    C 6
    C
    C 5

  2. #2
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,905

    Re: A function that will count cells based on the value of the adjacent cells

    Place in B2 and drag down to count the populated cells:

    Please Login or Register  to view this content.
    If you're looking of a sum of the cells that fit the criteria, try this in B2 and drag down:

    Please Login or Register  to view this content.
    Will that work?

    Hope this helps!
    Last edited by mcmahobt; 12-18-2014 at 02:41 PM.
    Spread the love, add to the Rep

    "None of us are as smart as all of us."

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2211
    Posts
    36,756

    Re: A function that will count cells based on the value of the adjacent cells

    An alternative...
    Attached Files Attached Files
    Glenn



  4. #4
    Registered User
    Join Date
    09-28-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    57

    Re: A function that will count cells based on the value of the adjacent cells

    Thank you so much it worked

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2211
    Posts
    36,756

    Re: A function that will count cells based on the value of the adjacent cells

    Cheers!... you're welcome

+ 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. Replies: 3
    Last Post: 07-16-2014, 03:24 PM
  2. Replies: 4
    Last Post: 09-12-2013, 11:32 PM
  3. Replies: 5
    Last Post: 07-12-2013, 01:15 AM
  4. [SOLVED] Formula needed to only count total cells entered and not count adjacent text entered cells
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-07-2013, 06:22 PM
  5. Code to pull cells into a new workbook based on content of adjacent cells
    By Greed in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-17-2012, 10:05 AM

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