Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Comparing data sets with +/-1 tolerance using conditional formatin

Please help! This has been puzzling me for hours!!

I am using conditional formating to compare one data set with another to see
if there are any discrepancies, using green cells for the same and red cells
for different data.

However, one set of data is rounded to the whole number, but the other set
is to 2 decimal places (and has to remain that way). Therefore I need my
conditional formating to compare the two data sets, but with a tolerance of
plus or minus 1.00. How do I create this formula using conditional formating?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Comparing data sets with +/-1 tolerance using conditional formatin

CF/ Formula is: =ABS(A1-B1)<=1
--
David Biddulph


"ExcelHasMeBeat" wrote in message
...
Please help! This has been puzzling me for hours!!

I am using conditional formating to compare one data set with another to
see
if there are any discrepancies, using green cells for the same and red
cells
for different data.

However, one set of data is rounded to the whole number, but the other set
is to 2 decimal places (and has to remain that way). Therefore I need my
conditional formating to compare the two data sets, but with a tolerance
of
plus or minus 1.00. How do I create this formula using conditional
formating?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Comparing data sets with +/-1 tolerance using conditionalformatin

Suppose one data set is in column A and the other in column D.
Highlight the cells in column A, with A1 as the active cell, and then
bring up the conditional formatting dialogue box. Choose Formula Is in
the first box, and enter this formula:

=ROUND(A1,0)=ROUND(D1,0)

Then click on the Format button, Patterns tab and chose green, then OK
(twice) to exit the dialogue box.

Hope this helps.

Pete

On Nov 25, 3:54*pm, ExcelHasMeBeat
wrote:
Please help! This has been puzzling me for hours!!

I am using conditional formating to compare one data set with another to see
if there are any discrepancies, using green cells for the same and red cells
for different data.

However, one set of data is rounded to the whole number, but the other set
is to 2 decimal places (and has to remain that way). Therefore I need my
conditional formating to compare the two data sets, but with a tolerance of
plus or minus 1.00. How do I create this formula using conditional formating?


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
Comparing 2 sets of data to fill in gaps Awrex Excel Worksheet Functions 3 July 24th 09 04:58 PM
displaying missing data by comparing two sets Shu of AZ Excel Discussion (Misc queries) 0 April 16th 09 07:50 PM
Comparing two data sets PR1 Excel Worksheet Functions 1 November 1st 08 02:52 PM
Comparing two different sets of data with common element tutaref Excel Worksheet Functions 1 April 5th 07 08:24 PM
Comparing two sets data for different month achilles Excel Discussion (Misc queries) 0 February 9th 06 02:44 PM


All times are GMT +1. The time now is 12:04 AM.

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"