Parsing data

intensified

New Member
Joined
Sep 17, 2004
Messages
8
Hello, another question. I have a cell that looks like:
B217F1C1-FL1-AP1
the B217 stands for building 217, the F1 stands for first floor....any way I can do a function to add those values to seperate cells? So a Floor column that would say "First Floor" and a Building column that would say "B217" based on the B217F1?

Thanks in advance! I may not post often, but I have referred MANY people to these great forums!!!
 
I've got:
Code:
Building @ B2: =LEFT(A2,SEARCH("F",A2)-1)
Floor @ C2:
Code:
=SUBSTITUTE(MID(A2,SEARCH("F",A2),SEARCH("C",A2)-SEARCH("F",A2)),"F","Floor ")
Cube @ D2:
Code:
=SUBSTITUTE(MID(A2,SEARCH("C",A2),SEARCH("-",A2)-SEARCH("C",A2)),"C","Cube ")
 
Upvote 0

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