Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 274
Default Custom cell format

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 595
Default Custom cell format

On Tue, 27 May 2008 07:46:34 -0700 (PDT), "michael.beckinsale"
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
format cell custom Number format Dan Excel Worksheet Functions 2 January 26th 10 05:29 PM
Format Cell as custom type but data doesn't display like I custom. ToMMie Excel Discussion (Misc queries) 6 September 11th 08 08:31 AM
Custom Cell format to mimic time format [email protected] Excel Discussion (Misc queries) 6 November 7th 06 09:17 PM
Format a cell with a custom number format Armor Excel Worksheet Functions 4 January 29th 06 11:25 PM
Custom format that shows blank cell if another cell is empty Zdenek Moravec Excel Discussion (Misc queries) 1 March 25th 05 11:45 AM


All times are GMT +1. The time now is 02:33 AM.

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

About Us

"It's about Microsoft Excel"