snasui.com ยินดีต้อนรับ ยินดีต้อนรับสู่กระดานถามตอบ Excel and VBA และอื่น ๆ ที่เป็นมิตรกับทุกท่าน มีไฟล์แนบมหาศาล ช่วยให้ท่านค้นหาและติดตามศึกษาได้โดยง่าย สมาชิกท่านใดที่ยังไม่ได้ระบุ Version ของ Excel ที่ใช้งานจริง สามารถทำตาม Link นี้เพื่อจะได้รับคำตอบที่ตรงกับ Version ของท่านครับ ระบุ Version ของ Excel
Please see attached file for using formula to solve your problem but it has a little difference from your sample and needs some columns for solving. Also uses conditional formatting to highlight the duplicates (Sorry for my bad English, I have not Thai keyboard layout now)
You do not have the required permissions to view the files attached to this post.
Limitation:
1. The Format of your source data must be the same, for example:-
- each code start with "A1MXC30JTB-BK-5-B-3-20150402-" following by running number "xxxxx", the last is "-B"
2. Adjust the formula in column J according to your data
=IF(I2="","",COUNTIF($H$2:$H$106,I2))
and copy the formula down