+ Reply to Thread
Results 1 to 4 of 4

Count or Sum Ignoring Specified Text & Blanks

  1. #1
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,059

    Thumbs up Count or Sum Ignoring Specified Text & Blanks

    Hi,

    I have a column that's counting or summing languages, such as English, Spanish speakers

    Trying to figure out "other languages & count or sum up as with the English & Spanish speaker by using:

    =COUNTIFS($H$24:$H$173,"<>*English*",$H$24:$H$173,"<>*Spanish*")

    Problem with this function is that it's also counting Blank cells

    How to modify function to ignore blanks

    Thanks
    Last edited by mycon73; 11-24-2018 at 03:15 AM.
    MyCon
    -- Using Latest Version of Excel

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Count or Sum Ignoring Specified Text & Blanks

    Try this...
    =COUNTIFS($H$24:$H$173,"<>*English*",$H$24:$H$173,"<>*Spanish*",$H$24:$H$173,"<>")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,059

    Re: Count or Sum Ignoring Specified Text & Blanks

    FDibbins!!!

    Works great!!

    I almost had it but had 1 set of quotes too many....


    Thanks again....

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Count or Sum Ignoring Specified Text & Blanks

    Happy to help and thanks for the feedback

+ 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. Comparing multiple text strings and ignoring blanks
    By BM1988 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-09-2017, 03:13 AM
  2. [SOLVED] Data Cleanup - ignoring blanks, ignoring rows with string values etc.
    By Huyaku in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-21-2015, 08:17 AM
  3. Replies: 6
    Last Post: 12-04-2014, 10:39 AM
  4. Replies: 2
    Last Post: 12-04-2014, 06:25 AM
  5. Replies: 2
    Last Post: 12-04-2014, 06:22 AM
  6. Return most common text from column cells with formula while ignoring blanks
    By rosco01995 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-29-2014, 03:55 AM
  7. Excel 2007 : sum cells ignoring blanks and text
    By mickurje in forum Excel General
    Replies: 2
    Last Post: 07-04-2010, 03:00 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