Reverse Name with upper case and break with comma

shrinivasmj

Board Regular
Joined
Aug 29, 2012
Messages
140
hi currently using this formula ,



i need , if the name as space after dot . output need to take space
after dot or if no space after dot need to take with out space after
dot in output.

NEED TO GET same output for one formula NEED TO EDIT .




EG,



INPUT OUTPUT

[TABLE="class: cms_table_cms_table, width: 595"]
<tbody>[TR]
[TD]N. Yulia Worbe[/TD]

[TD]WORBE,N. YULIA[/TD]

[TD]( NED TO TAKE AS INPUT SPACE AFTER DOT )[/TD]

[/TR]

</tbody>[/TABLE]




[TABLE="class: cms_table_cms_table, width: 595"]
<tbody>[TR]
[TD]n.t. Romain[/TD]

[TD]ROMAIN,N.T.[/TD]

[TD]( No Space After Dot IN INPUT )[/TD]

[/TR]

</tbody>[/TABLE]




formula..........used

=UPPER(MID(TRIM(SUBSTITUTE(H14,".",".
"))&","&TRIM(SUBSTITUTE(H14,".",".
")),FIND("$",SUBSTITUTE(TRIM(SUBSTITUTE(H14,".",". ")),"
","$",LOOKUP(LEN(TRIM(SUBSTITUTE(H14,".",".
")))-LEN(SUBSTITUTE(TRIM(H14),"
",""))+1,{0,4,6},(LEN(TRIM(SUBSTITUTE(H14,".",".
")))-LEN(SUBSTITUTE(SUBSTITUTE(H14,".",". "),"
","")))-{0,1,2})))+1,LEN(TRIM(SUBSTITUTE(H14,".",". ")))))



I need to Reverse Name with upper case and break with comma



need to break the name in half part and reverse the name with comma
,and need to take dot as one word like EG- shrinivas m.j. are 3 words .



1 to 3 words reverse last word





> 4 to 5 words reverse last 2 words



> 6 to 7 words reverse last 3 words
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

Forum statistics

Threads
1,223,246
Messages
6,170,987
Members
452,373
Latest member
TimReeks

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top