# Store Date in Cell When Another Cell Changed

#### FJXMTT

##### New Member
Boy am I glad I found this forum. I'm hoping some of you can help a novice out...
I have a file that tracks supplies and therefore has a sheet for each of our office locations (a total of 30 or so tabs/sheets). Every Monday the Admin for each office needs to review their sheet and adjust the number of supplies distributed or received for the prior week. This then auto calculates the current inventory.

We are having problems making sure it's getting completed. To fix the problem, I wanted to add a date stamp on each tab/sheet (BTW, is it a tab or sheet?) so when a value is changed in one of the four tables on that sheet, the date/time auto updates.

On each sheet I have the following:
The 4 tables are in the following range: A2:K28
My auto date/time is located in B33 and contains the following formula (which I found on this forum)
=IF(AND(A2:K28<>"",A2:K28<>0),A2:K28,IF(B33<>"",NOW(),""))

The formula works well if and when Iterative Calculation function is turned on.

So here is my problem... If I go to another sheet and make a change say in F128, the date/time formula in B33 on the other sheets update to reflect the change. Not what I want.

I have even attempted to use the sheet_name! before the range (see below) but that did not work and gave me an error (can't remember which one at the moment).
=IF(AND(sheet_name!A2:K28<>"",sheet_name!A2:K28<>0),sheet_name!A2:K28,IF(sheet_name!B33<>"",NOW(),""))

Any thoughts on how I can get the date to auto update just when the cells on that sheet change? I'm not a VBA guru so I would prefer to stay away from it if at all possible and just use logic and formulas.

Thanks
F

### Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

#### MARK858

##### MrExcel MVP
Any thoughts on how I can get the date to auto update just when the cells on that sheet change? I'm not a VBA guru so I would prefer to stay away from it if at all possible and just use logic and formulas.
AFAIK the only way is with VBA.

Btw, it is Sheet for the whole Sheet but what you click on to change sheets is a Sheet tab.

Last edited:

#### FJXMTT

##### New Member
So let's assume that I want to use VBA. what would one write to have this work?

Replies
0
Views
80
Replies
9
Views
442
Replies
27
Views
301
Replies
5
Views
98
Replies
7
Views
68

Threads
1,129,814
Messages
5,638,492
Members
417,028
Latest member
JFCLUK

### 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

### 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