+ Reply to Thread
Results 1 to 7 of 7

count if in excel - can this be done

Hybrid View

  1. #1
    Registered User
    Join Date
    10-05-2004
    Location
    Scarborough, ON
    MS-Off Ver
    Mac Office 2019 v16.30 (19101301)
    Posts
    72

    Re: count if in excel - can this be done

    yes, i adjusted it more

    =COUNTIF(E:E,"*CAL*")

    and it provides the results I needed. I was close when trying to figure it out i had the "*" on the outside of the quotes and not the inside
    Regards
    Hemant - Owner
    http://www.hksltd.ca

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: count if in excel - can this be done

    You might need to leave the dashes on either side of the city abbreviation to avoid counting cells that coincidently have that text.
    Example:
    (DON-MTL-AdvantageTours-Cab3) contains "van" but doesn't refer to Vancouver.
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    10-05-2004
    Location
    Scarborough, ON
    MS-Off Ver
    Mac Office 2019 v16.30 (19101301)
    Posts
    72

    Re: count if in excel - can this be done

    Quote Originally Posted by Ron Coderre View Post
    You might need to leave the dashes on either side of the city abbreviation to avoid counting cells that coincidently have that text.
    Example:
    (DON-MTL-AdvantageTours-Cab3) contains "van" but doesn't refer to Vancouver.
    you logic is sound, ty again!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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