I'm trying to simplify a conversion process, and am having trouble incorporating text and maintaing formating.
I have numbers formatted as fractions in a cell: 1/4, 1/2, 3/32, and so on. I want another cell to display the fraction and add text.
So if cell B2 is 1/4, I want cell A1 to state "Cell B2 is 1/4", but can only get it to state "Cell B2 is 0.25". If I format B2 as text, this works fine, but it throws off the math in critical formulas.
Is there some way to display a number as a fraction and have text in the same cell?
Thanks! Oh, I'm using Excel 2003 if that's of any use.
Maybe
or="Cell B2 is "&TEXT(B2,"?/?")
VBA Noob="Cell B2 is "&TEXT(B2,"0/0")
_________________________________________
![]()
![]()
Credo Elvem ipsum etian vivere
_________________________________________
A message for cross posters
Please remember to wrap code.
Forum Rules
Please add to your signature if you found this link helpful. Excel links !!!
Try
"Cell B2 is "&TEXT(B2,"?/?")
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
However,
for fractions like 3/32....
Nevermind! It works great all the way (just have to add the extra "?"'s for fractions with 2 or more digits.
Very helpful! Great job, as always! Thanks!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks