Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Trying to stagger data on google sheets

$
0
0

I've been trying to understand how to stagger my data in sheets and could really use some support. I've made up a bunch of bullshit data and assumptions to help explain.

Let's say I have the following data:

Year% of people purchasing an iPhone
202030%
202135%
202240%
202345%
202450%
202555%

Let's assume that everyone who purchases an iPhone in 2020 will purchase Airpods exactly one year after (don't focus too much on the logic of this - I just want to know the methodology):

Year% of people purchasing an iPhone
202025%
202130%
202235%
202340%
202445%
202550%

In this case, there's a 1 year stagger between the first dataset (% of people purchasing iphone) and the second dataset (% of people purchasing airpods). My question is: is there a quick way on sheets to be able to change the 1 year stagger to 2 years, 3 years, n years etc... For example, by having another cell where I can input how much I want the stagger to be, and it automatically updates my table:

Year% of people purchasing an iPhone
202040%
202145%
202250%
202355%
202460%
202565%
Stagger (n)
3

Like in the example above: is there anything I can do to change the cell titled 'Stagger (n)' and stagger the second column accordingly (in this case by 3 years)?

Hope this makes sense! Thank you


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>