Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Comparing columns from 2 different worksheets.
I have 2 worksheets. I need to compare the cells in column1/worksheet1 to
the cells in column1/worksheet2. If a cell in column1/worksheet1 is nowhere in column1/worksheet2, then I want to display the missing cells in column1/worksheet3 along with the corresponding column2 cells from worksheet1. Note: worksheet 2 has many more rows than worksheet1. Thanks |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Comparing columns from 2 different worksheets.
One way of doing it is using this function on sheet 3, column A:
=IF(ISNA(MATCH(Sheet1!A1,Sheet2!$A$1:$A$1000,0)),S heet1!A1,"") And on column B: =IF(A1="","",VLOOKUP(A1,Sheet1!$A$1:$B$500,2,FALSE )) It will create a lot of blank rows, you can then sort the column and delete the blanks. Hope this helps, Miguel. "Alant" wrote: I have 2 worksheets. I need to compare the cells in column1/worksheet1 to the cells in column1/worksheet2. If a cell in column1/worksheet1 is nowhere in column1/worksheet2, then I want to display the missing cells in column1/worksheet3 along with the corresponding column2 cells from worksheet1. Note: worksheet 2 has many more rows than worksheet1. Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I copy columns between worksheets if the columns don't matc | Excel Worksheet Functions | |||
Comparing two different Worksheets | Excel Worksheet Functions | |||
Comparing 2 columns of data | New Users to Excel | |||
Comparing text in columns | Excel Discussion (Misc queries) | |||
comparing columns | Charts and Charting in Excel |