Mid left and Right

vmjan02

Well-known Member
Joined
Aug 15, 2012
Messages
1,062
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
  5. 2013
can this 2 output can be done

Book1
ABC
1InputOutput 1Output 2
200-18-82-B8-09-720018-82b8-09720018.82b8.0972
300-18-82-B8-1C-CE0018-82B8-1CCE0018.82B8.1CCE
400-18-82-B8-1C-D00018-82B8-1CD00018.82B8.1CD0
500-18-82-B8-09-7E0018-82B8-097E0018.82B8.097E
600-18-82-97-A7-860018-8297-A7860018.8297.A786
75c-4c-a9-17-21-a15c4c-a917-21a15c4c.a917.21a1
85c-4c-a9-16-b5-6d5c4c-a916-b56d5c4c.a916.b56d
938-4c-4f-a6-6f-4b384c-4fa6-6f4b384c.4fa6.6f4b
105c-4c-a9-17-2c-e05c4c-a917-2ce05c4c.a917.2ce0
1170-7b-e8-52-c5-6e707b-e852-c56e707b.e852.c56e
1270-7b-e8-5f-64-47707b-e85f-6447707b.e85f.6447
1370-7b-e8-5f-66-85707b-e85f-6685707b.e85f.6685
1438-4c-4f-65-7c-7f384c-4f65-7c7f384c.4f65.7c7f
15c8-8d-83-13-63-34c88d-8313-6334c88d.8313.6334
Sheet1
 
I like this game :)

Excel Formula:
=TEXTJOIN("-",,MID(A2,{1,7,13},2)&MID(A2,{4,10,16},2))
and
Excel Formula:
=TEXTJOIN(".",,MID(A2,{1,7,13},2)&MID(A2,{4,10,16},2))
 
Upvote 0

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
With formula and VBA, this is my favourite game :)
 
Upvote 0

Forum statistics

Threads
1,215,754
Messages
6,126,681
Members
449,328
Latest member
easperhe29

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