+ Reply to Thread
Results 1 to 4 of 4

Help with the find function, picking up something else

  1. #1
    Forum Contributor
    Join Date
    03-05-2015
    Location
    norwich
    MS-Off Ver
    365
    Posts
    107

    Help with the find function, picking up something else

    Hi,

    I have an annoying issue with a formula when searching for a cell value. The search code is below.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    When the search is executed excel picks up a cell with this in:
    *SCCG_SAMP

    instead of:
    **SAMP

    Presumably because a * means disregard everything infront?

    Is there anyway round this? I can't change the cells it's searching for because it comes out of the software. I'm a bit stumped

    Cheers for any help

  2. #2
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Help with the find function, picking up something else

    Sorry can you provide some examples of what should and shouldn't be included within your Find?

    Do you have entries that actually are "**SAMP" so you're looking for an exact match?

    if so then prefix the Find with a tilde (~) to denote you're searching for an asterisk, not sure however whether that means your search should be "~**SAMP" or "~*~*SAMP"?
    Last edited by pjwhitfield; 10-22-2018 at 07:19 AM.
    If someone has helped you then please add to their Reputation

  3. #3
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,198

    Re: Help with the find function, picking up something else

    I think it is probably the later ~*~*SAMP

  4. #4
    Forum Contributor
    Join Date
    03-05-2015
    Location
    norwich
    MS-Off Ver
    365
    Posts
    107

    Re: Help with the find function, picking up something else

    Thanks for your help. Worked a treat! It was for exact matches

    Your instinct was right for "~*~*SAMP"

+ 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. Replies: 4
    Last Post: 07-19-2017, 03:01 PM
  2. Issue with Match and Index function, not picking the dates
    By Rajkumar_h in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-26-2017, 09:55 AM
  3. [SOLVED] Function that is picking up most data except 1 # driving me crazy! Thank you
    By JCarollo765 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-15-2016, 02:33 PM
  4. [SOLVED] SMALL() Picking Empty Cells In An Array Function
    By Billy Corman in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-04-2015, 06:37 PM
  5. [SOLVED] sumif, function picking wrong value
    By nicci113 in forum Excel General
    Replies: 12
    Last Post: 11-20-2014, 01:21 PM
  6. Worksheet picking function ?
    By Diandude in forum Excel General
    Replies: 1
    Last Post: 08-24-2012, 11:11 AM
  7. vlookup function, picking up the wrong row
    By superdan in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-03-2009, 10:11 AM

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