Copying a cell's value every X seconds into adjacent cell and keeping track of some of them

bbot23

New Member
Joined
Oct 29, 2010
Messages
37
Hi guys,

I'm trying to have a kind of recorder that copies A1 into B1 every 15 seconds. The next time it copies A1 into B1 again, I want the previous B1 to go to C1. This cascade goes on until E1, where the next time the "copying" happens, E1 gets erased.

Basically after 60 seconds, A1:E1 are populated. After 75 seconds, A1 value goes to B1 (the copying), B1 value goes to C1, C1 value goes to D1, D1 value goes to E1, and E1 value is erased. There is from then on always 5 values in those 5 cells.

Here is an example of how the cells in row 1 would look like over time:

During 15 seconds:
1 2 3 4 5
2 2 3 4 5
8 2 3 4 5
7 2 3 4 5
5 2 3 4 5

After 15 seconds:

1 5 2 3 4
3 5 2 3 4
8 5 2 3 4
0 5 2 4 5

Etc.

Also, I will probably do this for the second row, third row, fourth row, etc. I don't know if it's important to know but A1, or the values in the first column, constantly change throughout the day.

Thanks in advance guys, you have always been very helpful.
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Wow!!! 11 hours later and already page 14! Does MrExcel always get this busy at this time of year? It definitely was not like this 6 months ago!
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,285
Members
452,902
Latest member
Knuddeluff

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