Sometimes a need arises for creating, multiple random unique ids. When I created our Google Forms-based dismissal workflow, I needed to generate unique PIN numbers for every student. Here was my strategy for accomplishing this.
You can make a copy of the Google Sheet in the video here. The code is already attached to the sheet.