Convert dimensions in feet and inches of a three dimensional object into separate columns

diegodad

New Member
Joined
Feb 3, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I need to convert text describing the dimensions, in feet and inches, of a three dimensional object into numbers in separate columns. Here's an example:
Convert 1'2" x 30'40" x 50'6" (all in one cell) into six separate columns containing 1 2 30 40 50 6
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Welcome to the MrExcel forum!

Try:

Book1 (version 1).xlsb
ABCDEFGH
11'2 X 30'40 x 50'6123040506
Sheet21
Cell Formulas
RangeFormula
C1:H1C1=MID(SUBSTITUTE(SUBSTITUTE(LOWER(A1),"x","'"),"'",REPT(" ",99)),SEQUENCE(,6,1,99),99)+0
Dynamic array formulas.
 
Upvote 0
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Convert dimensions in feet and inches of a three dimensional object into separate columns
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0
Hi,

Based on your 1 ( Single ) sample:

Book3.xlsx
ABCDEF
11'2" x 30'40" x 50'6"12304050
Sheet984
Cell Formulas
RangeFormula
B1:F1B1=MID(SUBSTITUTE(SUBSTITUTE($A1,""" x","'"),"'",REPT(" ",100)),COLUMNS($B1:B1)*100-99,100)+0
 
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,490
Members
448,967
Latest member
visheshkotha

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