MID function from right to left

N

nsv

The MID function works from left to right so picking the first three
characters of a string is easy enough, but I need to pick the LAST
three characters of a series of strings with variable length.

Is it possible to do this?

NSV
 
N

Niek Otten

But if for some reason you insist on using MID:
=MID(A1,LEN(A1)-2,3)

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

| For example in B1 write :-
|
| =RIGHT(A1,3)
|
| i hope that helps.
|
| GARY
|
| | > Try using RIGHT instead of MID
| >
| >
| > | >>
| >> The MID function works from left to right so picking the first three
| >> characters of a string is easy enough, but I need to pick the LAST
| >> three characters of a series of strings with variable length.
| >>
| >> Is it possible to do this?
| >>
| >> NSV
| >>
| >>
| >> --
| >> nsv
| >> ------------------------------------------------------------------------
| >> nsv's Profile:
| >> http://www.excelforum.com/member.php?action=getinfo&userid=26500
| >> View this thread:
| >> http://www.excelforum.com/showthread.php?threadid=566959
| >>
| >
| >
|
|
 

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