MID function from right to left

  • Thread starter Thread starter nsv
  • Start date Start date
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
 
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
| >>
| >
| >
|
|
 
Back
Top