ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How do you compare 2 list of numbers and highlight the difference (https://www.excelbanter.com/excel-programming/356508-re-how-do-you-compare-2-list-numbers-highlight-difference.html)

Tom Ogilvy

How do you compare 2 list of numbers and highlight the difference
 
Assuming these are some type of identifiers you can go to an adjacent column
and do in B1

=countif([Book2.xls]Sheet1!A:A,A1)
then drag fill down the column

in book2 in B1 you could do

=countif([Book1.xls]Sheet1!A:A,A1)
and drag fill down the column.

zeros would indicate the item is unique to that workbook.

--
Regards,
Tom Ogilvy


"Jay Jones" wrote:

I have to compare 2 lists of numbers every month and find the difference
between them



All times are GMT +1. The time now is 04:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com