I have "Asset ID" in Column A, and "Unit ID" in Column B.
See Image of sample data below.
I need to find the largest unit ID for a given Asset.
I found:
MaxSN = Application.WorksheetFunction.Max(Range("B:B"))
But this only works if there are numbers - the SN messes it up. I tried using OnlyDigits function to get just the numbers, but that didn't work.
I also need the MaxSN for the specific Asset = for example, E-027 should result in "3", E-017 should result in 10, and so on.
How do i get the Largest SN for a specified Asset?
See Image of sample data below.
I need to find the largest unit ID for a given Asset.
I found:
MaxSN = Application.WorksheetFunction.Max(Range("B:B"))
But this only works if there are numbers - the SN messes it up. I tried using OnlyDigits function to get just the numbers, but that didn't work.
I also need the MaxSN for the specific Asset = for example, E-027 should result in "3", E-017 should result in 10, and so on.
How do i get the Largest SN for a specified Asset?