Move text and numbers from end to beginning of same cell, add colon and space

captenblack

New Member
Joined
Nov 13, 2009
Messages
5
Hello, I'm sure there is a quick and easy way to do this. All content is in column A. I want to move the word "Module" and a #.# that appears after it from the end to beginning of cell and add a colon and space. The text to be moved will always be the same (Module) as shown in examples, the numbers will be different but always #.# format. There is nothing AFTER the numbers in the cells right now, cells always end with #.#. The text prior to "Module" is always random and varies in each cell. Sample of how it currently appears --> how I would want it to appear:


Assisting Others Module 19.4 -->
Module 19.4: Assisting Others

Communicating with Others Efficiently Module 2.4 -->
Module 2.4: Communicating with Others Efficiently


Building and Organizing Proposals and Opinions Module 15.10 -->
Module 15.10: Building and Organizing Proposals and Opinions


Creating & Completing Important Requests Module 5.13 -->
Module 5.13: Creating & Completing Important Requests


Thanks for any help.
 

Some videos you may like

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

VBA Geek

MrExcel MVP
Joined
Dec 16, 2013
Messages
2,857
would u be willing to use a UDF

Code:
Function MoveModule(sToEdit As String) As String
MoveModule = Mid$(sToEdit, InStrRev(sToEdit, "Module")) & ": " & Left$(sToEdit, InStrRev(sToEdit, "Module") - 2)
End Function
 

JoeMo

MrExcel MVP
Joined
May 26, 2009
Messages
17,211
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
Copy B1 down.
Excel Workbook
AB
1Assisting Others Module 19.4Module 19.4: Assisting Others
2Communicating with Others Efficiently Module 2.4Module 2.4: Communicating with Others Efficiently
3Building and Organizing Proposals and Opinions Module 15.10Module 15.10: Building and Organizing Proposals and Opinions
Sheet5
 

Watch MrExcel Video

Forum statistics

Threads
1,109,032
Messages
5,526,358
Members
409,697
Latest member
christopherlewis1620

This Week's Hot Topics

Top