Create Dynamic Rolling Chart to Show Last 6 Months

  Рет қаралды 99,346

Computergaga

Computergaga

Күн бұрын

This video shows you how to create a dynamic rolling chart to show the last 6 months of data. Whenever new rows are added, the chart automatically updates to consistently display the last 6 months.
This technique can easily be updated for any other rolling time frame such as the last 12 months, 10 days or 6 weeks.
Two dynamic named ranges are created for the dynamic source data. One for the chart data and another for the chart labels.
These named ranges are set up using the OFFSET function. The chart is then edited to use these named ranges for its source.
Find more great free tutorials at;
www.computerga...
** Online Excel Courses **
The Ultimate Excel Course - Learn Everything ► bit.ly/Ultimat...
Excel VBA for Beginners ► bit.ly/37XSKfZ
Advanced Excel Tricks ► bit.ly/3CGCm3M
Excel Formulas Made Easy ► bit.ly/2ujtOAN
Creating Sports League Tables and Tournaments in Excel ► bit.ly/2Siivkm
Connect with us!
LinkedIn ► / 18737946
Instagram ► / computergaga1
Twitter ► / computergaga1

Пікірлер: 97
@nmphillips007
@nmphillips007 4 жыл бұрын
How do you add multiple sales ranges. In your example you only have 1 sales total but I have 3 different variants. How do I add this to the graph ?
@bitsinmyblood
@bitsinmyblood 2 жыл бұрын
ChartData =offset(Sheet1!$B$1,COUNT(Sheet1!$B:$B),0,-6,1) ChartLabels =offset(ChartData,0,-1)
@AnyaDavis-j8p
@AnyaDavis-j8p Жыл бұрын
How do you get the Chart labels to work when you have multiple series? I have 3 offset formulas set up to reflect my 3 columns of data (series) but I am having trouble with using an offset formula for the axis label (last 6 dates). Does the column reference in the offset formula have to change?
@Annie-km8to
@Annie-km8to Жыл бұрын
This is great. How do I add a lookup into this formula? E.g. what is the last 6 months sales for Product A?
@raishnapreethy1428
@raishnapreethy1428 4 жыл бұрын
Thanks...Can you help me here...how to take last 5 non empty cell values in graph (if that cell contain 0 value then graph should not show that entire row) pls pls pls help me
@excelworx8712
@excelworx8712 4 жыл бұрын
Introduce a column to reflect serial numbers of the data (1-10 or whatever). Put formula =LOOKUP(2,1/(G:G""),G:G) to return serial number for the last value. G is the column where you have the serial number. From the lookup formula, deduct 5 and put it in a new cell (say, I30). In a new column, put =IF(AND(G32>$I$30,E32>=1),E32,#N/A). G is where your serial number is, and E is where your data is. #N/A will not be recognised by your line graph and will be ignored.
@andriesvanheerden9955
@andriesvanheerden9955 3 жыл бұрын
How can one do this on Google Sheets? I can't find the Formula tab etc...
@jamiepeppard2604
@jamiepeppard2604 3 жыл бұрын
This is probably the clearest and easy to follow guide to automate your graphs in excel. 11 graphs every month needed to be updated one by one, data set by data set. This has literally saved me a few hours every month. Only thing I would say to you to help you out in future.... Add the word EXCEL to your video title.... it was very hard to find this video ;)
@Computergaga
@Computergaga 3 жыл бұрын
Thank you, Jamie. For your comments and advice 👍
@ba7025
@ba7025 7 жыл бұрын
Hi, This is brilliant, so thank you :-). I have a question. How can I produce a dynamic chart with 3 columns (i.e.) date, value, and percentage change which automatically update as I enter monthly data example Jan 23.45 0.4% Feb 23.50 ? Thanks a lot.
@phillipmandry661
@phillipmandry661 3 жыл бұрын
Great explanation, building multiple charts for a project that will require this dynamic rolling date function. Took a while to find an explanation online, so pleased my search brought up your explanation. Excellent work, thank you!
@Computergaga
@Computergaga 3 жыл бұрын
Great to hear. Thank you, Phillip.
@TerryStoa
@TerryStoa 4 жыл бұрын
Perfectly explained. I'm working on a chart that includes the past 90d from my county's covid-19 data - and this dynamic method should be perfect. I've never used the OFFSET function before, so seeing the video was very helpful.
@Computergaga
@Computergaga 4 жыл бұрын
That is brilliant to hear Terry.
@edj1040
@edj1040 2 жыл бұрын
Hello Sir, thank you very much for this clear tutorial. I would have the following question in order to complete my learning: In first instance I tried to use the data from a Pivot Table which didn't work. Then I created a simple table based on the Pivot Table's data and it worked perfectly. Does it mean that every time data from a Pivot Table has to be turned into a simple Excel table prior to apply all your instructions? Thank you. Kind regards, Etienne (Brussels)
@feralhousecat
@feralhousecat Жыл бұрын
Excellent, useful video. Thank you for the effort to create. I have a question though. When you continue to add data, eventually this will force the chart to scroll upwards, and require manual readjustment to continue to see it. Conversely, I have created a similar sheet where I add new rows at the top for most recent data (blood sugar tracking), and my chart will scroll down off the page if not continuously dragged back into place. Is there a way to anchor a chart into place regardless of modifications to the data on the same page? Thanks for any help on this.
@aguerojg
@aguerojg 8 жыл бұрын
Excellent explanation, Cimputer Gaga, what an amazing trick, it's wonderful! Thank you very much for sharing this valuable tip that will be very useful
@ronniehill4001
@ronniehill4001 3 жыл бұрын
Is there a method to perform the same function but when the table is in days with multiple entries from one date? Want to get a chart for 90 days and 120 days of data, but some dates will have 3-5 entries.
@wayneedmondson1065
@wayneedmondson1065 6 жыл бұрын
Hi Alan.. great tip. In the past, I've used a more convoluted method to solve this problem on my worksheets. I'll definitely use your superior method going forward. Thanks and Thumbs up!
@Computergaga
@Computergaga 6 жыл бұрын
Thank you Wayne.
@melmo39
@melmo39 5 жыл бұрын
My COUNT keeps referencing the last row as a Blank - so i'm really only getting the last 5 rows of data instead of 6. I have tried multiple times - is there something i'm missing?
@SURESH40879
@SURESH40879 5 жыл бұрын
Yes sir.. This s really very useful. And the same thing can i get dynamic chart in userform. Actually I just want if i select a date from the combobox i want last 10 records. Is it possible. Pl support. Thanx in advance sirm
@TheBlessingflow
@TheBlessingflow 4 жыл бұрын
Wonderful video it increase my learning. Question. How to create a rolling chart to workout the last 6 months as a total average number or percentage number automatically capturing the data series on excel web data, into work book spread sheet? Thanks in advance. Cheers,
@jasongarner6528
@jasongarner6528 3 жыл бұрын
Excellent, how about a stacked bar graph using this method?
@tanman223
@tanman223 5 жыл бұрын
I know this is an old video but I have an issue. My rolling chart has many label/data that are blank and therefore trying to use the offset function in the chart give me an error. Because my data is on a batch to batch basis where some get terminated and some data just isn't available I want to show these as blanks. Is there a way around this?
@nikhilmalhotra29
@nikhilmalhotra29 3 жыл бұрын
What if the dates went across the columns and the sales were rows A2:A10?
@stevecartier2904
@stevecartier2904 7 жыл бұрын
I wonder if you could add a video for a 3 months rolling candlestick chart for stocks. I have tried adding multiple series like open-day high-day low-close....but keep getting errors. Thx. Your video is great by the way.
@Computergaga
@Computergaga 7 жыл бұрын
Thanks Steve. I will see what I can do.
@stevecartier2904
@stevecartier2904 7 жыл бұрын
I have finally been able to create this as a 12 week rolling chart for a candlestick chart by creating more offset formulas for the other 3 columns.....however the issue I seem to be having is that the chart always reads the blank row directly below my data so therefor only showing 11 candlestick on my chart. this is the formula I have been doing for 12 weeks rolling chart.....=offset('Pivot tables'!$B$8,COUNT('Pivot tables'!$B:$B),0,-12,1)...cna't seem to figure out why it reads the one blank row
@saqibbutt6867
@saqibbutt6867 5 жыл бұрын
Hi, Really appreciate this! How can I do the same in Google Spreadsheet? Thanks
@Computergaga
@Computergaga 5 жыл бұрын
My pleasure. Sorry but I do not use Google Sheets.
@saqibbutt6867
@saqibbutt6867 5 жыл бұрын
@@Computergaga no worries. Thanks again though
@mlhess
@mlhess 3 жыл бұрын
I've been watching your videos and learning a lot. A question I have is if you can use offset with a table to achieve the same result in a chart? Each time I add data to my table, I have to go and unclick some dates in the chart and I'd like to avoid doing that with a rolling chart.
@joshfarrell-evans2906
@joshfarrell-evans2906 3 жыл бұрын
This is a great formula, but what I have noticed is that if some of my values are "0", (as we have some months without sales) then the offset wont account for these numbers and doesn't start at the bottom of the table. Any ideas on how to get around this?
@litchfieldbeekeeping203
@litchfieldbeekeeping203 7 жыл бұрын
Bear with me on this question. Here is the scenario... On one tab in excel I want have a table that reflects the last 8 entries from a data set on another tab. Lets say we are using cells A1 as a row header, A2 would have the data from the other sheet 8 weeks ago, A3 would have 7 weeks ago, A4 6 weeks ago etc..... I want these to change as current week information is added to the other sheet, so what was in A3 (week 7) would move to A2, what was in A4 would move to A3 and so on. The offset formula that I tried is the following =OFFSET(Tallmadge!H1,COUNT(Tallmadge!H:H),0,-8,1) Tallmadge! is my other tab. What this returns to me is the last entry verses the entry that was made 8 weeks ago. So apparently, I have the wrong formula. I just want this to count up 8 cells from the last entry and put it in the corresponding cell in my table.So if I haven't confused you too much.... HELP!!
@Computergaga
@Computergaga 7 жыл бұрын
Hi, if I understand you correctly the following formula should work. This is for the first row of the 8 weeks. The others would be the same except for -8 and then -7 etc. =OFFSET(tallmadge!H$2,COUNTA(tallmadge!H:H)-9,0,1,1)
@صالحالحوسني-ي6ز
@صالحالحوسني-ي6ز 4 жыл бұрын
Can you send me a formula for rolling chart for first 15 days
@americanvet3110
@americanvet3110 4 жыл бұрын
This is very Helpful! However, I am having an issues with Multiple columns for the Chart Data Ranges which I dont ever hear explained and cannot find any videos in regards to multiple columns. Any Advice would be helpful.
@Computergaga
@Computergaga 4 жыл бұрын
Each column would need its own defined name I believe.
@TheRealOne2294
@TheRealOne2294 5 жыл бұрын
this is EXACTLY what I needed, to display the latest 11 values of air quality data I'm constantly organizing in a graph that compares it to the daily limit, now I can get it to update automatically instead of dealing with the mess of modifying all ranges automatically
@Computergaga
@Computergaga 5 жыл бұрын
Fantastic! Happy to help Carlos.
@RyNiuu
@RyNiuu 4 жыл бұрын
If I have 7 Series I have to do Offset data for each of the series? Or can I somehow make it work for the whole? I gave it a try via Chart data range: ='Trend ICO COE'!$L$72:$S$72;'Trend ICO COE'!$L$87:$S$108 (first part is series' names and second part I replaced with defined name with offset) and even though offset for data was pointing out to proper cells in Name Manager, my chart exploded... It's so weird, because of built-in excel automation for chart creation. you simply mark whole table and it detects series, legend and data itself. If I have to do it for each series and for at least 4 tables it's quite a lot of time
@Computergaga
@Computergaga 4 жыл бұрын
I think you need to do it for each series. But once it is done, it is done. So if this is a regular report. Spend 5 minutes now for automation in the future.
@RyNiuu
@RyNiuu 4 жыл бұрын
@@Computergaga Yeah I did just that and worked perfectly. Many thanks :)
@satchtamm
@satchtamm 4 жыл бұрын
Fantastic!! I bumped into a problem when creating mine though. for some reason I was not able to find at this point it does not let me use the offset formula when creating the dinamic ranged names, I only allows me to use it if I delete the = at the beggining
@Computergaga
@Computergaga 4 жыл бұрын
I'm not sure what is going on with having to delete the =. I hope it is working for you now.
@johandaugaarddrejer9009
@johandaugaarddrejer9009 6 жыл бұрын
Genuinely Awesome!! What a lad, thanks!
@Computergaga
@Computergaga 6 жыл бұрын
You're welcome Johan. Thank you!
@josephstalin7510
@josephstalin7510 7 жыл бұрын
Thank you I it's really helpful.
@Computergaga
@Computergaga 7 жыл бұрын
Your welcome Joseph.
@lucascampbell769
@lucascampbell769 6 жыл бұрын
I have a scenario where there will always be "0" in the data after today's date instead of it being blank. Would it be possible to use some sort of an IF statement to only read data if there are 1 or more?
@eastwezt7928
@eastwezt7928 4 жыл бұрын
You may not need this anymore but someone else can find it. I have about a month’s rows of future dates preentered that I don’t want included in the range so instead of using COUNTA I use COUNTIF to count only if the date is less than or equal to TODAY(). You could apply this the same way or to whatever other numerical progression you have.
@nandorb999
@nandorb999 6 жыл бұрын
Very professional
@Computergaga
@Computergaga 6 жыл бұрын
Thank you Nándor.
@davidlesher8901
@davidlesher8901 2 жыл бұрын
Definitely much easier to follow than the other non-video source I tried
@Computergaga
@Computergaga 2 жыл бұрын
Great to hear! Thanks, David.
@iosson
@iosson 4 жыл бұрын
Really helpful and straightforward to follow - thanks
@Computergaga
@Computergaga 4 жыл бұрын
Great to hear. Thank you, Neil.
@litchfieldbeekeeping203
@litchfieldbeekeeping203 7 жыл бұрын
What change would I need to make to the offset formula if you had multiple columns represented on your chart? I have a column for weekly numbers and a column for the goal. Both of these are on my chart.
@litchfieldbeekeeping203
@litchfieldbeekeeping203 7 жыл бұрын
Also, thanks for the video it's helping me make the weekly adjustments easier.
@Computergaga
@Computergaga 7 жыл бұрын
If they are next to each other you should be able to just change the Width argument (last one of the match function) from 1 to 2 for the ChartData named range.
@Computergaga
@Computergaga 7 жыл бұрын
Your welcome, thanks.
@gerardlansinkrotgerink2850
@gerardlansinkrotgerink2850 3 жыл бұрын
Very good explained! Thanks a lot!!
@Computergaga
@Computergaga 3 жыл бұрын
Thank you 👍
@jeffgalef121
@jeffgalef121 6 жыл бұрын
Dude, you're a genius.
@Computergaga
@Computergaga 6 жыл бұрын
Thanks Jeff.
@helgonet007
@helgonet007 8 жыл бұрын
Thx for explaining this sort of tricky part of charts in an easy way. Very hulpful.
@Computergaga
@Computergaga 8 жыл бұрын
No problem Robert, thanks.
@gomer2841
@gomer2841 6 жыл бұрын
Is there such a thing as a scrolling rolling chart? or is it even possible?
@Computergaga
@Computergaga 6 жыл бұрын
I have a tutorial on a scrollable chart here - kzbin.info/www/bejne/qHPNY4N4htyCldE I don't see why you cannot combine both skills for a scrolling rolling :)
@skjoldborg
@skjoldborg 3 жыл бұрын
Bacon hath been saveth. Thank you!
@Computergaga
@Computergaga 3 жыл бұрын
Excellent! 😂
@saqibbutt6867
@saqibbutt6867 5 жыл бұрын
How to do the same in Google Spreadsheet?
@MrLanceaaa
@MrLanceaaa 5 жыл бұрын
=offset(sheet1!$B$1,COUNT(sheet1!$B:$B)-5,0,6,1) put this beside the cell to make the list of the last 6 month data, then use it as the range for the chart
@ilrakldnep5485
@ilrakldnep5485 5 жыл бұрын
Hi Alan.. is that possible on google sheet directly or via google script?
@Computergaga
@Computergaga 5 жыл бұрын
I'm not as familiar with Google Sheets so couldn't say Ilrak.
@MrLanceaaa
@MrLanceaaa 5 жыл бұрын
=offset(sheet1!$B$1,COUNT(sheet1!$B:$B)-5,0,6,1) put this beside the cell to make the list of the last 6 month data, then use it as the range for the chart
@bad17bad17
@bad17bad17 6 жыл бұрын
Brilliant!
@Computergaga
@Computergaga 6 жыл бұрын
Thanks so much Alin.
@jonathanwatson7378
@jonathanwatson7378 Жыл бұрын
Super helpful! Thank you!
@Computergaga
@Computergaga Жыл бұрын
Glad it was helpful! 😊
@thomassimpson4957
@thomassimpson4957 5 жыл бұрын
Very informative, great explanation. Cheers.
@Computergaga
@Computergaga 5 жыл бұрын
You're welcome Thomas.
@JCC.M.
@JCC.M. 7 жыл бұрын
I have a problem. I have a worksheet with over 4000 rows of data. I followed the offset input as you showed us, however the report I am getting back is not for the last year, but for the yera 5/7/14 - 5/6/15. Here is the formulae that I have: DataJetA -- =OFFSET('DAILY VALUES'!$S$1,COUNT('DAILY VALUES'!$S:$S),0,-12,1) LabelJetA -- =OFFSET(DataJetA,0,-18) The column offsets are correct counts. The data in the column is numbers. Can you tell me why it will not return the last 366 days starting from 5-18-17? Joe
@Computergaga
@Computergaga 7 жыл бұрын
Hi Joseph, its hard to understand the formulas well without seeing the spreadsheet.
@JCC.M.
@JCC.M. 7 жыл бұрын
Would you like for me to send you a copy of it?
@Computergaga
@Computergaga 7 жыл бұрын
Sure, you can send it on Facebook at facebook.com/computergaga or email at admin@computergaga.com
@JCC.M.
@JCC.M. 7 жыл бұрын
sent to email
@Computergaga
@Computergaga 7 жыл бұрын
Super. I have replied Joseph.
@ethanclarke5603
@ethanclarke5603 6 жыл бұрын
THANKS! :D
@Computergaga
@Computergaga 6 жыл бұрын
You're welcome Ethan.
@tonykaram4735
@tonykaram4735 5 жыл бұрын
great video
@Computergaga
@Computergaga 5 жыл бұрын
Thank you very much Tony.
@rachaeljackson6288
@rachaeljackson6288 5 жыл бұрын
Incredibly helpful tutorial, many thanks :-)
@Computergaga
@Computergaga 5 жыл бұрын
My pleasure Rachel.
A Must-know Excel Charting Trick!
5:55
The Engineering Toolbox Channel
Рет қаралды 13 М.
Create a Dynamic Chart with Named Ranges, INDEX and MATCH
20:16
The joker favorite#joker  #shorts
00:15
Untitled Joker
Рет қаралды 30 МЛН
Остановили аттракцион из-за дочки!
00:42
Victoria Portfolio
Рет қаралды 3,9 МЛН
БЕЛКА СЬЕЛА КОТЕНКА?#cat
00:13
Лайки Like
Рет қаралды 2,7 МЛН
Bike Vs Tricycle Fast Challenge
00:43
Russo
Рет қаралды 103 МЛН
Excel Dynamic Chart #10: OFFSET Function Dynamic Range
14:49
excelisfun
Рет қаралды 331 М.
Our New And Improved Gauge (Speedometer) Chart In Excel!
11:12
Excel Campus - Jon
Рет қаралды 23 М.
Show last 6 months based on user single slicer selection
20:04
How to Create a Dynamic Chart Range in Excel using Dropdown
12:25
Leila Gharani
Рет қаралды 300 М.
Dynamic Step chart in Excel
11:16
PK: An Excel Expert
Рет қаралды 10 М.
How to Create an Excel Interactive Chart with Dynamic Arrays
12:33
Leila Gharani
Рет қаралды 357 М.
The joker favorite#joker  #shorts
00:15
Untitled Joker
Рет қаралды 30 МЛН