+ Reply to Thread
Results 1 to 2 of 2

Using the LOOKUP function to extract numbers from sentences

  1. #1
    Registered User
    Join Date
    06-02-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2007
    Posts
    2

    Question Using the LOOKUP function to extract numbers from sentences

    Hi,

    I refer to a previous equation I've seen on the forum and I want to extract numbers from a sentence and have it onto another row.

    eg. A1: 1 ALL OTHERS

    to have 1 on say K1

    I used the following equation:

    =LOOKUP(99^99,--(0&MID(RC[-8],MIN(FIND({0,1,2,3,4,5,6,7,8,9},RC[-8]&1234567890)),ROW(INDIRECT("1:"&LEN(RC[-8])+1)))))

    However, I got 0.0417.... instead. I do not know how to edit the equation though because for some of the rows it works fine but some doesnt.

    Thank you in advance!

  2. #2
    Registered User
    Join Date
    06-02-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Using the LOOKUP function to extract numbers from sentences

    In addition, I realise i only have this problem when the subsequent letter is A, other letters are fine.
    eg. 1 A or 2 A
    but if it is 1 T or 2 T, the results is consistent

    Thank you!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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