Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Conditional formatting with decimals


I have a milestone number calculated for someone to meet, the
number is 9.012, I am displaying it as 9 on the sheet. I have a
conditional format of "if cell A1 is less than cell A2 (9.012) then
RED"; then the second format is "if A1 is equal to or greater than A2
then GREEN". Well if my cell A1 is 9 it will stay red because it is
less than A2, 9.012. I haven't used a formula because I don't know
how. I am in the learning mode, how can I fix this problem.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,393
Default Conditional formatting with decimals

Not clear exactly what you want.
Do you the conditional formatting working?
If so, what else is needed?
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

wrote in message
ups.com...

I have a milestone number calculated for someone to meet, the
number is 9.012, I am displaying it as 9 on the sheet. I have a
conditional format of "if cell A1 is less than cell A2 (9.012) then
RED"; then the second format is "if A1 is equal to or greater than A2
then GREEN". Well if my cell A1 is 9 it will stay red because it is
less than A2, 9.012. I haven't used a formula because I don't know
how. I am in the learning mode, how can I fix this problem.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Conditional formatting with decimals

Instead of putting in A2 put in

=Text(A2,"0")*1

in both cases. Put the equal sign in the textbox as part of the formula and
leave the conditions as you currently have them selected in the dropdown.

--
Regards,
Tom Ogilvy


" wrote:


I have a milestone number calculated for someone to meet, the
number is 9.012, I am displaying it as 9 on the sheet. I have a
conditional format of "if cell A1 is less than cell A2 (9.012) then
RED"; then the second format is "if A1 is equal to or greater than A2
then GREEN". Well if my cell A1 is 9 it will stay red because it is
less than A2, 9.012. I haven't used a formula because I don't know
how. I am in the learning mode, how can I fix this problem.


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Conditional formatting with decimals

On Jul 2, 11:32 am, Tom Ogilvy
wrote:
Instead of putting in A2 put in

=Text(A2,"0")*1

in both cases. Put the equal sign in the textbox as part of the formula and
leave the conditions as you currently have them selected in the dropdown.

--
Regards,
Tom Ogilvy



" wrote:

I have a milestone number calculated for someone to meet, the
number is 9.012, I am displaying it as 9 on the sheet. I have a
conditional format of "if cell A1 is less than cell A2 (9.012) then
RED"; then the second format is "if A1 is equal to or greater than A2
then GREEN". Well if my cell A1 is 9 it will stay red because it is
less than A2, 9.012. I haven't used a formula because I don't know
how. I am in the learning mode, how can I fix this problem.- Hide quoted text -


- Show quoted text -


Thank you! That did it.

Sean

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
Omitting the whole number when formatting decimals BunnyHop Excel Discussion (Misc queries) 11 July 21st 09 09:20 PM
Omitting whole numbers when formatting decimals BunnyHop Excel Worksheet Functions 2 July 17th 09 06:52 AM
Formatting axis decimals Don Culp Charts and Charting in Excel 1 February 22nd 07 08:30 AM
Problem formatting decimals in ComboBox TylerTheCoderGuy Excel Programming 6 September 6th 06 07:32 PM
Conditional formatting : amount of decimals belgian11 Excel Discussion (Misc queries) 0 December 25th 05 04:47 PM


All times are GMT +1. The time now is 02:29 PM.

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

About Us

"It's about Microsoft Excel"