Keep a record of changing cell values in a column in Excel

Gan_77

New Member
Joined
Dec 5, 2020
Messages
2
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
I have a column that uses VLOOKUP to bring in values from another sheet. I would like to save the precious value of any cell in this column to the corresponding cell in the next column whenever the cell value has changed.
Example:
Current values: Cell A1=1, A2=2
If VLOOKUP brings a different value now and A1 becomes 2, the old value of A1 which is 1, should get updated in cell B1. Same goes for any cell in column A.
Since this change can happen 4 to 5 times, I would like this to repeat copying the old values from column B to E whenever there is a change so that there is a record of all previous values.
I looked for some solutions and found some involving VBA but they just worked for a single cell, not a row or did not have a way to repeat the tracking a few times.
Appreciate any help in this. Thanks!
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
I do believe you'll need VBA for this. The question would be, what is making the values in column A change? Is it something you're doing, or is it another macro? I don't believe there is a way to just monitor/listen to a cell and trigger a macro when it changes, but someone can correct me if that's false and there is. Usually if you want to log a cell value as it changes, you would have the logging functionality built into the macro that is causing the changes, so as it's doing it's thing and changing the value, before it moves on it records what the new value was.
 
Upvote 0
@sheymyster: It's a VLOOKUP that populates column A from another sheet. This sheet will get updated daily through a manual process. So when this source sheet changes, the value brought in by VLOOKUP also changes. But when such changes occur, I would like the history to be captured in the adjacent rows. Based on my research so far, there are definitely macros that work for this purpose but just that they monitor just 1 cell change not a full column change & its not repetitive to capture multiple changes to this column.
 
Upvote 0

Forum statistics

Threads
1,224,819
Messages
6,181,153
Members
453,021
Latest member
Justyna P

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