A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Format Ratio Q



 
 
Thread Tools Display Modes
  #1  
Old May 1st, 2010, 02:17 PM posted to microsoft.public.excel.worksheet.functions
Seanie
external usenet poster
 
Posts: 71
Default Format Ratio Q

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"")
  #2  
Old May 1st, 2010, 03:25 PM posted to microsoft.public.excel.worksheet.functions
Fred Smith[_4_]
external usenet poster
 
Posts: 2,386
Default Format Ratio Q

When you have quotes within quotes, you need to double them up, as in:
="don't "&TEXT(C14/D14,"0.0"" :1""")

I'm not sure why you want the space before the colon, but that's up to you.

Regards,
Fred


"Seanie" wrote in message
...
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"")


  #3  
Old May 1st, 2010, 04:17 PM posted to microsoft.public.excel.worksheet.functions
Dana DeLouis[_3_]
external usenet poster
 
Posts: 184
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
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:59 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.