• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Moving quarters (offset)

brems

Member
Hi,

I'm trying to find a solution for a simple challenge (aka problem).

In a chart I'm displaying 8 quarters of data. (2014 en 2015)
As soon as the first quarter of 2016 starts the oldest value (2014 Q1) must be omitted and the new value (2016 Q1) must be added.
Each start of a new quarter: the oldest quarter must be omitted and the new quarter needs to be added.

I added an example file.

Thank you very much in advance for your kind assistance.
Wim
 

Attachments

  • Moving quarters.xlsx
    11.7 KB · Views: 8
Hi brems,

can you check the attached.. and confirm, is this what you are looking for..

formula used as...
=INDEX(B$3:B$100,MAX(IF(ISNUMBER($B$3:$B$100),ROW($B$3:$B$100)))-10+ROW(A1:A8))
 

Attachments

  • Moving quarters.xlsx
    12.5 KB · Views: 10
Hi Debraj,

Unfortunately I can one click 'like' once. ;))

Fortunately this is EXACTLY what I was looking for.
Thank you very much!!

Wim
 
I have an additional question.
I'm trying to understand the used formula but at the moment it's still to abstract. Can you point me to some recommended reading?
Especially the use of ROW isn't very clear.
Thanks!
 
Back
Top