+ Reply to Thread
Results 1 to 5 of 5

Searching for specific letter in specific location in cells

  1. #1
    Registered User
    Join Date
    04-11-2013
    Location
    Alabama, US
    MS-Off Ver
    Excel 2010
    Posts
    3

    Searching for specific letter in specific location in cells

    Hi All,

    New here and have a question regarding search criteria. I have a spreadsheet with a column that I need to search. The column contains a series of numbers and letters.
    For example the column might contain cells with the following information
    B111S5A
    B222S5B
    B333S4A
    A444S4CA

    I need to filter or search so that all the cells that contain the letter A in the 7th position only are selected. In the example above the first and third would be selected but the fourth wouldn't since the letter A is in the 1st and 8th position - not the 7th.

    Is this possible and if so what would the correct formula be?

    Thanks,
    Pam

  2. #2
    Valued Forum Contributor
    Join Date
    10-17-2010
    Location
    Nottingham, England
    MS-Off Ver
    Excel 2003, 2007, 2010, 2013, 2016, 2019, 365
    Posts
    294

    Re: Searching for specific letter in specific location in cells

    Use wildcard characters in your filter. The ? character represents an individual letter, so if you filter on a custom filter equal to ??????A*, it'll return only those entries with A as the 7th character.
    Kind Regards,

    Out of the Hat

    "Computers are stupid - they do EXACTLY what you tell them to"

    If I've helped you with a problem, please say thanks by clicking the small star icon on the left.

  3. #3
    Registered User
    Join Date
    04-11-2013
    Location
    Alabama, US
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Searching for specific letter in specific location in cells

    Much apologies, but I am such a slow learner in excel. So do I "filter" in the data tab because the advanced filter is confusing.
    filter.jpg

  4. #4
    Valued Forum Contributor
    Join Date
    10-17-2010
    Location
    Nottingham, England
    MS-Off Ver
    Excel 2003, 2007, 2010, 2013, 2016, 2019, 365
    Posts
    294

    Re: Searching for specific letter in specific location in cells

    Yes, either Data > Filter or Home > Sort&Filter > Filter. Once you have the dropdown arrow at the top of the column, choose Text Filters > Custom Filter, and set it to 'equal to' ??????A*.

  5. #5
    Registered User
    Join Date
    04-11-2013
    Location
    Alabama, US
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Searching for specific letter in specific location in cells

    Thanks, that did the trick!

+ 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