+ Reply to Thread
Results 1 to 5 of 5

Conditional Formatting with a Wildcard

  1. #1
    Forum Contributor
    Join Date
    07-25-2012
    Location
    San Antonio, Texas
    MS-Off Ver
    Excel 2010
    Posts
    142

    Conditional Formatting with a Wildcard

    Hello all,

    I'm looking to update an old conditional format: =ISNA(MATCH(A9,$AW$10:$AW$150,0))
    with a wildcard. The manner in which the old CF worked was to change the font color of the data to show red when the value didn't exactly match what was being typed in. We'd like to make this a little more flexible so that if there's a space at the end of the data, for example, the CF won't count the data as incorrect.
    I recently read that CF with a wildcard isn't impossible but I've come to the conclusion that it's beyond me since my knowledge of CF's and formula language is very limited. I tried using another wildcard verbiage that worked is another case: "*"&AW10:AW150&"*"
    but to no avail.
    Any assistance would be greatly appreciated!

    Orestees

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,604

    Re: Conditional Formatting with a Wildcard

    If the space you are concerned about is in the lookup value you can use:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Ben Van Johnson

  3. #3
    Forum Contributor
    Join Date
    07-25-2012
    Location
    San Antonio, Texas
    MS-Off Ver
    Excel 2010
    Posts
    142

    Re: Conditional Formatting with a Wildcard

    Wow. That worked like a charm. I'm glad it didn't require a wildcard after all. You rock, thanks a TON!

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Conditional Formatting with a Wildcard

    @ Orestees

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a 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.

  5. #5
    Forum Contributor
    Join Date
    07-25-2012
    Location
    San Antonio, Texas
    MS-Off Ver
    Excel 2010
    Posts
    142

    Re: Conditional Formatting with a Wildcard

    Sorry about that Cutter. Thanks for letting me know. I did add to protonLeah's reputation as they gave me the perfect resolution. I'll take a look through the rules now to prevent furthur errors.

    Thanks,
    Orestees

+ 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