Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Conditional Formatting Question

Here's what I'm trying to do. In Cell A1 I want to format it so that the
cell (A1) turns a color when the value in cell G1 is equal to or between
-0.005 and 0.005. I think I'm going to have to do a conditional formatting
formula, but I can't seem to make it work. Hope this makes sense. Any help
is greatly appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Conditional Formatting Question

Select A1

formulaIs: =AND(G1=-0.005,G1<=0.005)

select colour

OK
"XFILES" wrote:

Here's what I'm trying to do. In Cell A1 I want to format it so that the
cell (A1) turns a color when the value in cell G1 is equal to or between
-0.005 and 0.005. I think I'm going to have to do a conditional formatting
formula, but I can't seem to make it work. Hope this makes sense. Any help
is greatly appreciated.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Conditional Formatting Question

Excellent. It worked. Thank you so much!!! I really appreciate the help.

"Toppers" wrote:

Select A1

formulaIs: =AND(G1=-0.005,G1<=0.005)

select colour

OK
"XFILES" wrote:

Here's what I'm trying to do. In Cell A1 I want to format it so that the
cell (A1) turns a color when the value in cell G1 is equal to or between
-0.005 and 0.005. I think I'm going to have to do a conditional formatting
formula, but I can't seem to make it work. Hope this makes sense. Any help
is greatly appreciated.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,202
Default Conditional Formatting Question

Here's what I'm trying to do. In Cell A1 I want to format it so that the
cell (A1) turns a color when the value in cell G1 is equal to or between
-0.005 and 0.005. I think I'm going to have to do a conditional
formatting
formula, but I can't seem to make it work. Hope this makes sense. Any
help
is greatly appreciated.


Select A1 and then click on Format/Conditional Formatting in Excel's menu.
Choose "Formula Is" from the first field and put this formula in the second
field...

=AND(G1-0.005,G1<0.005)

It wasn't clear if you want the end points in the range or not. The above
excludes them. If you want them, then add equal signs...

=AND(G1=-0.005,G1<=0.005)

Rick

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,231
Default Conditional Formatting Question

"Rick Rothstein (MVP - VB)" wrote...
....
=AND(G1-0.005,G1<0.005)

....
=AND(G1=-0.005,G1<=0.005)


Why not just

=ABS(G1)<0.005

or

=ABS(G1)<=0.005

?




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
conditional formatting question whohasmynameuk Excel Worksheet Functions 1 February 27th 07 06:06 PM
Another Conditional Formatting Question 1320_Life Excel Worksheet Functions 4 July 22nd 06 10:05 PM
Conditional Formatting question... Dino Excel Discussion (Misc queries) 5 November 18th 05 11:48 PM
conditional formatting question Deb Excel Discussion (Misc queries) 0 March 23rd 05 02:07 AM
conditional formatting question chris Excel Worksheet Functions 2 January 5th 05 03:51 PM


All times are GMT +1. The time now is 07:27 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"