Thread: Format Ratio Q
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dana DeLouis[_3_] Dana DeLouis[_3_] is offline
external usenet poster
 
Posts: 690
Default Format Ratio Q

On 5/1/2010 9:17 AM, Seanie wrote:
How can I express below in a ratio format? It returns an invalid
error. If I was to just do it without the text, I'd simply FORMAT,
custom 0.0" :1", but it doesn't seem to work that way here. Any
suggestions?

="don't "&TEXT(C14/D14,"0.0" :1"")


custom 0.0" :1", but it doesn't seem to work that way here.


I believe the reason is due to the ":" character. I believe Excel
"thinks" it has to format a time value. Hence the error.
You can tell Excel to ignore the offending characte with something like
this:

="don't "&TEXT(C14/D14,"0.0 \:1")

You 'could do something like this if you want.

=TEXT( C15/D15,"\Do\n't 0.0 \:1")

= = = = = = =
HTH :)
Dana DeLouis