excel - Move specific word to beginning of cell -


i have large spreadsheet contains entries like:

alabama men's sport bracelet team color dial 

for each 1 need move word men's front of text in cell. many of cells contain word ladies rather men's require same operation.

a (marginally) shorter version @rwilson's, similar:

=iferror(if(search("men's",a1),"men's "&substitute(a1,"men's ","")),iferror(if(search("ladies",a1),"ladies "&substitute(a1,"ladies ","")),a1)) 

Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -