+ Reply to Thread
Results 1 to 6 of 6

Lookup formula for only the numbers in a cell

  1. #1
    Registered User
    Join Date
    02-07-2023
    Location
    USA
    MS-Off Ver
    365
    Posts
    2

    Lookup formula for only the numbers in a cell

    Hey Everyone!

    I'm needing to lookup a cell's numerical value only on another sheet and return an adjacent value.

    Ex: 123456789R is the cell I need to look up in a different worksheet. The other worksheet will have 123456789 in one Cell and a CB0001234 2 columns over. I am needing to look up the numbers in the other worksheet and return the CB number to the cell next to the 123456789R number. I've attached an example worksheet for reference also.Example.xlsx

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: Lookup formula for only the numbers in a cell

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


    but only with string of format 123456789N i.e single non-numeric as last character following the number
    Last edited by JohnTopley; 02-07-2023 at 03:21 PM.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,377

    Re: Lookup formula for only the numbers in a cell

    Or maybe, with 365:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    02-07-2023
    Location
    USA
    MS-Off Ver
    365
    Posts
    2

    Re: Lookup formula for only the numbers in a cell

    Thank you!!

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,377

    Re: Lookup formula for only the numbers in a cell

    You're welcome. Thanks for the rep.

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,377

    Re: Lookup formula for only the numbers in a cell

    This should cope with more complex values, and duplicate entries.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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: 7
    Last Post: 03-19-2020, 12:56 PM
  2. [SOLVED] Looking for a Formula that would do a Lookup and then Sum the numbers.
    By adil.master in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-12-2015, 07:42 AM
  3. Lookup a value >= a cell value from a column of numbers
    By dalewms3 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-01-2015, 05:45 PM
  4. Replies: 14
    Last Post: 07-24-2014, 02:20 PM
  5. Lookup numbers and concatenate them in a different cell
    By Neyme in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-24-2014, 12:00 PM
  6. Replies: 11
    Last Post: 07-15-2012, 08:44 PM
  7. How lookup numbers between range numbers in 1 cell ?
    By termal in forum Excel General
    Replies: 4
    Last Post: 02-06-2010, 06:57 AM

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