Retrieve all rows of duplicate IDs with a different create date.

asd372

New Member
Joined
Jul 12, 2017
Messages
2
Hi Everyone,

Will really appreciate if someone can help me out. Not sure if this requires VB or Macro so I don't know if I have also posted on the correct thread.

My problem is that the same IDs should all have the same create date but for some reason there are occurrences that a similar ID contains different create date.

Below is an example of my data.
[TABLE="class: cms_table, width: 283"]
<tbody>[TR]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

[TABLE="class: cms_table_grid, width: 500"]
<tbody>[TR]
[TD][TABLE="class: cms_table, width: 80"]
<tbody>[TR]
[TD="class: cms_table_xl65, width: 80"]Create Date[/TD]
[/TR]
</tbody>[/TABLE]

[/TD]
[TD][TABLE="class: cms_table, width: 75"]
<tbody>[TR]
[TD="class: cms_table_xl65, width: 75"]ID[/TD]
[/TR]
</tbody>[/TABLE]

[/TD]
[TD][TABLE="class: cms_table, width: 64"]
<tbody>[TR]
[TD="class: cms_table_xl65, width: 64"]Column C[/TD]
[/TR]
</tbody>[/TABLE]

[/TD]
[TD][TABLE="class: cms_table, width: 64"]
<tbody>[TR]
[TD="class: cms_table_xl65, width: 64"]Column D[/TD]
[/TR]
</tbody>[/TABLE]

[/TD]
[/TR]
[TR]
[TD][TABLE="class: cms_table, width: 80"]
<tbody>[TR]
[TD="class: cms_table_xl65, width: 80, align: right"]7/12/2017[/TD]
[/TR]
</tbody>[/TABLE]

[/TD]
[TD]12345[/TD]
[TD]Data 1[/TD]
[TD]Data 1[/TD]
[/TR]
[TR]
[TD][TABLE="class: cms_table, width: 80"]
<tbody>[TR]
[TD="class: cms_table_xl65, width: 80, align: right"]7/12/2017[/TD]
[/TR]
</tbody>[/TABLE]

[/TD]
[TD]11111[/TD]
[TD]Data 2[/TD]
[TD]Data 2[/TD]
[/TR]
[TR]
[TD][TABLE="class: cms_table, width: 80"]
<tbody>[TR]
[TD="class: cms_table_xl65, width: 80, align: right"]6/12/2016[/TD]
[/TR]
</tbody>[/TABLE]

[/TD]
[TD]12345[/TD]
[TD]Data 3[/TD]
[TD]Data 3[/TD]
[/TR]
[TR]
[TD][TABLE="class: cms_table, width: 80"]
<tbody>[TR]
[TD="class: cms_table_xl65, width: 80, align: right"]7/12/2017[/TD]
[/TR]
</tbody>[/TABLE]

[/TD]
[TD]22222[/TD]
[TD]Data 4[/TD]
[TD]Data 4[/TD]
[/TR]
[TR]
[TD][TABLE="class: cms_table, width: 80"]
<tbody>[TR]
[TD="class: cms_table_xl65, width: 80, align: right"]5/17/2016[/TD]
[/TR]
</tbody>[/TABLE]

[/TD]
[TD]11111[/TD]
[TD]Data 5[/TD]
[TD]Data 5[/TD]
[/TR]
[TR]
[TD][TABLE="class: cms_table, width: 80"]
<tbody>[TR]
[TD="class: cms_table_xl65, width: 80, align: right"]7/12/2017[/TD]
[/TR]
</tbody>[/TABLE]

[/TD]
[TD]22222[/TD]
[TD]Data 6[/TD]
[TD]Data 6[/TD]
[/TR]
[TR]
[TD][TABLE="class: cms_table, width: 80"]
<tbody>[TR]
[TD="class: cms_table_xl65, width: 80, align: right"]7/11/2017[/TD]
[/TR]
</tbody>[/TABLE]

[/TD]
[TD]11111[/TD]
[TD]Data 7[/TD]
[TD]Data 7[/TD]
[/TR]
</tbody>[/TABLE]

[TABLE="class: cms_table, width: 283"]
<tbody>[TR]
[/TR]
</tbody>[/TABLE]


ID 12345 have 2 different Create date which are 7/12/2017 and 6/12/2016.
ID 11111 have 3 different Create date which are 7/12/2017, 5/17/2017 and 7/11/2017.

On my original data there are actually 7000+ columns.. so it is really difficult to just conditionally formatting the duplicate IDs then check manually if the dates of those duplicate IDs matches (I highlight those with same ID but different create date).

Is there a way that I could retrieve or highlight the rows of those similar IDs with different create date faster than my method above?

Thank you very much in advance!

Best Regards,
Mike
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

Forum statistics

Threads
1,223,911
Messages
6,175,325
Members
452,635
Latest member
laura12345

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top