Display random number from a table

MelodyCatsMelodyCats Member, PRO Posts: 128

So I have a Table of 12 rows with numbers (called TB Numbers) and I want to randomly display one of the numbers.
so far so good but here's the things - I only want it to randomly display the numbers that are greater than 0.
Is there a way to make it ignore any zeros in my column.
I thought it would be relatively straight forward but I'm seriously struggling with it.
I'm attaching an example. (right now if you refresh it will pick a random number but will display zeros too)
Many thanks for any suggestions!

Comments

Sign In or Register to comment.