PC Review


Reply
Thread Tools Rate Thread

Custom cell format

 
 
michael.beckinsale
Guest
Posts: n/a
 
      27th May 2008
Hi All,

I am pretty sure this can be done, but l cant seem to get the syntax
right!

I would like to create a custom format that displays the cell value as
a % but if the % > 100% or < 100% then **** is displayed.

I thought it would go something like this:

[>100%]["****"]0.0%;[<100%]["***"](0.0%)

Can anybody give me the correct syntax please?

If this cannot be done as above can l achieve the same result by
conditional formatting and if so how?

All ideas greatfully received

Regards

Michael Beckinsale

 
Reply With Quote
 
 
 
 
Dick Kusleika
Guest
Posts: n/a
 
      28th May 2008
On Tue, 27 May 2008 07:46:34 -0700 (PDT), "michael.beckinsale"
<(E-Mail Removed)> wrote:

>Hi All,
>
>I am pretty sure this can be done, but l cant seem to get the syntax
>right!
>
>I would like to create a custom format that displays the cell value as
>a % but if the % > 100% or < 100% then **** is displayed.
>
>I thought it would go something like this:
>
>[>100%]["****"]0.0%;[<100%]["***"](0.0%)
>
>Can anybody give me the correct syntax please?
>
>If this cannot be done as above can l achieve the same result by
>conditional formatting and if so how?
>

[<>1]"****";0.0%

Based on your description, you only want to show the number if it's exactly
100%.
--
Dick Kusleika
Microsoft MVP-Excel
http://www.dailydoseofexcel.com
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Format Cell as custom type but data doesn't display like I custom. ToMMie Microsoft Excel Misc 6 11th Sep 2008 08:31 AM
Custom Cell format to mimic time format brotherescott@yahoo.com Microsoft Excel Misc 6 7th Nov 2006 09:17 PM
DataGrid Cell: Custom Font/Backcolor/Format cell by cell (VB.NET) DraguVaso Microsoft ADO .NET 7 28th Jan 2004 09:04 PM
DataGrid Cell: Custom Font/Backcolor/Format cell by cell (VB.NET) DraguVaso Microsoft Dot NET Framework Forms 5 7th Jan 2004 09:09 PM
DataGrid Cell: Custom Font/Backcolor/Format cell by cell (VB.NET) DraguVaso Microsoft VB .NET 2 19th Dec 2003 10:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:50 AM.