Hi All,
I need a macro which finds and lists the duplicate values in a given column.
I am attaching the excel sheet for your reference.
Hi All,
I need a macro which finds and lists the duplicate values in a given column.
I am attaching the excel sheet for your reference.
Try
Please Login or Register to view this content.
Boon
hi , you can actually do Conditional Formatting to highlight those duplicates by selecting A1:A10 & going to Home -> Conditional Formatting -> New Rule -> Use a formula to determine which cells to format -> Format values where this formula is true:
=COUNTIF($A$2:$A$10,A2)>1.
but if you need to list them, try:
Please Login or Register to view this content.
Thanks, if you have clicked on the * and added our rep.
If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".
"Contentment is not the fulfillment of what you want, but the realization of what you already have."
Tips & Tutorials I Compiled | How to Get Quick & Good Answers
Thanks a lot for the solution, however instead of coloring the duplicate values, is it possible to show the "Duplicate Values" in a Msgbox.
how about:
Please Login or Register to view this content.
Do you really need a macro for this?
This workbook will update as the Data in Column A Grows.
The helper column can be hidden.
The C/F highlights the duplicates
[EDIT]
Extracted more information using formule, and changed workbook.
Last edited by Marcol; 11-13-2012 at 09:55 AM.
If you need any more information, please feel free to ask.
However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....
Also
اس کی مدد کرتا ہے اگر
شکریہ کہنے کے لئے سٹار کلک کریں
If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.
If you want a macro, try this
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks