creating outlier list in Excel 2003

jonpur

New Member
Joined
Aug 19, 2011
Messages
1
What is the best way to compare two worksheets A & B (containing account #'s)of a workbook and then create a list of those account #'s that are on A that do do not appear on worksheet B
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Welcome to MrExcel.

If your account numbers are in column A on both worksheets you can use a formula like:

=COUNTIF(Sheet2!A:A,A2)=0

in row 2 of a spare column of Sheet1 and copy it down. AutoFilter for that column equals TRUE to get your list.
 
Upvote 0
What is the best way to compare two worksheets A & B (containing account #'s)of a workbook and then create a list of those account #'s that are on A that do do not appear on worksheet B

Let Sheet1, A2:A100, house those A-accounts, Sheet2, A2:A400, those B accounts.

Sheet1

E1, control+shift+enter, not just enter:
Code:
=SUM(IF(1-(A2:A100=""),
   IF(1-ISNUMBER(MATCH(A2:A100,Sheet2!A2:A400,0)),1)))

E2, List

E3, control+shift+enter, not just enter, and copy down:
Code:
=IF(ROWS($E$3:E3)<=$E$1,INDEX($A$2:$A$100,
    SMALL(IF(ISNUMBER(MATCH($A$2:$A$100,Sheet2!$A$2:$A$400,0)),"",
     ROW($A$2:$A$100)-ROW($A$2)+1),ROWS($E$3:E3))),"")
 
Upvote 0

Forum statistics

Threads
1,224,598
Messages
6,179,820
Members
452,946
Latest member
JoseDavid

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