Prevent fraction from being converted to decimal

DougStroud

Well-known Member
Joined
Aug 16, 2005
Messages
2,968
I am using a concatenation formula to join several cells. One of which contains sizing, which can be whole, fraction or decimal values. The formula:
=TRIM(CONCATENATE(E67&" "&G67&" "&I67&" "&P67&" "&J67&" "&L67&" "&K67&" "&O67&" "&M67&LEFT(R67,5)&" "&N67&" "&U67))

is converting the fraction value to a decimal, how do I prevent this and maintain the fraction value?

Thanks,

ds
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Tell us what, exactly, you have in each of the cell you are using in your formula, and what you expect the final result to be.
 
Upvote 0
Hi Ralph,
It is very straight forward. All the cells are text items except for "N" which could be 7 1/2 or 7 3/8 which gets converted to 7.5 or 7.125. I want to prevent this conversion from occurring and maintain the fractional values.
Is this clearer?

thanks,

ds
 
Upvote 0
Yes, I see your point. The only way I could find that worked for me was to enter the value 7 1/2 as ="7 1/2"
 
Upvote 0
Doug

See if this simple example helps.
A1: Text entry
B1: 7.5 (entered as a formula just so you could see that it is actually 7.5 not text). B1 is formatted as a fraction.
C1: =A1&" "&TEXT(B1, "# ?/?")
Depending on your fraction values, you may need to tweak the text format in this formula.
Mr Excel.xls
ABCD
1Height7 1/2Height 7 1/2
2
Concatenate Fraction
 
Upvote 0

Forum statistics

Threads
1,214,987
Messages
6,122,613
Members
449,090
Latest member
vivek chauhan

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