+ Reply to Thread
Results 1 to 6 of 6

Assistance with searching text and pulling info from it

  1. #1
    Forum Contributor
    Join Date
    05-17-2012
    Location
    Silver Spring
    MS-Off Ver
    Excel 2016
    Posts
    212

    Assistance with searching text and pulling info from it

    say these are in A1 through A4.

    BIOS Date: 09/01/15 20:17:33 Ver: A13.00
    BIOS Date: 05/19/15 00:24:20 Ver: A12.00
    BIOS Date: 05/01/14 23:18:57 Ver: A06.00
    BIOS Date: 05/01/14 23:18:57 Ver: A06.00

    I can't seem to get a formula to work to search the cell for *Ver:* and if it finds it, display the number to the right of it (without the space in front)
    I thought this would be easy but I cant seem to get it to work.
    Thank you.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Assistance with searching text and pulling info from it

    If all the values to the right are six characters in length

    =IF(ISNUMBER(SEARCH("Ver",A1)),RIGHT(A1,6),"")

    or if the length varies

    =IF(ISNUMBER(SEARCH("Ver",A1)),RIGHT(A1,LEN(A1)-SEARCH("ver",A1)-4),"")
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Contributor
    Join Date
    05-17-2012
    Location
    Silver Spring
    MS-Off Ver
    Excel 2016
    Posts
    212

    Re: Assistance with searching text and pulling info from it

    Thank you Special-K, this worked. Is it possible within the same "True" field to say only show the 3 characters so it says A13 instead of A13.00?

  4. #4
    Forum Contributor
    Join Date
    05-17-2012
    Location
    Silver Spring
    MS-Off Ver
    Excel 2016
    Posts
    212

    Re: Assistance with searching text and pulling info from it

    I know how to do it making another cell but is there anyway to do it all within one cell in the same formula?

  5. #5
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Assistance with searching text and pulling info from it

    Try

    =IF(ISNUMBER(SEARCH("Ver",A1)),MID(A1,LEN(A1)-SEARCH("ver",A1)-4,3),"")

  6. #6
    Registered User
    Join Date
    08-25-2016
    Location
    Des Moines, Iowa
    MS-Off Ver
    2010
    Posts
    7

    Re: Assistance with searching text and pulling info from it

    =MID(A1,FIND("Ver: ",A1)+5,LEN(A1)-(FIND("Ver: ",A1)+7))

    However, this only works if those values are always at the far right of the cell. Are they in your case or is it sometimes in the middle? You could just replace the number of characters with 3 if it's always a fixed length after Ver:

    =MID(A1,FIND("Ver: ",A1)+5,3)
    Last edited by zlittle; 09-16-2016 at 12:25 PM.

+ 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] Assistance with searching from the LEFT of a character
    By AceForSale in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-14-2016, 08:42 AM
  2. assistance with searching
    By AceForSale in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-02-2016, 11:46 AM
  3. [SOLVED] Assistance searching rows
    By AceForSale in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-26-2016, 06:49 PM
  4. Need assistance with searching cells
    By AceForSale in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-15-2015, 06:53 PM
  5. Assistance needed to loop code when pulling info from a web page and pasting to excel
    By boswelljw in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-29-2015, 09:49 AM
  6. Replies: 4
    Last Post: 09-16-2013, 03:47 PM
  7. Replies: 0
    Last Post: 03-06-2013, 01:09 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