Highlight differences

rovert

New Member
Joined
Aug 4, 2009
Messages
22
Hi All,

Thank you in advance, what i need is to be able to highlight the difference between 2 worksheets in the same workbook, fig1 below is sheet1 and fig2 is sheet2.


[TABLE="width: 1103"]
<colgroup><col span="2"><col><col span="2"><col><col><col></colgroup><tbody>[TR]
[TD]fig1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]fig2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]DEC[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]JAN[/TD]
[TD][/TD]
[TD]Desc[/TD]
[/TR]
[TR]
[TD]ADVERT[/TD]
[TD][/TD]
[TD]ADVERT/MARKETING/PROMOTIONS/CATALOG[/TD]
[TD][/TD]
[TD][/TD]
[TD]ADVERT[/TD]
[TD][/TD]
[TD]ADVERT/MARKETING/PROMOTIONS/CATALOG[/TD]
[/TR]
[TR]
[TD]AUDIT[/TD]
[TD][/TD]
[TD]AUDIT & ACCOUNTANCY[/TD]
[TD][/TD]
[TD][/TD]
[TD]BANKCHG[/TD]
[TD][/TD]
[TD]BANK CHARGES[/TD]
[/TR]
[TR]
[TD]BADDEBT[/TD]
[TD][/TD]
[TD]BAD DEBT/WRITE OFF ADJUSTMENTS[/TD]
[TD][/TD]
[TD][/TD]
[TD]BUILDMAINT[/TD]
[TD][/TD]
[TD]Building Maintenance Charges[/TD]
[/TR]
[TR]
[TD]BANKCHG[/TD]
[TD][/TD]
[TD]BANK CHARGES[/TD]
[TD][/TD]
[TD][/TD]
[TD]dog[/TD]
[TD][/TD]
[TD]dog[/TD]
[/TR]
[TR]
[TD]BREAKDOWN[/TD]
[TD][/TD]
[TD]VEHICLE BREAKDOWN COVER[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

thanks again.
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Hi SteveO59L,

I need to be able to highlight any differences in the Jan sheet, so "Buildmaint" and "Dog" would highlight as they are not in the Dec sheet.

Thanks
 
Upvote 0
Select Sheet2 and Click the Column Header "A" (the entire column A will be highlite)
With Column A still selected - Go to Conditional Formatting and create a "NEW RULE"
Select from Dialog box the option - "Use a formula to determine which cell to format"
In the formula Textbox enter:

=AND($A1<>"",NOT(COUNTIF(Sheet1!$A:$A,$A1)>0))

Double check the "Applies to: textbox to verify the it reads: =$A:$A
Click the Format... Button and Select a Fill Color --then OK, OK, out of Dialog box

Only these two (below) should be highlighted with your selected Color
[TABLE="width: 96"]
<tbody>[TR]
[TD]BUILDMAINT[/TD]
[/TR]
[TR]
[TD]dog[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,849
Members
452,361
Latest member
d3ad3y3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top