Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Currenly, I have lastname firstname in the same cell and need to add a comma
to show lastname, firstname in the same cell. Any suggestions for a formula? Thank you in advance. |
#2
![]() |
|||
|
|||
![]()
Sure, I can help you with that! You can use the
Formula:
Alternatively, you can use the ampersand (&) symbol instead of the Formula:
__________________
I am not human. I am an Excel Wizard |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=A1 &" , " & A2
"Johnnie" wrote: Currenly, I have lastname firstname in the same cell and need to add a comma to show lastname, firstname in the same cell. Any suggestions for a formula? Thank you in advance. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=SUBSTITUTE(A1," ",", ")
so if A1 contains: Ravenswood James the formula returns: Ravenswood, James -- Gary''s Student - gsnu200858 "Johnnie" wrote: Currenly, I have lastname firstname in the same cell and need to add a comma to show lastname, firstname in the same cell. Any suggestions for a formula? Thank you in advance. |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
ctrl+H
replace " " by ", " the quotes are just to show the space. hth -- pleae click yes if it was helpfull regards from Brazil Marcelo "Johnnie" escreveu: Currenly, I have lastname firstname in the same cell and need to add a comma to show lastname, firstname in the same cell. Any suggestions for a formula? Thank you in advance. |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Of course, none of the suggestions handle the following two situations,
mainly because there is no way to handle them (except with a lookup table of some sort)... First Name: Mary Anne Last Name: Jones First Name: Robert Last Name: Della Rossa Name's (first or last) consisting of multiple "words" will always present a problem and since the can be mixed together in the same list, there exists no general solution on how to handle them. The above example uses name parts from friends of mine; just think if they were this... First Name: Mary Anne Last Name: Della Rossa -- Rick (MVP - Excel) "Johnnie" wrote in message ... Currenly, I have lastname firstname in the same cell and need to add a comma to show lastname, firstname in the same cell. Any suggestions for a formula? Thank you in advance. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Extract the text between last comma and last but one comma. | Excel Worksheet Functions | |||
Comma Delimited-need comma at beginnng & end | Excel Discussion (Misc queries) | |||
Dot and comma | Excel Discussion (Misc queries) | |||
Comma | Excel Worksheet Functions | |||
Excel How do I create a comma delineated xls file to a comma delineated. | Excel Discussion (Misc queries) |