+ Reply to Thread
Results 1 to 5 of 5

Counting text in a an unknown column containing a key

  1. #1
    Registered User
    Join Date
    03-04-2018
    Location
    Washington
    MS-Off Ver
    MS Office Professional Plus 2016
    Posts
    8

    Counting text in a an unknown column containing a key

    The attached spreadsheet contains an example of what I want to do.
    I want to count the number of cells from an unknown column that contains text.
    However, a key exists in row 1 of that column that will tell me which column to search.

    Thanks
    Terry
    Attached Files Attached Files

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Counting text in a an unknown column containing a key

    If I understand correctly try
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,461

    Re: Counting text in a an unknown column containing a key

    Or

    =SUMPRODUCT((A1:M1=$G$1)*(A2:M14="x"))
    Quang PT

  4. #4
    Registered User
    Join Date
    03-04-2018
    Location
    Washington
    MS-Off Ver
    MS Office Professional Plus 2016
    Posts
    8

    Re: Counting text in a an unknown column containing a key

    Thank you, the "COUNTIF" version worked for me

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Counting text in a an unknown column containing a key

    You are welcome.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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: 2
    Last Post: 11-08-2016, 09:08 AM
  2. Replies: 2
    Last Post: 07-31-2013, 05:57 PM
  3. Counting Unique text in column B based on a criteria from column a
    By clocmasta in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-18-2013, 06:40 PM
  4. [SOLVED] Counting Text in a range over unknown number of sheets
    By gwsampso in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-30-2012, 12:46 AM
  5. Counting Distinct Entries To Unknown last row.
    By realniceguy5000 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-26-2011, 04:14 PM
  6. counting text in one column against a list of text in another.
    By villigeidiot in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-08-2010, 12:21 PM
  7. [SOLVED] counting text in a column w/text criteria to other column
    By LnghairdFreak in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-20-2006, 04:37 PM

Tags for this Thread

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