Extract Last 4 Strings from text

P

PumaMan

I need to extra the last 4 strings from a text that may range in length.

Example:
"123456789101" I need to extract only "9101"
"abc1 4321" I need to extract only "4321"

It will always be the last 4 of the text if that helps. I'd like to know
how to do it in Excel primarily, but VBA is fine too.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top