+ Reply to Thread
Results 1 to 8 of 8

Thread: convert date to accounting period

  1. #1
    Registered User
    Join Date
    03-23-2011
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2007
    Posts
    1

    Exclamation convert date to accounting period

    Help!

    Is there a way to convert a date to an accounting period?

    eg.

    21/7/10 to display 1

    3/9/10 to display 3

    date can be in a different format if necessary.

    any hints will be appreciated!

  2. #2
    Extremely Helpful member
    Join Date
    12-23-2006
    Location
    Belgium
    MS-Off Ver
    XL2003
    Posts
    6,127

    Re: convert date to accounting period

    Hi and welcome to the board

    Not being an accountant, it would be helpful to get some more info about the rationale behind the conversion you are asking for.

    Perhaps a sample sheet would help
    Quoting entire posts clutters the forum and makes threads hard to read !

    If you are pleased with a member's answer then use the Star icon to rate it

    Click here to see forum rules

  3. #3
    Registered User
    Join Date
    04-24-2011
    Location
    New Glasgow, Canada
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: convert date to accounting period

    If 12 periods, with the last day of the month =MONTH(A1)

    If non-month end period ends or 13 accounting periods, use a lookup table

    Set up a lookup table (it works the same way as a phone book)
    - list the period end dates in column a - say Jan this year thru Jan next year - 13 entires
    - list the period number in column b - presumably 1, 2, 3 .......12, 1

    add some sample dates in cells d1 to d5
    put this formula in cell e, then copy to e2.
    =VLOOKUP(D1,A$1:B$24,2)

    good luck

  4. #4
    Forum Guru Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    2,782

    Re: convert date to accounting period

    Based solely on your 2 samples:

    =MONTH(EDATE(A1,6)) where A1 contains the date

    this assumes any date in July is to return a 1 and any date in Sept is to return a 3
    in other words - any day within a calendar month is to return the month # of the same day 6 months ahead
    Jan gives 7
    Feb gives 8
    Mar gives 9
    etc

    Is that what you want?
    Last edited by Cutter; 04-24-2011 at 09:50 AM.

  5. #5
    Cheeky Forum Moderator Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2003, 2007, 2010
    Posts
    3,712

    Re: convert date to accounting period

    You won't be able to change the display of the actual date to reflect the fiscal month, but you could use a formula to calculate it.

    With
    A1: a date....e.g. 15-July-2011

    This regular formula returns the fiscal month of that date:
    B1: =1+MOD(MONTH(A1)-7,12)

    In that example, the formula returns: 1

    For other A1 values:
     
    A1 value              B1 display
    21-Jul-2011           1
    24-Aug-2011           2
    27-Sep-2011           3
    31-Oct-2011           4
    04-Dec-2011           6
    07-Jan-2012           7
    10-Feb-2012           8
    15-Mar-2012           9
    18-Apr-2012          10
    22-May-2012          11
    25-Jun-2012          12
    29-Jul-2012           1

    Does that help?
    Regards,

    Ron
    Microsoft MVP - Excel
    (Oct 2006 - Sep 2012)

    Click here to see the Forum Rules

  6. #6
    Extremely Helpful member
    Join Date
    12-23-2006
    Location
    Belgium
    MS-Off Ver
    XL2003
    Posts
    6,127

    Re: convert date to accounting period

    The OP being one month old, I'm afraid there will be no reaction
    Quoting entire posts clutters the forum and makes threads hard to read !

    If you are pleased with a member's answer then use the Star icon to rate it

    Click here to see forum rules

  7. #7
    Cheeky Forum Moderator Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2003, 2007, 2010
    Posts
    3,712

    Re: convert date to accounting period

    Thanks for the alert. I saw the latest reply and didn't even notice the staledated OP. I guess I can stop holding my breath waiting for a reply, eh?
    Last edited by Ron Coderre; 04-24-2011 at 06:56 PM.
    Regards,

    Ron
    Microsoft MVP - Excel
    (Oct 2006 - Sep 2012)

    Click here to see the Forum Rules

  8. #8
    Forum Guru Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    2,782

    Re: convert date to accounting period

    I didn't notice it either.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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.2.0