+ Reply to Thread
Results 1 to 4 of 4

Search string for substring...return match

Hybrid View

  1. #1
    Registered User
    Join Date
    03-19-2007
    Posts
    35

    Search string for substring...return match

    I get info from one of my suppliers, see attached.

    I am trying to create an If-Then formula dealing with the number in the cell that is in blue font.

    I am trying to get the formula to do something like:

    If the cell contains a number (1 of 130 possibiliteis) then this cell equals (each of the 130 possibliteis has a corresponding answer)

    So for the attached: IF the cell contains 451039336990, then this cell equals 1875.

    Any help would be greatly appreciated.

    If I need to clarify anything, please contact me at ajohnston@afvusa.com

    Thank you,
    Attached Files Attached Files
    Last edited by Gambinus; 05-06-2008 at 03:57 PM. Reason: Forgot attachment

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    I would suggest you create a side table that contains the possibilities along with the match values to return...

    then use a formula to extract...

    see attached....

    The formula in B1 is an array formula and must be confirmed with CTRL+SHIFT+ENTER not just ENTER.
    Attached Files Attached Files
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    09-21-2012
    Location
    Chennai, India
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Search string for substring...return match

    HI

    can u just detail about the index, match and search functions individually.

    also combining these formulas.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Search string for substring...return match

    Please post your question in a new thread... it is against rules to ask question in others' threads.

+ 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