Comparing data sets with +/-1 tolerance using conditional formatin

E

ExcelHasMeBeat

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?
 
P

Pete_UK

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top