+ Reply to Thread
Results 1 to 4 of 4

Finding year end applicable for each quarter

  1. #1
    Registered User
    Join Date
    08-21-2011
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    21

    Finding year end applicable for each quarter

    I have a list of quarters as below
    200203 200206 200209 200212 200303 200306 200309 200312

    Also there are year ending dates as

    200203 200303 200403 200503 200603 200703 200803

    Dates are in YYYY MM format.

    While using quarterly data for 200306, 200309 and 200312 .. I need to use annual data for 200303 as those are the latest annual numbers available with me.

    So I want to find match year end and quarters in excel so that i can use formulae to continue with my work. Attached excel for better understading ..
    Attached Files Attached Files
    Last edited by Amar Thakkar; 10-21-2011 at 04:39 AM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,366

    Re: Finding year end applicable for each quarter

    =--(LEFT(E6,4)&TEXT($G$1,"00"))

    Where G1 has the month for the Year End

    Or, you could have a table of years and year end months in, say, I1:J4 and use:

    =--(LEFT(E6,4)&TEXT(VLOOKUP(--LEFT(E6,4),$I$1:$J$4,2,FALSE),"00"))

    See the attachment for details.


    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    08-21-2011
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Finding year end applicable for each quarter

    Quote Originally Posted by TMShucks View Post
    =--(LEFT(E6,4)&TEXT($G$1,"00"))

    Where G1 has the month for the Year End

    Or, you could have a table of years and year end months in, say, I1:J4 and use:

    =--(LEFT(E6,4)&TEXT(VLOOKUP(--LEFT(E6,4),$I$1:$J$4,2,FALSE),"00"))

    See the attachment for details.


    Regards
    Thanks a lot.. I can customize the second solution provided by you ..

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,366

    Re: Finding year end applicable for each quarter

    You're welcome. Thanks for the rep.

+ 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