+ Reply to Thread
Results 1 to 7 of 7

FIND with RIGHT to return numbers from a string

  1. #1
    Registered User
    Join Date
    07-09-2012
    Location
    IL
    MS-Off Ver
    Excel 2019
    Posts
    42

    FIND with RIGHT to return numbers from a string

    Hello all, I've been struggling with a formula should be simple. I have a string of numbers that varies in length but has two " " spaces in the string. I need to find the last " " space in the string and return the numbers that follow. The numbers will be a combination of the following: XX.XXXXXX or XX or .XXXXXX. The numbers will vary every time. I've been trying =RIGHT(FIND(" ", in different combinations with no luck. I've attached a sample to show what I'm looking for.
    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,941

    Re: FIND with RIGHT to return numbers from a string

    A1=IFERROR(ROUND(TRIM(RIGHT(SUBSTITUTE(E1," ",REPT(" ",256)),256)),3),"")
    Try this and copy towards down
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: FIND with RIGHT to return numbers from a string

    =TRIM(RIGHT(SUBSTITUTE(E1," ",REPT(" ",25)),25))+0

    Row\Col
    A
    B
    C
    D
    E
    1
    13.12566
    0 3.375444 13.12566
    2
    14.15973
    6 2.289082 14.15973
    3
    14.00000
    6 -2.289082 14
    4
    15.56550
    0 -0.9583464 15.5655
    5
    8.00000
    31.3678 2.953307 8
    6
    0.12380
    31.3678 -2.953307 .1238
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  4. #4
    Registered User
    Join Date
    07-09-2012
    Location
    IL
    MS-Off Ver
    Excel 2019
    Posts
    42

    Re: FIND with RIGHT to return numbers from a string

    I'm getting a #NAME? error with this formula. My version of excel is 2003.

  5. #5
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: FIND with RIGHT to return numbers from a string

    Quote Originally Posted by jndipworm View Post
    I'm getting a #NAME? error with this formula. My version of excel is 2003.
    This is because of the IFERROR function which is not compatible with Excel 2003.

  6. #6
    Registered User
    Join Date
    07-09-2012
    Location
    IL
    MS-Off Ver
    Excel 2019
    Posts
    42

    Re: FIND with RIGHT to return numbers from a string

    AlKey your formula works, thanks...

  7. #7
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: FIND with RIGHT to return numbers from a string

    You're welcome and thank you for the feedback!

    Please mark thread as "Solved" if your issue has been resolved. (Selecting Thread Tools -> Mark thread as Solved).

+ 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. [SOLVED] How Do I Find and Return a String When Only Part of that String is Known?
    By Foamy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-08-2014, 05:31 AM
  2. [SOLVED] Search numbers in a text string, find largest "value" return a value
    By OilGasKing in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-27-2013, 09:01 PM
  3. Return the string between two character numbers
    By rhua5436 in forum Excel General
    Replies: 3
    Last Post: 09-30-2011, 01:25 AM
  4. Find, return string address in a range of cells with numbers and text
    By Vera22 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-09-2007, 08:37 PM
  5. [SOLVED] Return a digit in a string of numbers
    By W M in forum Excel General
    Replies: 5
    Last Post: 05-11-2005, 02:06 PM

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