+ Reply to Thread
Results 1 to 4 of 4

Find string other than specified strings

  1. #1
    Registered User
    Join Date
    01-31-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    32

    Find string other than specified strings

    Currently I have cells containing an assortment of activities. Some cells contain one such as Workshops others contain multiple values Workshops, Mentors, Funding...

    Currently I am counting cells that contain each activity with =COUNTIF(A1, "*Workshops*") and I have this for each activity. The problem is I want to find cells that contain values other than any of my specified values.

    I want to have an extra column that will count A1 if it contains anything other than Workshops, Mentors, Funding etc

    Thanks

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Find string other than specified strings

    Can you post a SMALL sample file and tell us what result(s) you expect?
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    01-31-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: Find string other than specified strings

    Hey Tony,

    Thanks for the quick response.

    Attached is an example file. The highlighted column is the column I need help with.
    Attached Files Attached Files

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Find string other than specified strings

    I think you're going to need a VBA UDF (user defined function) to do what you want.

    If the search strings were always EXACT matches then you might be able to use a formula of built-in functions.

    For example, one of the activities is Mentors but in column B it is entered as Mentor. In a formula it would be too difficult to try to account for every variation of a word. A VBA UDF would be better suited to do this.

    Unfortunately, I'm not much of a programmer so someone else will need to help you with that.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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