+ Reply to Thread
Results 1 to 4 of 4

Return portion of string from found cell

  1. #1
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,979

    Return portion of string from found cell

    I'm trying to look in Row 1 of my sheet for a value that begins with "RTI" and return the last 7 digits.
    I've got RT defined as a string, but my code isn't working. Any ideas?

    Please Login or Register  to view this content.
    Attached Files Attached Files
    I know I'm not stupid, but I suspect I'm a lot stupider than I think I am

  2. #2
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,517

    Re: Return portion of string from found cell

    Please Login or Register  to view this content.
    or just...i suppose...
    Please Login or Register  to view this content.
    Good Luck...
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the [★ Add Reputation] to left of post window...
    Also....Add a comment if you like!!!!
    And remember...Mark Thread as Solved...
    Excel Forum Rocks!!!

  3. #3
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,979

    Re: Return portion of string from found cell

    Sintek,
    Your first solution works extremely well. I should have realized the asterisk was needed, but sometimes when you're down in the mud it's hard to see above it.

  4. #4
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,517

    Re: Return portion of string from found cell

    glad to have helped...tx for rep +

+ 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] If certain text is found at the beginning of a string return an X
    By JulianS96 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-04-2019, 12:54 PM
  2. Replies: 2
    Last Post: 01-07-2016, 01:01 PM
  3. Replies: 3
    Last Post: 01-21-2014, 05:15 PM
  4. [SOLVED] IF range of cells contains string of text, return contents of cell where string is found
    By nobodyukno in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-03-2013, 09:56 AM
  5. Extracting a portion of text string from a cell
    By TKJ in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-30-2013, 12:49 PM
  6. [SOLVED] Search for a string within a cell, if found, return value of 1
    By brookenovak in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-07-2013, 07:39 PM
  7. [SOLVED] How do I extract a portion of a string into an adjacent cell?
    By tura910 in forum Excel General
    Replies: 4
    Last Post: 03-26-2012, 08:40 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