formula get specific date based on date of computer

abdelfattah

Well-known Member
Joined
May 3, 2019
Messages
1,430
Office Version
  1. 2019
  2. 2010
Platform
  1. Windows
hello
i need formula to specific date after calculate 12 months so i have date in column a and the result in column b so it a2 = 1/7/2019 and when add 12 months when date reaches before finish day it shows in b2 =1/7/2020 it supposes showing this date when date of computer becomes 30/06/2020 i would this formula is dynamic because i have many dates
input

1 .xlsm
ABCD
1CURRENT DAYA NEW DATE
201/07/2019
315/05/2018
410/01/2011
5
6
sheet3

output
1 .xlsm
ABCDE
1CURRENT DAYA NEW DATE
201/07/201901/07/2020
315/05/201815/05/2019
410/12/201110/12/2011
5
6
sheet3
 
If you cannot be bothered to answer my very simple question, then I cannot help you.
 
Upvote 0

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
i think answered your question as for my explanation first date 26/04/2020 end date 26/05/2020
 
Upvote 0
Then why didn't you say that, rather than making a half-mile long post, that made no sense to me.
How about
=IF(AND(EDATE(TODAY(),-13)<=A2,EDATE(TODAY(),-12)>=A2),EDATE(A2,12),"")
 
Upvote 0
sorry i say this which range i write this formula and which result show that
 
Upvote 0
You put it in any cell you want, currently it looks at A2 for the date
 
Upvote 0
it gives me this date 01/00/1900 that's why i asked about which cell
 
Upvote 0
Not for me it doesn't.

+Fluff New.xlsm
AB
1
225/04/2019 
326/04/201926/04/2020
427/04/201927/04/2020
528/04/201928/04/2020
629/04/201929/04/2020
730/04/201930/04/2020
801/05/201901/05/2020
902/05/201902/05/2020
1003/05/201903/05/2020
1104/05/201904/05/2020
1205/05/201905/05/2020
1306/05/201906/05/2020
1407/05/201907/05/2020
1508/05/201908/05/2020
1609/05/201909/05/2020
1710/05/201910/05/2020
1811/05/201911/05/2020
1912/05/201912/05/2020
2013/05/201913/05/2020
2114/05/201914/05/2020
2215/05/201915/05/2020
2316/05/201916/05/2020
2417/05/201917/05/2020
2518/05/201918/05/2020
2619/05/201919/05/2020
2720/05/201920/05/2020
2821/05/201921/05/2020
2922/05/201922/05/2020
3023/05/201923/05/2020
3124/05/201924/05/2020
3225/05/201925/05/2020
3326/05/201926/05/2020
3427/05/2019 
3528/05/2019 
36 
37 
38 
39
40
Main
Cell Formulas
RangeFormula
B2:B38B2=IF(AND(EDATE(TODAY(),-13)<=A2,EDATE(TODAY(),-12)>=A2),EDATE(A2,12),"")


What do you have in A2?
 
Upvote 0
nothing and i do that whit another workbook it gives me empty data in column b i do the same data in column a and the formula in col b
 
Upvote 0
If you have a blank cell in col A then col B will be blank, as shown in rows 36:38 in post#27
 
Upvote 0

Forum statistics

Threads
1,215,773
Messages
6,126,818
Members
449,340
Latest member
hpm23

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