Hi,
I'm having a problem with my VLOOKUP. For my lookup value, I'm using a cell containing a RANDBETWEEN so that whenever I refresh with F9, I would get a new number in the RANDBETWEEN cell, which will then make VLOOKUP show the cell corresponding to the newly generated number.
This isn't exactly what I did, but this is an example of the basic gist of what I was trying to do.
- On Worksheet A, I had Column A list numbers 1 through 12, while Column B had January through December.
- On Worksheet B, I had Cell A1 contain RANDBETWEEN(1,12) and Cell B1 contain VLOOKUP(A1,'Worksheet A'!$A$1:$B$12,2)
- So, when I pressed F9, I would be able to get RANDBETWEEN to generate a random number between 1 and 12, and the VLOOKUP would generate the corresponding name of the month.
However, when I tried this, the random numbers continued to be generated, but the VLOOKUP did not keep up with the new numbers being generated. What did I do wrong? I tried using my file on Onedrive's version of Excel as well as OpenOffice Calc, and none of them are working.
As noted in my username, I am still in the beginning stages of learning Excel. So, if I'm doing something stupid, please be easy on me...
Thank you for your time.