auto fill cells down a column

eaje92

New Member
Joined
Feb 19, 2018
Messages
16
Hi

I'm not sure if this is possible with excel but I am currently trying to simulate a reinforced learning algorithm using formulas. Basically what i am trying to do is automate a sheet whereby every time i press f9, an iterative calculation will be done in worksheet 1 and from there the results are placed in a column in worksheet 2.

For example,

Worksheet 1

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Action 1[/TD]
[TD]Action 2[/TD]
[TD]Action 3[/TD]
[/TR]
[TR]
[TD]Job 1 [/TD]
[TD]Job 2[/TD]
[TD]Job 3[/TD]
[/TR]
</tbody>[/TABLE]

So if i choose (for example) Action 2, The job to be processed would be Job 2. The jobs under the actions would be changing dynamically.

Worksheet 2

[TABLE="class: grid, width: 250"]
<tbody>[TR]
[TD]Jobs Chosen:[/TD]
[/TR]
[TR]
[TD]2[/TD]
[/TR]
[TR]
[TD]e.g 5[/TD]
[/TR]
[TR]
[TD]e.g 4[/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

After pressing f9, the blank cell below will be automatically filled with the next "job chosen". I'm not sure if this is possible, but im looking for ways to make it work.

Thank you and much appreciated!
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.

Forum statistics

Threads
1,223,885
Messages
6,175,179
Members
452,615
Latest member
bogeys2birdies

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top