Cell to equal a future date when date arrives and remains after the date passes

dallen8028

New Member
Joined
Jan 28, 2013
Messages
48
Attempting to have Cell equal a future date when that day arrives and remains that date after the date passes. i.e. first of each month. This date cell will trigger other formulas within the spreadsheet when that date cell is populated with the 1st of the month. I will have 12 cells (1st of each month) that need to populate with the that date. Does this make sense? Thank you in Advance.
 

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.
If you hard-code the value of a future date, that hard-coded value will never change (and there should be no issue).
However, I am guessing that you left off an important detail, and that this value is probably derived from a formula. Is that correct?

If so, a cell can either contain a hard-coded value or a formula, but never both at the same time.
So to do what you want either requires:
- the use of a helper cell (i.e. that holds the hard-coded value of the future data you do not want to exceed)
or
- the use of VBA
Are either of those an option?

Supposing it is a formula, it would be helpful to see exactly what the formula is, and what cell it resides in.
 
Upvote 0
This would be a screenshot of the area of question. The formula would change to the 1st of each month in the next cell to the right. What am I doing wrong? Formulas are better than VBA for me. Thanks Again.
 

Attachments

  • Screenshot 2024-01-09 154821.jpg
    Screenshot 2024-01-09 154821.jpg
    30.9 KB · Views: 6
Upvote 0
If I am understanding your correctly, place this formula in cell E2 and copy across to cell P12:
Excel Formula:
=IF(MONTH($B$2)>=(COLUMN()-4),DATE(YEAR($B$2),COLUMN()-4,1),"")

1704838045212.png
 
Upvote 0
Thank you Joe4, I copied and pasted as directed. It populated the first cell as needed. I am sure this will populate the following cells appropriately. Thank again
 
Upvote 0
Thank you Joe4, I copied and pasted as directed. It populated the first cell as needed. I am sure this will populate the following cells appropriately. Thank again
You are welcome.
You can test the other cells by changing the date in cell B2.
If the intention in cell B2 is to always show the current date, you can put this formula in cell B2:
Excel Formula:
=TODAY()
but you can change the date in cell B2 for testing purposes.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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