# 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

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

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

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,168,182
Messages
5,857,812
Members
431,899
Latest member
jstanley

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

### Which adblocker are you using?

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

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