I need to use fractional numbers in a text string, but I'm having some formatting problems that I could use some help with.
I have some dimensions that are best expressed with fractions of an inch; like 31 1/2" or 40 17/32". The maximum places I will need in the fraction will be two, in other words 00/00. But there will be many times when one place will be all that is needed; like 0/0 - and that's where the problem starts.
If I use the TEXT function like this: TEXT(value,"0 00/00"), it works fine if my number has two places in each fraction; like 19 23/32. But if the number is 24 5/8, it will display as: 24 05/08. If I shorten the function to: TEXT(value,"0 0/0"), then Excel rounds off any two digit fractions to their nearest single digit equivlent. 19/32 becomes 3/5.
Is there any way to accomodate both conditions using this function? Or is there another way to do this?
Thanks in advance for any help...
Rich
I have some dimensions that are best expressed with fractions of an inch; like 31 1/2" or 40 17/32". The maximum places I will need in the fraction will be two, in other words 00/00. But there will be many times when one place will be all that is needed; like 0/0 - and that's where the problem starts.
If I use the TEXT function like this: TEXT(value,"0 00/00"), it works fine if my number has two places in each fraction; like 19 23/32. But if the number is 24 5/8, it will display as: 24 05/08. If I shorten the function to: TEXT(value,"0 0/0"), then Excel rounds off any two digit fractions to their nearest single digit equivlent. 19/32 becomes 3/5.
Is there any way to accomodate both conditions using this function? Or is there another way to do this?
Thanks in advance for any help...
Rich