+ Reply to Thread
Results 1 to 3 of 3

Counting cells with text in another cell, instead of counting cells with certain text

  1. #1
    Registered User
    Join Date
    07-18-2020
    Location
    Jodie
    MS-Off Ver
    Excel
    Posts
    7

    Counting cells with text in another cell, instead of counting cells with certain text

    Hello everyone I'm using this expression

    =COUNTIFS(B:B,"A", F:F,"Mary")

    To count certain grading in one column, B, and certain names in another column, F, and give me a number of how many there are.

    I was wondering if there was a way to instead of finding if cells in the F column have a certain name, it could check if certain cells in that column contained text that's the same in another cell, let's call is K10. That way I don't have to change all the expressions if say, Mark got replaced by John. I could just change the name in that one cell, K10 and all the expressions would still work.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,877

    Re: Counting cells with text in another cell, instead of counting cells with certain text

    Please read the yellow banner at the top of this page on how to attach a file.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Counting cells with text in another cell, instead of counting cells with certain text

    How about
    =COUNTIFS(B:B,"A", F:F,$K$10)

+ 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] Counting Cells Which Contain Text
    By zanshin777 in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 12-28-2015, 11:48 AM
  2. Counting cells with text and ignoring cells with formula
    By Mad Moose in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-31-2015, 04:50 AM
  3. [SOLVED] repeat counting of blank cells till a cell with number/text
    By joshcct in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-03-2015, 03:33 AM
  4. Counting cells with colour fill, minus the cells with text
    By Crappy in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-30-2013, 03:20 AM
  5. Counting Mult text or Times in one cell or multiple cells at one tiime?
    By COLTS12OG in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 01-31-2013, 07:56 PM
  6. Counting cells with text
    By Cissy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-11-2006, 05:50 PM
  7. [SOLVED] Counting Occurrence of Text within Text in Cells in Range.
    By Jeremy N. in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-08-2005, 01: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