ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   macro to compare data in column A of sheet 1 with data in column A of sheet 2 (https://www.excelbanter.com/excel-programming/400612-macro-compare-data-column-sheet-1-data-column-sheet-2-a.html)

nanda

macro to compare data in column A of sheet 1 with data in column A of sheet 2
 
Hi Excel Experts,

Please provide me a macro which will compare data of column A in
sheet 1 with data of Column A in sheet 2 and display "FOUND" [ in
column B ] next to identical data.

thanks in advance,
nanda


Tom Ogilvy

macro to compare data in column A of sheet 1 with data in column A
 
=if(countif(Sheet2!A:A,A1)0,"Found","")

in B1 of sheet1, then drag fill down the column. Repeat similar in sheet2.

No need for a macro.

--
Regards,
Tom Ogilvy


"nanda" wrote:

Hi Excel Experts,

Please provide me a macro which will compare data of column A in
sheet 1 with data of Column A in sheet 2 and display "FOUND" [ in
column B ] next to identical data.

thanks in advance,
nanda



nanda

macro to compare data in column A of sheet 1 with data in column A
 
On Nov 5, 10:43 pm, Tom Ogilvy
wrote:
=if(countif(Sheet2!A:A,A1)0,"Found","")

in B1 of sheet1, then drag fill down the column. Repeat similar in sheet2.

No need for a macro.

--
Regards,
Tom Ogilvy



"nanda" wrote:
Hi Excel Experts,


Please provide me a macro which will compare data of column A in
sheet 1 with data of Column A in sheet 2 and display "FOUND" [ in
column B ] next to identical data.


thanks in advance,
nanda- Hide quoted text -


- Show quoted text -


Thanks so much, it solved my issue, I appreciate your time.

Nanda



All times are GMT +1. The time now is 11:48 AM.

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