Hi
I am trying to find duplicates in a table of data but there is an additional condition to find the duplicates. I will try to explain what i am trying to do.
The table has two columns. one is Company invoice no and second is client invoice no. Company invoice no is our company reference no while client invoice no is the client's reference no.
All invoices are recorded twice in the database. First entry is when they go out to client and second entry is when they come back approved from client. For both entries company invoice no remains the same while the client invoice will be different in the sense that the word "Approved" (word is always same) is added to the client invoice no.
I am trying to find duplicate company invoice no but when i do this through a query in access it would come up with all records as twice because one entry is for invoice going out and second is for invoice coming in.
I only need to find duplicate invoice company no where client invoice no is the same.
I am attaching an example excel sheet. Ideally the query should find duplicate no as "123" as it appears both against ABC1 and ABC3.
Please help me. i tried using Instr function to filter records with Approved at the end but could not get it to work.
I am trying to find duplicates in a table of data but there is an additional condition to find the duplicates. I will try to explain what i am trying to do.
The table has two columns. one is Company invoice no and second is client invoice no. Company invoice no is our company reference no while client invoice no is the client's reference no.
All invoices are recorded twice in the database. First entry is when they go out to client and second entry is when they come back approved from client. For both entries company invoice no remains the same while the client invoice will be different in the sense that the word "Approved" (word is always same) is added to the client invoice no.
I am trying to find duplicate company invoice no but when i do this through a query in access it would come up with all records as twice because one entry is for invoice going out and second is for invoice coming in.
I only need to find duplicate invoice company no where client invoice no is the same.
I am attaching an example excel sheet. Ideally the query should find duplicate no as "123" as it appears both against ABC1 and ABC3.
Please help me. i tried using Instr function to filter records with Approved at the end but could not get it to work.