+ Reply to Thread
Results 1 to 6 of 6

When was the last time a series was that high

  1. #1
    Registered User
    Join Date
    05-07-2012
    Location
    Denmark
    MS-Off Ver
    Excel 2007
    Posts
    42

    Question When was the last time a series was that high

    Hi

    I have a timeseries (please see the attached file for a homemade example) and I need to find an easy way to calculate whenever the figure was that high. As my time series is updated quarterly with new data I would like it to be done automatically.

    In this example the figure was 92.1 in Q4 2012. I can manually see that it was higher in Q1 2002 (92.5). But I would like it to be calculated automatically. ANy suggestions?
    Attached Files Attached Files
    Last edited by h0ps; 08-01-2014 at 06:15 AM. Reason: solved

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: When was the last time a series was that high

    So, if you want the previous HIGHEST value, then in cell C52, enter:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: When was the last time a series was that high

    =CHOOSE(CEILING(MONTH(INDEX($A:$A,MATCH(MAX($B:$B),$B:$B,0)))/3,1),"Q1","Q2","Q3","Q4")&TEXT(INDEX($A:$A,MATCH(MAX($B:$B),$B:$B,0),0)," YYYY")
    Try this for Time and
    =MAX($B:$B) for value
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  4. #4
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: When was the last time a series was that high

    Or, if you want to know the last time the current value was matched / exceeded, then use this ARRAY formula (press Ctrl-Shift-Enter):
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    05-07-2012
    Location
    Denmark
    MS-Off Ver
    Excel 2007
    Posts
    42

    Re: When was the last time a series was that high

    Quote Originally Posted by Olly View Post
    Or, if you want to know the last time the current value was matched / exceeded, then use this ARRAY formula (press Ctrl-Shift-Enter):
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Thank you. It was exactly what I wanted!!

  6. #6
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: When was the last time a series was that high

    Happy to help. Thanks for the feedback

+ 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. [SOLVED] High/Low chart with multiple series per day
    By PennStan in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 05-23-2014, 02:23 PM
  2. [SOLVED] High-low lines for 2 series in 1 diagram
    By mjh in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 09-20-2012, 02:55 PM
  3. [SOLVED] XY Scatter Charts, High/Low bars, Multiple Series
    By Kevin M. in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-01-2006, 05:20 PM
  4. Creating a High-Low-Close chart with multiple series?
    By The Chad in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-02-2005, 09:06 PM
  5. Creating a High-Low-Close chart with multiple series?
    By The Chad in forum Excel General
    Replies: 0
    Last Post: 05-02-2005, 06: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