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

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.

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,890
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
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,713
Messages
5,833,272
Members
430,201
Latest member
Deepakpilla36

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
Top