+ Reply to Thread
Results 1 to 10 of 10

Year | Quarter Formula

  1. #1
    Forum Contributor
    Join Date
    07-22-2013
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2010
    Posts
    100

    Year | Quarter Formula

    I have a slicer that references a YearQuarter (2017 Q3).

    Based on what slicer says (and it change change), I need a formula to know two things:

    1. What is the Next YearQuarter?
    Current Year | Quarter is 2017 Q3, I'd want it to read 2017 Q4
    2. Based on the CurrentYear Quarter that we're in, what were the prior YearQuarters within the same year?
    If the Current YearQuarter is 2016 Q3, I'd want it to read 2016 Q3, 2016 Q2, and 2016 Q1.

    Any ideas?
    Attached Files Attached Files
    Last edited by mphillips; 07-14-2017 at 05:58 PM.

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Year | Quarter Formula

    Attach a sample workbook (not image). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Forum Contributor
    Join Date
    07-22-2013
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2010
    Posts
    100

    Re: Year | Quarter Formula

    Added attachment.

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Year | Quarter Formula

    Quote Originally Posted by mphillips View Post
    I have a slicer that references a YearQuarter (2017 Q3).
    Based on what slicer says (and it change change),
    I don't see any slicer

  5. #5
    Forum Contributor
    Join Date
    07-22-2013
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2010
    Posts
    100

    Re: Year | Quarter Formula

    I took it out for the purpose of the excel shareable. But it's a drop down pick list highlighted in blue?

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Year | Quarter Formula

    maybe read here: Dependent Drop Down Lists

  7. #7
    Forum Contributor
    Join Date
    07-22-2013
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2010
    Posts
    100

    Re: Year | Quarter Formula

    It won't be a drop down list in the actual sheet, it will be a slicer. Based on the slicer from using PowerPivot Year | Quarter, I'd need a formula to know what the next quarter would be.

  8. #8
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Year | Quarter Formula

    So create example with all data, all structure, slicer(s) and show it BEFORE and AFTER
    If not.... sorry mate

  9. #9
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2404
    Posts
    13,407

    Re: Year | Quarter Formula

    1. What is the Next YearQuarter?
    Current Year | Quarter is 2017 Q3, I'd want it to read 2017 Q4
    In B6:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    2. Based on the CurrentYear Quarter that we're in, what were the prior YearQuarters within the same year?
    If the Current YearQuarter is 2016 Q3, I'd want it to read 2016 Q3, 2016 Q2, and 2016 Q1.
    In B12 and filled across:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

  10. #10
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2404
    Posts
    13,407

    Re: Year | Quarter Formula

    Oversight in both my formulas.

    In case B2 is the last quarter of 2017
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    In B12:?12 clean up in case formula is copied too far right.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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. sumifs quarter and year
    By andre1986 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-09-2016, 04:39 AM
  2. Replies: 4
    Last Post: 08-05-2015, 06:39 PM
  3. Replies: 1
    Last Post: 04-20-2015, 12:11 PM
  4. formula to output upcoming quarter end date (for a broken fiscal year)
    By canaille in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-22-2014, 05:01 PM
  5. [SOLVED] Formula Error for converting date to quarter and year
    By jayc2111 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-15-2013, 01:26 PM
  6. Fiscal Year + Quarter
    By brotherwo in forum Excel General
    Replies: 11
    Last Post: 01-08-2011, 02:10 PM
  7. [SOLVED] Date formula: return Quarter and Fiscal Year of a date
    By Rob in forum Excel General
    Replies: 7
    Last Post: 05-11-2005, 04:06 PM

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