1 min readfrom Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

Rearranging data syntax on a report

Hi, stumped on this report that I'm doing and would appreciate any help I could get. I'm currently cleaning a report of names where the syntax is SURNAME, (FIRST NAME) (MIDDLE INITIAL) (SUFFIX). I'm trying to change it to (FIRST NAME) (MIDDLE INITIAL) (SURNAME) (SUFFIX). What I did first is to separate the surname from the rest using text to column due to it having a comma. Then use text to column again to separate the rest and use concat to combine it again.

The problem I'm having is that some names have a second and third names so I can't assign one column as the middle initial column. And that some names also have suffixes (Jr. Sr.) while some have none.

If anyone have suggestions I would greatly appreciate it. I don't know if the logic in my process is right. Thanks!

submitted by /u/SakuboSatabi
[link] [comments]

Want to read more?

Check out the full article on the original site

View original article

Tagged with

#rows.com
#Excel alternatives for data analysis
#data cleaning solutions
#Excel compatibility
#Excel alternatives
#big data management in spreadsheets
#generative AI for data analysis
#conversational data analysis
#real-time data collaboration
#intelligent data visualization
#data visualization tools
#enterprise data management
#big data performance
#data analysis tools
#syntax
#text to column
#surname
#middle initial
#report
#first name
Rearranging data syntax on a report