Look at a cell once

fredthedog

New Member
Joined
Oct 12, 2020
Messages
4
Office Version
  1. 365
Platform
  1. MacOS
Hi I could really do with someones help.

Cells
A1 - this cell has a countdown to a certain date (63 weeks until tax is due) and will change every week automatically.
A2 - data input cell
A3 - I would like this cell to =IF(A2="","",A1) however I don't want it to change weekly like A1 does, so I want it to look at A1 and copy 63 weeks and next week when A1 can ages to 62 weeks I want a3 to still say 63 weeks.

Is this possible?
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Hi I could really do with someones help.

Cells
A1 - this cell has a countdown to a certain date (63 weeks until tax is due) and will change every week automatically.
A2 - data input cell
A3 - I would like this cell to =IF(A2="","",A1) however I don't want it to change weekly like A1 does, so I want it to look at A1 and copy 63 weeks and next week when A1 changes to 62 weeks I want a3 to still say 63 weeks.

Is this possible?
 
Upvote 0
You can do this easily with a bit of vba in the worksheet change event for that worksheet:
VBA Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$A$2" Then
 If Target.Value <> "" Then
Application.EnableEvents = False
Cells(3, 1) = Cells(1, 1)
 End If
Application.EnableEvents = True
End If
End Sub
 
Upvote 0
Hi & welcome to MrExcel.
How about
Excel Formula:
 =IF(A2="","",63)
 
Upvote 0
Hi & welcome to MrExcel.
How about
Excel Formula:
 =IF(A2="","",63)

There is a few data fields that will be filled out through out the year so I need it to look at A1 on that day and keep it if that makes sense?

Basically what you said would work this week but wouldn't work next week as the A1 cell would say 62.
 
Upvote 0

Forum statistics

Threads
1,214,929
Messages
6,122,315
Members
449,081
Latest member
tanurai

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