# how to choose randomly an equation (random picture selector)

1. ## how to choose randomly an equation (random picture selector)

Hello, I'm a little lost,
I'm a math teacher, and I'm trying to build a sheet where I can choose randomly a student and a equation to solve.
For the first part (choose randomly a student) it's very simple ....

I block for the second part.
I stored the equations in image format in a very simple Database. I know how to make a particular equation (using the camera) next to a random student name. But I still do not know how to make this image randomly from several equations that I have already stored.

Can anyone help me !! help!

in the document :
I set in "sheet1" the equation, in "groupe" the student names per groups, and in "sheet3" the name of students choose randomly and their equations they have to solve....  Register To Reply

2. ## Re: how to choose randomly an equation (random picture selector)

You can do this, but instead of data validation, use the formula and return an random index number assigned to a picture(has to be unique)
https://www.xelplus.com/excel-lookup-on-pictures/  Register To Reply

3. ## Re: how to choose randomly an equation (random picture selector)

Thank you vry much Paul,
unafortunatelly, it doesn't work yet. I try to do my best, but i failed. I am not an expert with excel. I use this formula :
=INDEX(Sheet1!A\$2:A\$11;ALEA.ENTRE.BORNES(1;NBVAL(Sheet1!A\$2:A\$11));1)
but it doesn't work.
If someone can explain me slowly the steps to do it, I will be very Grateful

To resume
In the document I stored the equations in image format in a very simple Database. I know how to make a particular equation (using the camera) next to a random student name. But I still do not know how to make this image randomly from several equations that I have already stored.  Register To Reply

4. ## Re: how to choose randomly an equation (random picture selector)

I unsuccessfully attempted twice to follow the directions in the tutorial as applied to the file.
I feel as if there are easier ways to accomplish what you want.
1. On sheet 1 type the equations in cells B2:B11
2. Populate C2:C11 using =RAND()
3. Populate D2:D11 using: =RANK.EQ(C2,C\$2:C\$11)
On sheet 3 populate the cell that display the equation using: =INDEX(Sheet1!\$B\$2:\$B\$11,MATCH(RIGHT(B4,1)+0,Sheet1!\$D\$2:\$D\$11,0))
Note that this method eliminates groups being assigned the same equation (press the F9 key to test) and makes it simple to change equations each day.
Let us know if you have any questions.  Register To Reply