ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Pulling out invoices that do not match (https://www.excelbanter.com/excel-worksheet-functions/258157-pulling-out-invoices-do-not-match.html)

Donna[_2_]

Pulling out invoices that do not match
 
Hi,
I have 2 columns , Col A has invoice numbers and Col B has invoice numbers.
All of the invoices will be included in Col A but all will not be included
in Col B. I want to be able to pull out the invoices in Col A that did not
have a corresponding Invoice number in Col B.
Col A Col B
123456 123456
155456 113984
113984
Any help will be appreciated.

JLatham

Pulling out invoices that do not match
 
In column C on first row with pair of numbers (assumes row 2 for this) put:
=COUNTIF(B:B,A2)
fill the formula down to the end of the list in column A.
it will show zero when the number in column A is not in column B.
You can then use Data, Auto-Filter column C and select to show 0 values,
then select all shown and delete them to remove those from the list in column
A.

Best to practice on a copy of your workbook.


"Donna" wrote:

Hi,
I have 2 columns , Col A has invoice numbers and Col B has invoice numbers.
All of the invoices will be included in Col A but all will not be included
in Col B. I want to be able to pull out the invoices in Col A that did not
have a corresponding Invoice number in Col B.
Col A Col B
123456 123456
155456 113984
113984
Any help will be appreciated.



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

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