ExcelNovice
Well-known Member
- Joined
- May 12, 2002
- Messages
- 583
I'm working with a fairly large spreadsheet.
Col O has data from cell O23 to O2500, most of which are duplicates.
I need a way to identify the first duplicate items in Col O, and I need the identifier for the duplicate to be in Col AG.
Example:
Col O23 CD250
Col O24 NT150
Col O25 CD250
Col O26 TG200
Col O27 DW300
Col O28 NT150
I need cell AG23 to indicate that Col O23 is the first duplicate for CD250. Ideally, it would be great if someone could share a formula that when entered in AG23, its returns CD250, indicating that it's the first duplicate of CD250 on the list. The formula result should then show NT150 in AG24, it would leave AG25 blank because it's not a duplicate, shows TG200 for cell AG26, blank for AG27 and blank for AG28 because it's not the first occurrence of the duplicate entry.
Hope above is not totally confusing; any help will be appreciated.
Thanks
Col O has data from cell O23 to O2500, most of which are duplicates.
I need a way to identify the first duplicate items in Col O, and I need the identifier for the duplicate to be in Col AG.
Example:
Col O23 CD250
Col O24 NT150
Col O25 CD250
Col O26 TG200
Col O27 DW300
Col O28 NT150
I need cell AG23 to indicate that Col O23 is the first duplicate for CD250. Ideally, it would be great if someone could share a formula that when entered in AG23, its returns CD250, indicating that it's the first duplicate of CD250 on the list. The formula result should then show NT150 in AG24, it would leave AG25 blank because it's not a duplicate, shows TG200 for cell AG26, blank for AG27 and blank for AG28 because it's not the first occurrence of the duplicate entry.
Hope above is not totally confusing; any help will be appreciated.
Thanks