Auto generate random code

Hi Honeycode Community,

Is there a honeycode function or formula that can generate a random code?

For example for every new row I have there will be a random code.

Hi @John-ce1c :honeybee:

You can achieve this with RAND(), which generates a random number between 0 and 1.

If you wrap that with ROUND(), you can get a round number and multiply the random number to specify the number of digits you'd like for a code.

For example, =ROUND(RAND()*100000, 0) will give a random code five digits long: 21208

Hope that helps, and let us know if we can help any further! :slight_smile:

1 Like

Thanks @Alyssa !!!!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.