#### clundberg

##### New Member
I have a spreadsheet for 2010 paid customers and 2011 paid customers. I want to compare the two, to find out who paid last year by this time but has not paid this year. What formula would I use to do this?

### Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

##### MrExcel MVP
I have a spreadsheet for 2010 paid customers and 2011 paid customers. I want to compare the two, to find out who paid last year by this time but has not paid this year. What formula would I use to do this?

A2:A9 houses payers in 2010 and B2:B11 payers in 2011.

E2, control+shift+enter, not just enter:
Rich (BB code):
``=SUM(IF(ISNA(MATCH(\$A\$2:\$A\$9,\$B\$2:\$B\$11,0)),1))``

E4, control+shift+enter, not just enter, and copy down:
Rich (BB code):
``````=IF(ROWS(\$E\$4:E4)<=\$E\$2,INDEX(\$A\$2:\$A\$9,
SMALL(IF(ISNA(MATCH(\$A\$2:\$A\$9,\$B\$2:\$B\$11,0)),
ROW(\$A\$2:\$A\$9)-ROW(\$A\$2)+1),ROWS(\$E\$4:E4))),"")``````

Replies
10
Views
412
Replies
6
Views
353
Replies
1
Views
45
Replies
3
Views
350
Replies
3
Views
118

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,163,871
Messages
5,834,152
Members
430,261
Latest member
quangtinator

### 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.

### Which adblocker are you using?

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

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