Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 76
Default Rounding / Cond. Format

How (in conditional formatting) can I ask excel to allow a difference of +,-
..01? For example, A1=12.21 and B1=12.22. I want B1 to turn red if it is
not equal to A1, allow a .01 difference. In this case B1 will not turn red.

If A1=12.21 and (B1=12.23 or B1=12.19), then the cell (B1) will turn red.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Rounding / Cond. Format

It's 2 conditional formats in B1.

cell value - is greater than =$A$1+0.01

and the second one

cell value - is less than =$A$1-0.01

and pick a nice colour.

Mike

"Teddy-B" wrote:

How (in conditional formatting) can I ask excel to allow a difference of +,-
.01? For example, A1=12.21 and B1=12.22. I want B1 to turn red if it is
not equal to A1, allow a .01 difference. In this case B1 will not turn red.

If A1=12.21 and (B1=12.23 or B1=12.19), then the cell (B1) will turn red.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Rounding / Cond. Format

=ABS(ROUND(B1-A1,2))0.01


"Teddy-B" wrote:

How (in conditional formatting) can I ask excel to allow a difference of +,-
.01? For example, A1=12.21 and B1=12.22. I want B1 to turn red if it is
not equal to A1, allow a .01 difference. In this case B1 will not turn red.

If A1=12.21 and (B1=12.23 or B1=12.19), then the cell (B1) will turn red.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 76
Default Rounding / Cond. Format

Great formula - Thanks for your help!

"Teethless mama" wrote:

=ABS(ROUND(B1-A1,2))0.01


"Teddy-B" wrote:

How (in conditional formatting) can I ask excel to allow a difference of +,-
.01? For example, A1=12.21 and B1=12.22. I want B1 to turn red if it is
not equal to A1, allow a .01 difference. In this case B1 will not turn red.

If A1=12.21 and (B1=12.23 or B1=12.19), then the cell (B1) will turn red.

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
Cond format with date Navy Nurse Excel Worksheet Functions 3 January 25th 07 04:36 AM
Whole Row Cond. Format Ripper Excel Discussion (Misc queries) 2 October 6th 06 08:21 PM
cond format jim brown Excel Worksheet Functions 2 April 20th 06 01:20 PM
HLookup or Cond. Format? mauddib13 Excel Worksheet Functions 2 March 14th 06 11:28 AM
using a UDF in place of a cond. format, b/c I need 4, not three MatthewTap Excel Discussion (Misc queries) 5 December 13th 05 06:50 PM


All times are GMT +1. The time now is 11:37 PM.

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"