Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 410
Default Deliminate text without text to columns

I have text that is written as 1 1/8 X 12 7/8. What I want to be able
to do is write a formula or piece of code to find the x and multiply
the 2 numbers together. So in this case 14.48. The count of
denominator changes as does having a fraction or not.

Thanks,
Jay
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Deliminate text without text to columns

With your text in A1, put this in B1:

=TRIM(LEFT(A1,SEARCH("x",A1)-1)) * TRIM(RIGHT(A1,LEN(A1)-
SEARCH("x",A1)))

Format the cell as number with 2 decimal places.

Hope this helps.

Pete

On May 2, 1:20*pm, jlclyde wrote:
I have text that is written as 1 1/8 X 12 7/8. *What I want to be able
to do is write a formula or piece of code to find the x and multiply
the 2 numbers together. *So in this case 14.48. *The count of
denominator changes as does having a fraction or not.

Thanks,
Jay


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 410
Default Deliminate text without text to columns

On May 2, 7:36*am, Pete_UK wrote:
With your text in A1, put this in B1:

=TRIM(LEFT(A1,SEARCH("x",A1)-1)) * TRIM(RIGHT(A1,LEN(A1)-
SEARCH("x",A1)))

Format the cell as number with 2 decimal places.

Hope this helps.

Pete

On May 2, 1:20*pm, jlclyde wrote:



I have text that is written as 1 1/8 X 12 7/8. *What I want to be able
to do is write a formula or piece of code to find the x and multiply
the 2 numbers together. *So in this case 14.48. *The count of
denominator changes as does having a fraction or not.


Thanks,
Jay- Hide quoted text -


- Show quoted text -


Pete,
You have once again shown that the Anthrax song I am the Man was
written about you.
Thanks,
Jay
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Deliminate text without text to columns

Well, thanks for the feedback, Jay - I presume that means it worked !!
<bg

Pete

On May 2, 2:26*pm, jlclyde wrote:
Pete,
You have once again shown that the Anthrax song I am the Man was
written about you.
Thanks,
Jay

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Deliminate text without text to columns

In cell B1 enter:
=LEFT(A1,5)*RIGHT(A1,6)
which displays 14.48438
--
Gary''s Student - gsnu200783


"jlclyde" wrote:

I have text that is written as 1 1/8 X 12 7/8. What I want to be able
to do is write a formula or piece of code to find the x and multiply
the 2 numbers together. So in this case 14.48. The count of
denominator changes as does having a fraction or not.

Thanks,
Jay



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
Text to columns - right-aligned text Simon Ryan Excel Discussion (Misc queries) 3 February 10th 06 08:18 AM
Split text without using data-text to columns Jambruins Excel Discussion (Misc queries) 7 January 21st 06 02:16 PM
stopping pasted text deliminate across multiple cells Paul from NZ Excel Discussion (Misc queries) 3 September 8th 05 06:06 AM
Excel is automatically doing "text to columns" upon paste text. robert10000 Excel Discussion (Misc queries) 1 June 15th 05 07:49 PM
Linking text columns with text and data columns Edd Excel Worksheet Functions 0 March 17th 05 04:23 PM


All times are GMT +1. The time now is 03:32 PM.

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"