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.
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
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
 
Upvote 0
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
 
Upvote 0

Forum statistics

Threads
1,219,005
Messages
6,145,705
Members
450,635
Latest member
Rookie3510

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