Date Formula

R31n3tt3

New Member
Joined
Aug 2, 2013
Messages
11
Good day
Hope you are well. Please assist me with the date calculation in Column E and Column F. The 2012/02/29 date should show (29) because for tax purposes it is a leap year. The leap years are 2012, 2016, 2020, 2024, 2028,2032,2036. The FYS for all taxpayers will start on 2010/03/01 and that specific tax year will end on 2011/02/28. The next tax year will start on 2011/03/01 and ends on 2012/02/28 + 1 to accommodate leap year.
Thank you in advance.
Column AColumn BColumn CColumn DColumn EColumn F
FYS2010/03/01FYE2011/02/28Calc. period fromCalculate to
201010H11St EstimateFYS + 6 Months2010/03/012010/08/31
201010H22nd EstimateFYS + 12 Months2010/09/012011/02/28
20102K10ROEFYS + 18 Months2010/03/012011/08/31
20102K10FinalFYS + 24 Months2010/03/012012/02/29
201111H11St EstimateFYS + 6 Months2011/03/012011/08/31
201111H22nd EstimateFYS + 12 Months2011/09/012012/02/29
20112K11ROEFYS + 18 Months2011/03/012012/08/31
20112K11FinalFYS + 24 Months2011/03/012013/02/28
 

Attachments

  • Date formula.jpg
    Date formula.jpg
    80.9 KB · Views: 7
  • Answer.jpg
    Answer.jpg
    133.5 KB · Views: 8

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Can you please explain where the starting year and month are supposed to come from for the column E and F calculations?
Which cells should it be looking at?
I don't see why/how some starting dates are month 3 and others are month 9.
 
Upvote 0
Not sure i understand what you're looking for...

See if this does what you want

05072021 Testes.xlsx
ABCDEF
1FYS2010/03/01FYE28/02/2011Calc. period fromCalculate to
2201010H11St EstimateFYS + 6 Months01/03/20102010/08/31
3201010H22nd EstimateFYS + 12 Months01/03/20102011/02/28
420102K10ROEFYS + 18 Months01/03/20102011/08/31
520102K10FinalFYS + 24 Months01/03/20102012/02/29
6201111H11St EstimateFYS + 6 Months01/03/20112011/08/31
7201111H22nd EstimateFYS + 12 Months01/03/20112012/02/29
820112K11ROEFYS + 18 Months01/03/20112012/08/31
920112K11FinalFYS + 24 Months01/03/20112013/02/28
Plan4
Cell Formulas
RangeFormula
E2:E9E2=DATE(A2,3,1)
F2:F9F2=EDATE(E2,--SUBSTITUTE(MID(D2,SEARCH("+",D2)+1,99),"Months",""))-1


M.
 
Upvote 0
Good day

Here is a formula in excel for a date, but I need to copy and paste the formula every time a new year starts.
Is there maybe a way to enter a formula that I can just drag down to the rest of the years? I need to do it for FYS 2010 to 2025.
Thank you for the help I appreciate this so much.

Formula in excel for a date - CCM
E2: Enter you start date here: 2010/03/01
F2: =DATE(YEAR(E2),MONTH(E2)+6,DAY(E2)-1)
E3: =F2+1
F3: =DATE(YEAR(E3),MONTH(E3)+6,DAY(E3)-1)
E4: =E2
F4: =DATE(YEAR(E4),MONTH(E4)+18,DAY(E4)-1)
E5: =E2
F5: =DATE(YEAR(E5),MONTH(E5)+24,DAY(E5)-1)
E6: =DATE(YEAR(E2)+1,MONTH(E2),DAY(E2))
F6: =DATE(YEAR(E6),MONTH(E6)+6,DAY(E6)-1)
E7: =F6+1
F7: =DATE(YEAR(E7),MONTH(E7)+6,DAY(E7)-1)
E8: =E6
F8: =DATE(YEAR(E8),MONTH(E8)+18,DAY(E8)-1)
E9: =E6
F9: =DATE(YEAR(E9),MONTH(E9)+24,DAY(E9)-1)

Best Regards
Reinette
 
Upvote 0
Can you please explain where the starting year and month are supposed to come from for the column E and F calculations?
Which cells should it be looking at?
I don't see why/how some starting dates are month 3 and others are month 9.
Good day

Thank you for the help, I really appreciate the time and effort.
Let me try to explain.

All taxpayers or companies are supposed to have registered by FYS 2010. If they registered then we will work on:
FYS is 2010/03/01 and FYE is 2011/02/28
They have 6 months to submit the first declaration 10H1.
They have 12 months to submit the second declaration 10H2.
They have 18 months to submit the ROE declaration 2K10.
They have 24 months to submit the Final declaration 2K10.

For the above, I need to calculate the date of submission for every tax year.

For example. If it is a new company that registered register in 2015 I have to calculate when the company needs to submit the first declaration.
FYS is 2015/03/01 and FYE is 2016/02/28
2010, 2011, 2012, 2013, 2014 the formula will show not applicable.
The calculation will start from 2015 going forward.

I hope this makes sense and that it is clearer for you.
Best regards,
Reinette
 
Upvote 0
I don't understand why two of your entries in column E start with 9/1 instead of 3/1.

Also, you seem to have formulas that are currently working correctly, right?
If so, then it should just be a matter of copying the whole block of formulas.

If you wanted one single formula, then it would be better to have the factors that you need to add to each date in separate columns in a usable format, i.e.
instead of "FYS + 6 Months", you would just have "6" in the column, so it could easily be used in calculations.
 
Upvote 0
I don't understand either why some entries in column E start in 9/1.

I agree with Joe
- It seems simply a matter of copying the whole block of formulas.
- You should use numeric values 6, 12, 18, 24 to make things easier

And i think that you should
- Use the years in column A in your formulas.
- Use the built-in function EDATE in column F to add months

M.
 
Upvote 0
Check Marcelo Branco's suggestion and comments
Try either of the alternatives below

Date and Time 3.xlsm
ABCDEFG
1FYS1-Mar-10FYE28-Feb-11Calc. period fromCalculate to
2201010H11st EstimateFYS + 6 Months1-Mar-1031-Aug-1031-Aug-10
3201010H22nd EstimateFYS + 12 Months1-Mar-1028-Feb-1128-Feb-11
420102K10ROEFYS + 18 Months1-Mar-1031-Aug-1131-Aug-11
520102K10FinalFYS + 24 Months1-Mar-1029-Feb-1229-Feb-12
6201111H11st EstimateFYS + 6 Months1-Mar-1131-Aug-1131-Aug-11
7201111H22nd EstimateFYS + 12 Months1-Mar-1129-Feb-1229-Feb-12
820112K11ROEFYS + 18 Months1-Mar-1131-Aug-1231-Aug-12
920112K11FinalFYS + 24 Months1-Mar-1128-Feb-1328-Feb-13
1d
Cell Formulas
RangeFormula
E2:E9E2=DATE(A2,3,1)
F2:F9F2=EDATE(E2,MID(D2,SEARCH("M",D2)-3,2))-1
G2:G9G2=EDATE(E2,LOOKUP(LEFT(C2,1),{"1",6;"2",12;"F",24;"R",18}))-1
 
Upvote 0
If really some entries in column E (the second in the series) must start in 9/1 i suggest

Use a helper column (see column H) - not strictly necessary since the reference to H2 in the formula in F2 could be replaced by the formula in H2

05072021 Testes.xlsx
ABCDEFGH
1FYS2010/03/01FYE2011/02/28Calc. period fromCalculate toHelper
2201010H11St EstimateFYS + 6 Months2010/03/012010/08/316
3201010H22nd EstimateFYS + 12 Months2010/09/012011/02/2812
420102K10ROEFYS + 18 Months2010/03/012011/08/3118
520102K10FinalFYS + 24 Months2010/03/012012/02/2924
6201111H11St EstimateFYS + 6 Months2011/03/012011/08/316
7201111H22nd EstimateFYS + 12 Months2011/09/012012/02/2912
820112K11ROEFYS + 18 Months2011/03/012012/08/3118
920112K11FinalFYS + 24 Months2011/03/012013/02/2824
10201210H11St EstimateFYS + 6 Months2012/03/012012/08/316
11201210H22nd EstimateFYS + 12 Months2012/09/012013/02/2812
1220122K10ROEFYS + 18 Months2012/03/012013/08/3118
1320122K10FinalFYS + 24 Months2012/03/012014/02/2824
Plan12
Cell Formulas
RangeFormula
E2:E13E2=EDATE(DATE(A2,3,1),IF(MOD(ROWS(E$2:E2),4)=2,6,0))
F2:F13F2=EDATE(DATE(A2,3,1),H2)-1
H2:H13H2=6*(MOD(ROWS(H$2:H2)-1,4)+1)


M.
 
Upvote 0

Forum statistics

Threads
1,214,870
Messages
6,122,021
Members
449,060
Latest member
LinusJE

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