![]() |
#4
|
|||
|
|||
![]()
As Pecoflyer says, it may depend on how your data is formatted.
I tried an experiment - this may not be the fanciest way of achieving this, but it should work. I input some made-up data representing dates and patient info as you indicated. In both cases, the patient ID part is a number stored as text. I haven't tried it as an integer. I'm presuming that item is entered as text. I tried the date both ways - entered as a date and the format set to match your YYYY-MM-DD, and also the date typed in as text in the lower portion. You can see in the concatenate, it converts that date to the five digit DATEVALUE. As long as all the data going down each column is formatted the same (all as dates or all as text) a concatenate of the two columns will provide an exact match when the date and the patient ID are both duplicates in the same row. I applied conditional formatting for duplicates in that columns, and as such, at least in my version of Excel (365), I can apply a filter on that column by color, which would yield just the two duplicated rows. Does that make sense? I'm sure there's a more elegant way, but it should be simple for you to try on your data. Hope that helps, Ann |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Peterson | Excel | 2 | 04-05-2021 09:43 PM |
Merging all data between two sheets into a third one without duplicates or rows or columns | Ricko_uk | Excel | 4 | 08-27-2020 01:16 AM |
Split selected columns, or all columns exept for Column1 | Cendrinne | Word VBA | 2 | 09-20-2019 09:14 PM |
![]() |
cjamps | Excel Programming | 27 | 12-18-2017 06:38 AM |
Duplicates | riothecat | Excel | 1 | 02-28-2017 03:31 PM |