Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
bell23
 
Posts: n/a
Default Strip text before character


Hello,
I need to strip text in a cell and have attempted a number of solutions
without total sucess. The cell data consists of dimensional
information:
73 mm (2.9 in)H x 208 mm (8.2 in)W x 173 mm (6.9 in)D
I need to craft a formula that would return the following result:
2.9 x 8.2 x 6.9

Any help is greatly appreciated.


--
bell23
------------------------------------------------------------------------
bell23's Profile: http://www.excelforum.com/member.php...o&userid=28425
View this thread: http://www.excelforum.com/showthread...hreadid=480187

  #2   Report Post  
zero635
 
Posts: n/a
Default Strip text before character


bell23 Wrote:
Hello,
I need to strip text in a cell and have attempted a number of solutions
without total sucess. The cell data consists of dimensional
information:
73 mm (2.9 in)H x 208 mm (8.2 in)W x 173 mm (6.9 in)D
I need to craft a formula that would return the following result:
2.9 x 8.2 x 6.9

Any help is greatly appreciated.



Bell,

Not sure if this will help you but it works, try the following formula
in a empty sell next to the cell you are trying to convert.

=MID(A1,8,3) &" x "& MID( A1,27,3) & " x " & MID(A1, 46,3)

This will trim it down to exactly what you want. I assumed your data
is in cell A1, if not change the A1's to what ever cell you are working
with. If you need to do more then one cell, copy the cell you have this
in and copy down or up which ever then you can paste special values to
concrete it into the spreadsheet. Let me know if this helps.

Good Luck,
Zero


--
zero635
------------------------------------------------------------------------
zero635's Profile: http://www.excelforum.com/member.php...o&userid=24802
View this thread: http://www.excelforum.com/showthread...hreadid=480187

  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default Strip text before character

Do it in 3 stages

=LEFT(A1,FIND("mm",A1)-1)&MID(A1,FIND(")",A30)+2,99)

and then copy across to B1 and C1 and then down

--

HTH

RP
(remove nothere from the email address if mailing direct)


"bell23" wrote in
message ...

Hello,
I need to strip text in a cell and have attempted a number of solutions
without total sucess. The cell data consists of dimensional
information:
73 mm (2.9 in)H x 208 mm (8.2 in)W x 173 mm (6.9 in)D
I need to craft a formula that would return the following result:
2.9 x 8.2 x 6.9

Any help is greatly appreciated.


--
bell23
------------------------------------------------------------------------
bell23's Profile:

http://www.excelforum.com/member.php...o&userid=28425
View this thread: http://www.excelforum.com/showthread...hreadid=480187



  #4   Report Post  
bell23
 
Posts: n/a
Default Strip text before character


Bob Phillips Wrote:
Do it in 3 stages

=LEFT(A1,FIND("mm",A1)-1)&MID(A1,FIND(")",A30)+2,99)

and then copy across to B1 and C1 and then down

--

HTH

RP
(remove nothere from the email address if mailing direct)


"bell23" wrote
in
message ...

Hello,
I need to strip text in a cell and have attempted a number of

solutions
without total sucess. The cell data consists of dimensional
information:
73 mm (2.9 in)H x 208 mm (8.2 in)W x 173 mm (6.9 in)D
I need to craft a formula that would return the following result:
2.9 x 8.2 x 6.9

Any help is greatly appreciated.


--
bell23

------------------------------------------------------------------------
bell23's Profile:

http://www.excelforum.com/member.php...o&userid=28425
View this thread:

http://www.excelforum.com/showthread...hreadid=480187


Bob, This selects out the dimensions in mm (results looks like 73 x 208
x 173). I am attempting to seperate out the inches dimensions. The
digits in each dimension we are trying to remove can vary between 2
digits and 5 digits.
Thanks, Gary


--
bell23
------------------------------------------------------------------------
bell23's Profile: http://www.excelforum.com/member.php...o&userid=28425
View this thread: http://www.excelforum.com/showthread...hreadid=480187

  #5   Report Post  
Bob Phillips
 
Posts: n/a
Default Strip text before character

Gary,

Try this then

B1: =LEFT(A1,FIND("mm",A1)-1)
C1: =MID(A1,FIND(" x ",A1)+3,FIND("mm",A1,FIND("mm",A1)+1)-1-(FIND(" x
",A1)+3))
D1: =MID(A1,FIND(" x ",A1,FIND(" x
",A1)+3)+3,FIND("mm",A1,FIND("mm",A1)+1)-1-(FIND(" x ",A1)+3))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"bell23" wrote in
message ...

Bob Phillips Wrote:
Do it in 3 stages

=LEFT(A1,FIND("mm",A1)-1)&MID(A1,FIND(")",A30)+2,99)

and then copy across to B1 and C1 and then down

--

HTH

RP
(remove nothere from the email address if mailing direct)


"bell23" wrote
in
message ...

Hello,
I need to strip text in a cell and have attempted a number of

solutions
without total sucess. The cell data consists of dimensional
information:
73 mm (2.9 in)H x 208 mm (8.2 in)W x 173 mm (6.9 in)D
I need to craft a formula that would return the following result:
2.9 x 8.2 x 6.9

Any help is greatly appreciated.


--
bell23

------------------------------------------------------------------------
bell23's Profile:

http://www.excelforum.com/member.php...o&userid=28425
View this thread:

http://www.excelforum.com/showthread...hreadid=480187


Bob, This selects out the dimensions in mm (results looks like 73 x 208
x 173). I am attempting to seperate out the inches dimensions. The
digits in each dimension we are trying to remove can vary between 2
digits and 5 digits.
Thanks, Gary


--
bell23
------------------------------------------------------------------------
bell23's Profile:

http://www.excelforum.com/member.php...o&userid=28425
View this thread: http://www.excelforum.com/showthread...hreadid=480187



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How change dimensions of data label text box in pie chart? Gouden Willem Charts and Charting in Excel 3 March 7th 06 12:11 PM
Remove last character of text string Grant Excel Worksheet Functions 2 September 29th 05 05:17 PM
Changing a specific character type in text string olasa Excel Discussion (Misc queries) 0 March 20th 05 11:35 PM
Autofitting a row Josephine Excel Discussion (Misc queries) 2 March 3rd 05 03:37 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM


All times are GMT +1. The time now is 10:59 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"