How to use EXCEL Formula properly =RIGHT(A2,13)

ayen2936 0 Reputation points
2025-04-28T13:54:45.26+00:00

I have hundreds of lines that looks like below in one column, and I am trying to retain just this part "LM202504170121" in that column. How can I ungroup the column or use =RIGHT() formula to do that? Thank you

'07/2025 LM REJECTED 192X 1 LM202504170121 11 GS0726E

Microsoft Office Online Server
Microsoft Office Online Server
Microsoft on-premises server product that runs Office Online. Previously known as Office Web Apps Server.
685 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Alistair Blades 0 Reputation points
    2025-05-01T16:08:58.8666667+00:00

    Depending on what version of excel you are using you can leverage a smarter formula.

    =INDEX(TEXTSPLIT([CellReference]," "),6)

    This breaks the word down like a CSV, but using a space (" ") to separate them. You then just index the "column" you need.

    TEXTSPLIT is a fairly new formula however.

    Older versions I would advice to have some helper columns to break it down. Keep doing this until you get to the column you need
    =RIGHT(A1,LEN(A1)-LEN(LEFT(A1,FIND(" ",A1,1))))

    This is a lot, what we are effectively trying to do is find the space, and chop off the word on the left. This is because find goes from left to right.

    On the first pass, this gives back
    LM REJECTED 192X 1 LM202504170121 11 GS0726E

    Can see it's chopping off the left. Do this a few more times till your item. Then use
    =LEFT(F1,FIND(" ",F1,1))


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.