+ Reply to Thread
Results 1 to 5 of 5

how to get numbers from this value

  1. #1
    Registered User
    Join Date
    04-26-2014
    Location
    Singapore
    MS-Off Ver
    Excel 2003 2007
    Posts
    69

    how to get numbers from this value

    cell O9 = "12.55 - 100.35"

    P9 = 100.35
    P10 = 12.55
    what is the formula for the cell P9 and P10 to get the value as above?

    P9 = MID(O9,FIND("-",O9)+2,10) is this the right formula?
    P10 =?

  2. #2
    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: how to get numbers from this value

    To get left part

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



    To get right part

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    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

  3. #3
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,899

    Re: how to get numbers from this value

    or to get right part...
    =--REPLACE(O9,1,FIND("-",O9),"")

  4. #4
    Registered User
    Join Date
    04-26-2014
    Location
    Singapore
    MS-Off Ver
    Excel 2003 2007
    Posts
    69

    Re: how to get numbers from this value

    you guys rock

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: how to get numbers from this value

    Here's a couple more...

    P9: =--LEFT(O9,FIND(" ",O9))

    P10: =--SUBSTITUTE(O9,P9&" - ","")
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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: 12-17-2015, 12:33 AM
  2. [SOLVED] Compare two cells with comma delimited numbers and display the numbers that are NOT duplic
    By ks100 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-13-2014, 02:22 PM
  3. Replies: 7
    Last Post: 02-27-2014, 10:56 PM
  4. [SOLVED] Convert all numbers stored as text or custom formatted to numbers &no decimals - 40 sheets
    By synses in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-19-2013, 01:46 AM
  5. Replies: 8
    Last Post: 11-01-2012, 07:49 PM
  6. Editing Social Security Numbers from current numbers to some with XXXX inserted.
    By davidingilbert in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-01-2012, 03:37 PM
  7. [SOLVED] How to merge a numbers from 3 cells, eliminate repetitive numbers, and sort such numbers?
    By david gonzalez in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-22-2012, 11:59 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