Combining Functions: Text to Column & Replace

tylergaps

New Member
Joined
Jul 12, 2020
Messages
1
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
Hi all,

My company has recently implemented some live SMS notification system but I would like to input manually into excel for better overview tracking.
I am only able to come up with a basic 2 step process to enter this SMS data using Text to Column to break the "Alt + Enter" line breaks and then the Replace Function to remove the User/Date/Time/Error word leaving the details only before copying to a new row in a table. How do I improve this ?

Example of SMS Format
User: Tyler G
Date: 11/22/20
Time: 1122 HRS
Error: XX Department, Room XX , Machine XX

Desired output using the 2 step solution
UserDateTimeError
Tyler G11/22/201122 HRSXX Department, Room XX , Machine XX
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
If what you're looking for is just to split out what's before the colon and what's after the colon then this will work:
Before the colon: =LEFT(A1,FIND(":",A1)-1)
After the colon: =RIGHT(A1,LEN(A1)-FIND(":",A1)-1)
 
Upvote 0
Hi & welcome to MrExcel.
How about
+Fluff New.xlsm
ABCDE
1
2User: Tyler G Date: 11/22/20 Time: 1122 HRS Error: XX Department, Room XX , Machine XXTyler G11/22/201122 HRSXX Department, Room XX , Machine XX
InvDetails
Cell Formulas
RangeFormula
B2:E2B2=TRIM(MID(SUBSTITUTE(SUBSTITUTE($A2,":", REPT(" ",100)),CHAR(10),REPT(" ",100)),COLUMN(A1)*200-99,100))
 
Upvote 0

Forum statistics

Threads
1,214,830
Messages
6,121,835
Members
449,051
Latest member
excelquestion515

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