Hello, all,
I face what I think is a simple problem, yet everything I’ve tried, including a fair amount of research online, has failed.
I have a spreadsheet in which a random number generates a tip for restaurant servers of $5 or $10. I’d like to collect those tip amounts in a series of cells that would grow downwards. The main purpose would be to calculate the average, to make sure it settles down to the amount expected.
I’ve set the random number so it calculates a tip of five dollars 45% of the time and ten dollars 55% of the time, which means the average will approach $7.75, but I want to see whether it really does. FWIW, I already know some macro code for finding the first empty cell in Column D starting below the visible part of the spreadsheet, and it does work. I’ve got the spreadsheet set up so I or the server can initiate another run, and I want to start many runs myself to see the results collected in Column D.
How can I collect the results of each run, always located in Cell D4, in a new row in Column D? That column would be a collection of $5 and $10 amounts.
Thanks.
--Johnny
I face what I think is a simple problem, yet everything I’ve tried, including a fair amount of research online, has failed.
I have a spreadsheet in which a random number generates a tip for restaurant servers of $5 or $10. I’d like to collect those tip amounts in a series of cells that would grow downwards. The main purpose would be to calculate the average, to make sure it settles down to the amount expected.
I’ve set the random number so it calculates a tip of five dollars 45% of the time and ten dollars 55% of the time, which means the average will approach $7.75, but I want to see whether it really does. FWIW, I already know some macro code for finding the first empty cell in Column D starting below the visible part of the spreadsheet, and it does work. I’ve got the spreadsheet set up so I or the server can initiate another run, and I want to start many runs myself to see the results collected in Column D.
How can I collect the results of each run, always located in Cell D4, in a new row in Column D? That column would be a collection of $5 and $10 amounts.
Thanks.
--Johnny