![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Feb 2002
Location: Dallas, TX
Posts: 312
|
Hello all,
I have a list of text that looks like this: LAKE AUSTIN SUMMARY 1003 HOUSTON BLDR SUMMARY 1004 VISALIA SUMMARY 1005 ORLANDO BLDR NORTH SUMM 1006 AUSTIN BLDR SUMMARY 1007 COLUMBUS SUMMARY 1008 I want to reverse it and have the number on the right in front of the alpha. I know how to get the =right(A1,4) in a cell, and I was going to use MID to get the text, but i think the MID function goes from left to right. How can I get the left portion of text out of this string? Thanks guys/gals Steve |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Winnipeg
Posts: 2,330
|
Quote:
=RIGHT(A1,4)&" "&LEFT(A1,LEN(A1)-5) Hope this helps you out! Regards,
__________________
Barrie Davidson "You're only given a little spark of madness. You mustn't lose it." - Robin Williams |
|
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Feb 2002
Location: Dallas, TX
Posts: 312
|
That's it! I forgot about LEN, thanks.
Steve |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|