Avatar of deanlee17
deanlee17 asked on

Convert mm into cm

Hi guys,

I currently have the following in column A:

220 x 300
250 x 250
330 x 300

I need column B to be:

22cm x 30cm
25cm x 25cm
33cm x 30cm

Is this possible in an equation?

Many Thanks,
Dean.
Microsoft ExcelMicrosoft OfficeMicrosoft Applications

Avatar of undefined
Last Comment
Saqib Husain

8/22/2022 - Mon
Rgonzo1971

Hi,

pls try

=LEFT(A2;3)/10&"cm x "&RIGHT(A2;3)/10&"cm"

Open in new window

Regards
Saqib Husain

If your data starts in row 2 then enter this formula in row 2 of any blank column

=LEFT(A2,FIND(" ",A2)-1)/10&"cm"&" x "&RIGHT(A2,LEN(A2)-FIND(" x ",A2)-2)/10&"cm"

and copy it down.
nigam333

The Solution is :
in next column write:
=LEFT(A2,3)/10 & "cm x " & RIGHT(A2,3)/10 & "cm"

Use , between A2 & 3.

Thanks,
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
ASKER
deanlee17

Rgonzo1971, im getting error in formula.

ssaqibh: That works perfectly, but ive also noticed some cells have:

350 x 350 x 700

Can we change the formula to deal with this also?
ASKER CERTIFIED SOLUTION
Saqib Husain

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
deanlee17

Thanks ssaqibh, thats a pretty impressive equation. Thanks for clearing up the Rgonzo1971 post too.
Saqib Husain

If your numbers are all fixed at 3 digits then you can use this simplified formula

=LEFT(A2,3)/10&"cm x "&IF(LEN(A2)>9,MID(A2,7,3)/10&"cm x ","")&LEFT(A2,3)/10&"cm"
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.