ExcelTip.com
Account Icon Account Icon Account Icon
ExcelTip.com

Go Back   Excel Help Forum > Usenet Groups > Excel General

Notices

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 10-07-2008, 08:48 PM
madmike2010 madmike2010 is offline
Registered User
 
Join Date: 06 Oct 2008
Location: United States
Posts: 2
madmike2010 is on a distinguished road
Coloring Percentage Values

I need some help coloring percentage values in excel 2000. What I would like to do is have percentages greater than zero shown in green, while negative values are red, and zero values are black. I currently have the custom formatting so negative values are red and all others are black, but I cant' seem to find a way to change it so greater than zero numbers are green and zeros are black. All I can do is chang positive and zero at the same time. Here is what I currently have:
Code:
0.00%;[Red]0.00%
Any help would be appreciated,
Mike

Last edited by madmike2010; 10-09-2008 at 01:04 AM.
Reply With Quote
  #2  
Old 10-07-2008, 10:43 PM
mdbct mdbct is offline
Valued Forum Contributor
 
Join Date: 11 Nov 2005
Location: CT
Posts: 243
mdbct is on a distinguished road
The custom formatting would be:
Code:
[Green]0.00%;[Red]-0.00%;0.00%
For custom formatting of numbers / percentages / currency the field is broken down as:

Positive value format ; negative value format ; zero value format
Reply With Quote
  #3  
Old 10-08-2008, 06:17 AM
Cheeky Charlie Cheeky Charlie is offline
Forum Contributor
 
Join Date: 27 Aug 2008
Location: England
Posts: 543
Cheeky Charlie is on a distinguished road
From help:

You can specify up to four sections of format codes. The format codes, separated by semicolons, define the formats for positive numbers, negative numbers, zero values, and text, in that order. If you specify only two sections, the first is used for positive numbers and zeros, and the second is used for negative numbers. If you specify only one section, it is used for all numbers. If you skip a section, include the ending semicolon for that section.
Reply With Quote
  #4  
Old 10-09-2008, 01:03 AM
madmike2010 madmike2010 is offline
Registered User
 
Join Date: 06 Oct 2008
Location: United States
Posts: 2
madmike2010 is on a distinguished road
Thanks for the help.
Mike
Reply With Quote
Reply

Bookmarks

New topics in Excel General


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes 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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Userform's listbox values depending on values on certain matrix Juhanen II Excel Programming 11 08-19-2008 09:01 AM
calculate cells between two values, and obtain the percentage caldera55 Excel Worksheet Functions 1 05-15-2008 07:23 PM
creating a percentage chart based on values dan_77 Excel Charting 1 02-27-2008 10:28 PM
Import and export a text document Odysseus Excel General 0 01-10-2008 10:41 AM
Adding Row Values depending on Corresponding Rows chr5648 Excel Programming 3 06-13-2007 06:26 PM


All times are GMT -4. The time now is 03:56 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0