+ Reply to Thread
Results 1 to 6 of 6

formula that can return the text in a field starting from the 4th character

Hybrid View

  1. #1
    Registered User
    Join Date
    09-07-2011
    Location
    Ny
    MS-Off Ver
    Excel 2003
    Posts
    3

    Exclamation formula that can return the text in a field starting from the 4th character

    I need a formula that can return the text in a field starting from the 4th character from the left.
    *
    From the field with ABCD12345 the next column should return 12345 or 123ABCDE
    would be BCDE


    Note – the initial field has varying lengths.
    ABCD1234
    ABCD12345
    ABCD123456

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: formula that can return the text in a field starting from the 4th character

    It seems like this would work for you:
    =MID(A1,5,LEN(A1))

    Does it?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    09-07-2011
    Location
    Ny
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: formula that can return the text in a field starting from the 4th character

    Hi Ron,

    That works. Thank you!

    How do I change the forumla so it will automatically look in the correct row number. Example: I want to paste this formula in to 26b-50b and look at the corresponding A cells?

    Thanks again.

    Quote Originally Posted by Ron Coderre View Post
    It seems like this would work for you:
    =MID(A1,5,LEN(A1))

    Does it?

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,334

    Re: formula that can return the text in a field starting from the 4th character

    Hi Davidwebb and welcome to the forum,

    Another answer might be
    =RIGHT(A1,LEN(A1)-4)
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  5. #5
    Registered User
    Join Date
    09-07-2011
    Location
    Ny
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: formula that can return the text in a field starting from the 4th character

    This also works.

    How do I change the forumla so it will automatically look in the correct row number. Example: I want to paste this formula in to 26b-50b and look at the corresponding A cells?

    Thanks again.

    Quote Originally Posted by MarvinP View Post
    Hi Davidwebb and welcome to the forum,

    Another answer might be
    =RIGHT(A1,LEN(A1)-4)

  6. #6
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,334

    Re: formula that can return the text in a field starting from the 4th character

    Hi,
    In B26 put this formula
    =RIGHT(A26,LEN(A26)-4)
    Then grab the bottom right corner of B26 and pull the forumla down to row 50.

    Hope that helps.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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