+ Reply to Thread
Results 1 to 10 of 10

Counting cells with a text value

  1. #1
    Registered User
    Join Date
    03-20-2020
    Location
    Minnesota, USA
    MS-Off Ver
    Office 365
    Posts
    11

    Counting cells with a text value

    Hi,

    I'm trying to figure out a to COUNT the number of items that are in-progress and the items that are complete/done. But my counts are based on two keys one being the status, the other being someone actually being assigned to that item. Since their could be anyone working on those items, my question is how do I check if the cell has a value or not and use it with the COUNTIFS function.

    See the example I'm working on below.

    A B C D E
    TC1 RQ1 In-Progress Jane =COUNTIFS($C$:$C$6,"In-Progress",$D$2:$D$6,"I'd like to know what should I use here to check if cells in column D have a value
    TC2 RQ2 Done Mike
    TC3 RQ3
    TC4 RQ4 In-Progress Melissa
    TC5 RQ5 Done Don
    TC6 RQ6 In-Progress Peter
    Last edited by neverT00late; 04-07-2020 at 12:59 AM.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Counting cells with a text value

    Hi neverTL,

    Looks like this formula works:
    =SUM(IF(ISNUMBER(A1:D1),1,0))
    Find the attached with examples
    Count cells using If IsNumber.xlsx

    After rereading your question you might really want to change the "IsNumber" to "IsText" in my formula above.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Counting cells with a text value

    Hi,

    =COUNTIFS(C:C,"In-Progress",D:D,"?*")

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  4. #4
    Registered User
    Join Date
    03-20-2020
    Location
    Minnesota, USA
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Counting cells with a text value

    Thank you, but this didn't work for me.

  5. #5
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Counting cells with a text value

    Quote Originally Posted by neverT00late View Post
    Thank you, but this didn't work for me.
    You need to clarify to whom you're replying.

    Regards

  6. #6
    Registered User
    Join Date
    03-20-2020
    Location
    Minnesota, USA
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Counting cells with a text value

    Quote Originally Posted by XOR LX View Post
    Hi,

    =COUNTIFS(C:C,"In-Progress",D:D,"?*")

    Regards

    This work just as I expected. Thank you. Is '?*' basically a syntax for wildcard?

  7. #7
    Registered User
    Join Date
    03-20-2020
    Location
    Minnesota, USA
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Counting cells with a text value

    Quote Originally Posted by XOR LX View Post
    You need to clarify to whom you're replying.

    Regards
    My bad, it was for Marvin's answer

  8. #8
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Counting cells with a text value

    Quote Originally Posted by neverT00late View Post
    This work just as I expected. Thank you. Is '?*' basically a syntax for wildcard?
    You're welcome. Actually it's using two wildcards: the ? to indicate that the cell begins with a text character, the * to indicate that that text character may be followed by more characters.

    Regards

  9. #9
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Counting cells with a text value

    I guess I better read the question a bit harder next time. Thanks to XOR LX for understanding the question.

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

    Also, as a relatively new member of the forum, 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.

  10. #10
    Registered User
    Join Date
    03-20-2020
    Location
    Minnesota, USA
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Counting cells with a text value

    I marked it as Solved. Thank you, I am still learning about this forum.

    Quote Originally Posted by MarvinP View Post
    I guess I better read the question a bit harder next time. Thanks to XOR LX for understanding the question.

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

    Also, as a relatively new member of the forum, 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. [SOLVED] Counting cells which contain particular text
    By tjm75 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-30-2016, 12:57 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] Counting Cells with Text
    By jtneher in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-25-2014, 01:26 PM
  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 cells that have text other than something
    By EvanNoble in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-04-2008, 06:48 PM
  6. [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
  7. counting text cells
    By Debbie in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-08-2005, 05:06 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