Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Flip Values in Single Column

I have first name and last name in a single column it goes firstname,
lastname. the file has 8000 names is there any way i can flip it to
lastname, firstname?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rob Rob is offline
external usenet poster
 
Posts: 234
Default Flip Values in Single Column

Assuming Peter Rowlans is in cell A1, the following formula will show
Rowlands Peter. Depending on your needs, either insert a column alongside
the existing one and copy the formula down 8000 rows and leave as that or
copy down but then copy and paste value over the original. This formula
only works if the names are in the format you stated.

=TRIM(MID(A1,FIND(" ",A1,1)+1,LEN(A1)-FIND(" ",A1,1))&" "&LEFT(A1,FIND("
",A1,1)-1))

HTH Rob

"Syed" wrote i
n message ...
I have first name and last name in a single column it goes firstname,
lastname. the file has 8000 names is there any way i can flip it to
lastname, firstname?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Flip Values in Single Column

Try this

=RIGHT(A1,LEN(A1)-FIND(" ",A1))&" "&LEFT(A1,FIND(" ",A1)-1)



"Syed" wrote:

I have first name and last name in a single column it goes firstname,
lastname. the file has 8000 names is there any way i can flip it to
lastname, firstname?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Summing one column if two other columns' values appear in other sh JulieU Excel Worksheet Functions 3 April 18th 06 04:48 PM
Return SEARCHED Column Number of Numeric Label and Value Sam via OfficeKB.com Excel Worksheet Functions 23 January 30th 06 06:16 PM
Copy Color Formats Based On Column Date Values Naji Excel Discussion (Misc queries) 0 January 11th 06 09:06 PM
Lookup values in one column to return another [email protected] Excel Worksheet Functions 4 November 17th 05 09:42 PM
Count Intervals of Filtered TEXT values in Column and Return Count across a Row Sam via OfficeKB.com Excel Worksheet Functions 9 July 31st 05 03:37 AM


All times are GMT +1. The time now is 01:51 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"