I have the data below, where I can have multiple Asset IDs:
In the sample above, I have 1 of E-017, 2 of E-027, 6 of E-258 and E169 in the list (not all are shown). I need a macro that'll identify the highest Unit ID number (and index by 1) if I enter a repeating (or new) Asset ID in column A. For example, if I enter E-258 in A8, it should enter "SN007" in B8. If I enter E-027 in A8, it should give me SN003 in B8. If I enter a new#, say E-99, in A8, it should give me SN001.
What's the most efficient and fastest way to search through 35k+ lines of data, and get the highest# for the next entry?
In the sample above, I have 1 of E-017, 2 of E-027, 6 of E-258 and E169 in the list (not all are shown). I need a macro that'll identify the highest Unit ID number (and index by 1) if I enter a repeating (or new) Asset ID in column A. For example, if I enter E-258 in A8, it should enter "SN007" in B8. If I enter E-027 in A8, it should give me SN003 in B8. If I enter a new#, say E-99, in A8, it should give me SN001.
What's the most efficient and fastest way to search through 35k+ lines of data, and get the highest# for the next entry?