+ Reply to Thread
Results 1 to 9 of 9

Input a year to determine the start date for 4-4-5 Calendar Year.

  1. #1
    Registered User
    Join Date
    10-19-2012
    Location
    Lexington
    MS-Off Ver
    Excel 2010
    Posts
    6

    Input a year to determine the start date for 4-4-5 Calendar Year.

    I basically want to be able to input a year, ex. "2012", and have excel spit out the start date of the fiscal year. My company is on a 4-4-5 calendar year, Saturday-Friday.
    So for 2012, the start date for the calendar year is 12/31/2011.

    Since Jan 2013 is a 5 week month, the year starts off as 5-4-5 for the first quarter.

    Does anyone know of a VBA code or function that would work with this?

    Thanks!

  2. #2
    Registered User
    Join Date
    04-13-2013
    Location
    NIreland
    MS-Off Ver
    2010
    Posts
    3

    Re: Input a year to determine the start date for 4-4-5 Calendar Year.

    This is something similar to what I am trying to calculate at the moment in Excel 2010, with a combination of Nested IFs and text functions, I am very close but keep getting year "YY" returning a serial number instead of 13.
    Last edited by GGRieve; 04-19-2013 at 04:07 PM. Reason: version of Excel

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Input a year to determine the start date for 4-4-5 Calendar Year.

    I might be able to help you but I don't know what a 4-4-5 or 5-4-5 means.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Registered User
    Join Date
    10-19-2012
    Location
    Lexington
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Input a year to determine the start date for 4-4-5 Calendar Year.

    4-4-5 Week Accounting provides for non-standard accounting periods. While most companies end their year on December 31st or the last calendar day of some other month, my company ends the year on the last Friday of the year.

    We divide each quarter of the year into three monthly periods consisting of two four week “months” of 28 days each and one five week “month” of 35 days, hence the name 4-4-5 Week Accounting Periods.

    So typically each year, there are 52 weeks plus 1 day. So each quarter is 13 weeks at 4-4-5.

    For leap years, it is 52 weeks plus 2 days. So every 5 to 6 years, we have a 53 week year.

    2013 there are 53 weeks, so our company decided to go with 5-4-5 for the first quarter and then the second, third, and fourth quarter will be the standard 4-4-5.

    Hopefully that explaination is correct.

  5. #5
    Registered User
    Join Date
    04-13-2013
    Location
    NIreland
    MS-Off Ver
    2010
    Posts
    3

    Re: Input a year to determine the start date for 4-4-5 Calendar Year.

    I hope this also enlightens the understanding of 4-4-5 or 5-4-5
    Attached Files Attached Files

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Input a year to determine the start date for 4-4-5 Calendar Year.

    Assuming you put the year in D1, try this formula:

    =DATE(D1, 1, 1)+CHOOSE(WEEKDAY(DATE(D1, 1, 1)),-1,-2,-3,-4,-5,-6,-7)
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  7. #7
    Registered User
    Join Date
    04-13-2013
    Location
    NIreland
    MS-Off Ver
    2010
    Posts
    3

    Re: Input a year to determine the start date for 4-4-5 Calendar Year.

    What I was looking for is just the month and year i.e Mar_13 from the date I got it to work with quite complicated formulae so if anyone wants s copy let me know

  8. #8
    Registered User
    Join Date
    10-19-2012
    Location
    Lexington
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Input a year to determine the start date for 4-4-5 Calendar Year.

    Can you send it to me? that would be great.

    Also Thanks JBeaucaire
    Last edited by mak1176; 04-24-2013 at 08:04 AM.

  9. #9
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Input a year to determine the start date for 4-4-5 Calendar Year.

    So perhaps:

    =TEXT(DATE(D1, 1, 1)+CHOOSE(WEEKDAY(DATE(D1, 1, 1)),-1,-2,-3,-4,-5,-6,-7), "MMM_YY")



    If that takes care of your original query, please select Thread Tools from the links above and mark this thread as SOLVED. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1