have attached a sheet all i want is to have the column b in the sheet
with values that are not common in column a and column c
in other words if "audit_payment" appears in both colA and colC it should not come in Colb
pls help
have attached a sheet all i want is to have the column b in the sheet
with values that are not common in column a and column c
in other words if "audit_payment" appears in both colA and colC it should not come in Colb
pls help
You could use this formula to put in cells B1:Bn:
Regards,=IF(ISNA(MATCH(A1,C:C,0)),A1,"")
Antonio
Hello maximpinto,
The attached workbook has a button on Sheet1 to run the macro. The macro will compare the columns "A" and "C". Only values unique to each are list in column "B". The starting row is row 3. If you have a large data set, this is the fastest method. You won't lose time copying formulas and the execution is very fast.
![]()
Please Login or Register to view this content.
Sincerely,
Leith Ross
Remember To Do the Following....
1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.2. Thank those who have helped you by clicking the Starbelow the post.
3. Please mark your post [SOLVED] if it has been answered satisfactorily.
Old Scottish Proverb...
Luathaid gu deanamh maille! (Rushing causes delays!)
Thanks Leith for the code, it worked fine
One more questions if i want to select the common ones in comparing both ColA and ColB and put them in Col D. Is it a small change in the code or a big one. If it takes time its ok no isssue
but let me know so that i can close this post as solved
thanks
max
Hello Max,
I modified the macro to list both uniques and duplicates. Here is the new macro code. This has been added to the attached workbook.
![]()
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks