Automatic change of cell contents according to date

seanxx

New Member
Joined
Apr 11, 2018
Messages
17
Office Version
  1. 2019
Platform
  1. Windows
Hello,

I want to ask you for help
what formula to use if I would like to set the AUTOMATIC CHANGE of the cell contents according to the DATE.

Well thank you


autmatic change ako.xlsx
ABCDEFGHIJKLM
1
2how to set automatic change of cell content according to date?1.2
331.12.2023100600
431.12.2024200700
5TODAY31.12.2025300800
616.3.202431.12.2024 = L431.12.2026400900
7e.g.D6=*TODAY *date dynamically27.3.20275001000
8E6=final date
9F6=L4 should remain the same only until 31.12.2024
10then*how to set the content in the cell to AUTOMATICALLY change on 1/1/2025:31.12.2027
11E6=31.12.202531.12.2028
12F6=L5 should remain the same until the end of 12/31/202531.12.2029
13....31.12.2030
1431.12.2031
1531.12.2032
1631.12.2033
1731.12.2034
Hárok1
Cell Formulas
RangeFormula
D6D6=TODAY()
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Is this what you want? You can test by manually entering different dates in D6.

24 03 16.xlsm
DEFGHIJKLM
1
212
331/12/2023100600
431/12/2024200700
5TODAY31/12/2025300800
616/03/202431/12/202420031/12/2026400900
727/03/20275001000
seanxx
Cell Formulas
RangeFormula
D6D6=TODAY()
E6E6=DATE(YEAR(D6),12,31)
F6F6=VLOOKUP(E6,K3:L7,2)
 
Upvote 1
Solution
Navrhujem, aby ste aktualizovali podrobnosti o svojom účte (alebo kliknite na svoje používateľské meno v pravej hornej časti fóra), aby pomocníci vždy vedeli, aké verzie a platformy Excelu používate, pretože najlepšie riešenie sa často líši podľa verzie. (Nezabudnite sa posunúť nadol a 'Uložiť')

toto chceš? Môžete otestovať manuálnym zadaním rôznych dátumov v D6.

#VALUE!
Cell Formulas
RangeFormula
D6D6=DNES()
E6E6= DATE(YEAR(D6);12;31)
F6F6=VLOOKUP(E6, K3:L7,2)
perfektné
funguje to,
Ďakujem mnohokrát
Ešte sa spýtam, či je to možné, keď by som to chcel použiť v rôznych kombináciách.
(príklad=žlté bunky v prílohe)
 

Attachments

  • excel2024-03-16 12 35 52.png
    excel2024-03-16 12 35 52.png
    35.9 KB · Views: 2
Upvote 0
Please post in English only in this forum.

1710592322331.png
 
Upvote 0
Please post in English only in this forum.

View attachment 108462
I apologize

perfect
it works,
Thank you very much
I will ask again, is it possible when I would like to use it in different combinations.
(example=yellow cells in the attachment)
 

Attachments

  • excel2024-03-16 12 35 52.png
    excel2024-03-16 12 35 52.png
    35.9 KB · Views: 4
Upvote 0
I apologize

perfect
it works,
Thank you very much
I will ask again, is it possible when I would like to use it in different combinations.
(example=yellow cells in the attachment)
one more question

XL2BB can only be used once when writing in a post?
XL2BB No more when answering?
When answering, I will offer to attach only a image.
thank you
 
Upvote 0
XL2BB can only be used once when writing in a post?
XL2BB No more when answering?
When answering, I will offer to attach only a image.
No, XL2BB can be used multiple times in a post or thread so please use XL2BB, not an image that cannot be copied from.

If you have tried to use XL2BB again and run into problems, please explain exactly what you have done and what went wrong (eg error message etc).
There is a Test Here forum if you need to do some experimenting with XL2BB.

When you can post the sample data with XL2BB I will look at your last question.
 
Upvote 0
Can I still ask, if there is a solution, for help with the examples (blue cells) in the attachment?

thank you

date auto tex ENt.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAA
1
2
3TODAY
417.3.202428.2.2024
5
6AUTOMATIC SUPPLEMENT = when "J4=28.2.2024" (changes automatically), then there will be "Q6", when "J4=28.2.2025" (changes automatically), then there will be "Q7" when "J4=28.2 .2026" (changes automatically) = so there will be "Q8,...."100500text1
7AUTOMATIC SUPPLEMENT = when "J4=28.2.2024" (changes automatically), then there will be "Q6+R6", when "J4=28.2.2025" (changes automatically), then there will be "Q7+R7", when "J4=28.2.2026" (changes automatically) = so there will be "Q7+R7,..."200600text2
8AUTOMATIC SUPPLEMENT = when "J4=28.2.2024" (changes automatically), then there will be "T6", when "J4=28.2.2025" (changes automatically), then there will be "T7" when "J4=28.2 .2026" (changes automatically) = so there will be "T8,...."300700text3
9AUTOMATIC SUPPLEMENT when the end of the last CHANGE is set to 28.2.2027 and it does not continue = when "J4=28.2.2024" (changes automatically), then there will be "T6" when "J4=28.2.2025" (changes automatically) , then there will be "T7", when "J4=28.2.2026" (changes automatically) = there will be "T,..."400800
10AUTOMATIC SUPPLEMENT between the dates when START is set to 28.2.2024 and the end of the last CHANGE is 28.2.2027 and does not continue =when "J4=28.2.2024" (it changes automatically), so there will be "T6" when "J4=28.2 .2025" (changes automatically) , then there will be "T7", when "J4=28.2.2026" (changes automatically) = then there will be "T7,...."
11
12
Hárok1
Cell Formulas
RangeFormula
H4H4=TODAY()
J4J4=DATE(YEAR(H4)-IF(H4<=DATE(YEAR(H4),2,28),1,0),2,28)
 
Upvote 0
Thanks for the XL2BB sample but unfortunately it looks not much at all like the image in post #5 and I don't really know what you are trying to do.
If you re-post, please do not include your explanations in the sheet, but do so in the body of your post. The XL2BB Mini Sheet should just contain the sample data (and the expected results manually filled in if possible)

Also, when creating a Mini Sheet, hide any irrelevant columns first and/or just select the applicable range. For example for the post #8 Mini Sheet you only needed to select H3:T10
 
Upvote 0
Thanks for the XL2BB sample but unfortunately it looks not much at all like the image in post #5 and I don't really know what you are trying to do.
If you re-post, please do not include your explanations in the sheet, but do so in the body of your post. The XL2BB Mini Sheet should just contain the sample data (and the expected results manually filled in if possible)

Also, when creating a Mini Sheet, hide any irrelevant columns first and/or just select the applicable range. For example for the post #8 Mini Sheet you only needed to select H3:T10
I apologise,

I did not know that a request or an explanation is not written in the minisheet and cell.

I will edit the mini sheet so that it is correct and create a new thread.

thank you
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,958
Members
449,096
Latest member
Anshu121

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