I am looking to create a 5-digit random alphanumeric code that is unique because they will be associated as certain discount/promo codes. We need them to follow the format of: letter, number, letter, number, letter. Example: f9d8s, a8b2w, y6x3q, g0o5n,w2p3p, n1g8v.
I know I can create random codes using RANDBETWEEN if needed, but I know this will eventually create duplicate codes and we need to make sure all of the codes are unique. There are 1.7million combinations, so we should be able to use this generator for a long time if I can figure out how the formula/macro.
Thanks!
I know I can create random codes using RANDBETWEEN if needed, but I know this will eventually create duplicate codes and we need to make sure all of the codes are unique. There are 1.7million combinations, so we should be able to use this generator for a long time if I can figure out how the formula/macro.
Thanks!