Split Two Numbers Separated by Backslash Into Two Cells

tkoin12

New Member
Joined
Nov 30, 2012
Messages
1
Hello All,

I have a spreadsheet that has two numbers separated by a backslash in one cell, like below:

[TABLE="width: 50"]
<TBODY>[TR]
[TD="class: xl67, width: 67, bgcolor: silver"]F/P KR EVERYDAY TOWELS 6P (72)276SFT SC 015836
[/TD]
[/TR]
[TR]
[TD="class: xl66, width: 67, bgcolor: transparent"]3 / 3
[/TD]
[/TR]
[TR]
[TD="class: xl66, width: 67, bgcolor: transparent"]1 / 1
[/TD]
[/TR]
[TR]
[TD="class: xl66, width: 67, bgcolor: transparent"]3 / 3
[/TD]
[/TR]
[TR]
[TD="class: xl66, width: 67, bgcolor: transparent"]1 / 1
[/TD]
[/TR]
[TR]
[TD="class: xl66, width: 67, bgcolor: transparent"]1 / 1
[/TD]
[/TR]
[TR]
[TD="class: xl66, width: 67, bgcolor: transparent"]2 / 2
[/TD]
[/TR]
[TR]
[TD="class: xl66, width: 67, bgcolor: transparent"]3 / 3
[/TD]
[/TR]
</TBODY>[/TABLE]


What I want to be able to to is separate the two numbers into a different cells like below:
[TABLE="width: 100"]
<TBODY>[TR]
[TD="class: xl67, width: 67, bgcolor: silver"]F/P KR EVERYDAY TOWELS 6P (72)276SFT SC 015836
[/TD]
[TD="class: xl67, width: 67, bgcolor: silver"]F/P KR EVERYDAY TOWELS 6P (72)276SFT SC 015836
[/TD]
[/TR]
[TR]
[TD="class: xl66, width: 67, bgcolor: transparent"]3
[/TD]
[TD="class: xl66, width: 67, bgcolor: transparent"]3
[/TD]
[/TR]
[TR]
[TD="class: xl66, width: 67, bgcolor: transparent"]1
[/TD]
[TD="class: xl66, width: 67, bgcolor: transparent"]1
[/TD]
[/TR]
[TR]
[TD="class: xl66, width: 67, bgcolor: transparent"]3
[/TD]
[TD="class: xl66, width: 67, bgcolor: transparent"]3
[/TD]
[/TR]
[TR]
[TD="class: xl66, width: 67, bgcolor: transparent"]1
[/TD]
[TD="class: xl66, width: 67, bgcolor: transparent"]1
[/TD]
[/TR]
[TR]
[TD="class: xl66, width: 67, bgcolor: transparent"]1
[/TD]
[TD="class: xl66, width: 67, bgcolor: transparent"]1
[/TD]
[/TR]
[TR]
[TD="class: xl66, width: 67, bgcolor: transparent"]2
[/TD]
[TD="class: xl66, width: 67, bgcolor: transparent"]2
[/TD]
[/TR]
[TR]
[TD="class: xl66, width: 67, bgcolor: transparent"]3
[/TD]
[TD="class: xl66, width: 67, bgcolor: transparent"]3
[/TD]
[/TR]
</TBODY>[/TABLE]


Because I have about 50 columns, I don't want to use Text to Columns. Is there a formula or macro I could use? It doesn't have to be as clean like I layed it out (in regards to the column title) but I just to really separate the two numbers into two cells.

Thanks in advance!

Joel
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
in first column =left(a2,find(" ",a2)-1)
in second column =RIGHT(A2,LEN(A2)-FIND(" ",A2,FIND("/",A2)))
 
Upvote 0

Forum statistics

Threads
1,223,396
Messages
6,171,866
Members
452,427
Latest member
samk379

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