+ Reply to Thread
Results 1 to 6 of 6

year to date comparison

  1. #1
    Registered User
    Join Date
    05-01-2015
    Location
    los angeles, california
    MS-Off Ver
    professional pus 2010
    Posts
    19

    year to date comparison

    Hi Everyone,

    I will try to make this question as simple as possible. I'm currently working on a spreadsheet that I would like to compare year to date information against last year. The data is done on a quarterly basis meaning Jan:Mar = Q1, Apr:Jun = Q2, Jul:Sep = Q3 and Oct:Dec = Q4. I have placed a formula that if I open the spreadsheet today it will automatically recognize it as of today's date and will make another formula as of last month's month end date (we work on a month lag). My problem is if I'm working on the spreadsheet in August, I would like it to automatically recognize we are working on YTD on Q3 and take last year's Sum of quarter's (Q1:Q3) to compare YTD information. I have placed corresponding year to date numbers in a section that will not be visible to the reader. I would like to have the specific cell automatically calculate the value without updating it every single month. Please see attached spreadsheet to get an understanding of what I am trying to accomplish. If anyone has any ideas it will be greatly appreciated.

    Many thanks!
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,025

    Re: year to date comparison

    I'd be tempted to take a different approach, like this, and (in the hidden rows) use a series of nested IFs to get a simpler overall structure.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

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

    Re: year to date comparison

    What do you do when Q3 comes along, insert cells between J5 and K10?
    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
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: year to date comparison

    I suppose not to use extra YTD calculation from row 13 to 20
    I insert 2 more columns for Q3 and Q4 of 2015, then in N7:

    Option 1: Using B1 cell:

    Please Login or Register  to view this content.
    Option 2: Use today's date (donot use B1 cell):
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Quang PT

  5. #5
    Registered User
    Join Date
    05-01-2015
    Location
    los angeles, california
    MS-Off Ver
    professional pus 2010
    Posts
    19

    Re: year to date comparison

    Glenn,

    This is perfect! Thank you so much!

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,025

    Re: year to date comparison

    Glad to have helped! If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. It'd also be appreciated if you were to click the add Reputation button at the foot of any of the posts of those who helped you reach a solution.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Excel 2007 - Comparison of monthly sales year on year
    By djr1970 in forum Excel General
    Replies: 7
    Last Post: 08-12-2014, 01:56 PM
  2. year to year comparison, reflecting a larger pie
    By ktalamantez in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 05-19-2014, 02:09 AM
  3. Replies: 3
    Last Post: 09-04-2013, 10:49 AM
  4. Year to Year Monthly comparison
    By OTownPrinter in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 07-11-2013, 11:39 AM
  5. [SOLVED] cumulative comparison with last year of month to date
    By johnbtor in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 09-04-2012, 10:38 AM
  6. Creative Ways for a year-to-year comparison???
    By ridonkulous5 in forum Excel General
    Replies: 1
    Last Post: 03-23-2011, 01:27 AM
  7. Year on Year Comparison Chart
    By aroma658 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-23-2009, 06:39 AM

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