Google Sheets: Dynamic Arrays - SORTN, SPLIT, QUERY, SPARKLINE++

Тәжірибелік нұсқаулар және стиль

The dynamic array concept is one formula can return a table (with multiple rows & columns), with this comes a slew of extra functionality, with new functions and changed behaviour on existing formulas through ARRAYFORMULA. You can also stack different tables on top of another through using {}.
Dynamic array functions include TRANSPOSE switches rows & columns, SPLIT separates text in multiple columns based on a character, UNIQUE returns a unique list based on a source. SORT and FILTER apply those common actions in an output range, IMPORTRANGE grabs a table from elsewhere, GOOGLEFINANCE fetches live stock data, SPARKLINE creates in cell charts, ARRAY_CONSTRAIN allows you to limit the max area, SORTN, and finally the incredibly sophisticated QUERY function.
Explore the QUERY function further here: • QUERY Complete guide: ...
Excel introduced dynamic Arrays in 2020, but Google Sheets has had them for a lot longer, and they are much more sophisticated.
00:00 - Introduction
00:40 - UNIQUE
01:28 - TRANSPOSE (switch rows/cols)
01:52 - SPLIT (text to columns)
02:34 - ARRAYFORMULA
03:28 - Stacking tables
04:15 - IMPORTRANGE
04:53 - GOOGLEFINANCE
05:43 - SPARKLINE
06:19 - SORT
07:16 - ARRAY_CONSTRAIN
07:38 - SORTN
09:57 - FILTER
11:18 - QUERY

Пікірлер: 22

  • @reaseynhim1413
    @reaseynhim14133 жыл бұрын

    Love it! Thanks for sharing 👏

  • @Sergio-td7mn
    @Sergio-td7mn2 жыл бұрын

    great advanced information presented in a nice, rapid pace

  • @learnspreadsheets

    @learnspreadsheets

    2 жыл бұрын

    That’s very kind feedback - thanks!

  • @davidbell8819
    @davidbell8819 Жыл бұрын

    You RULE Dave. Quick question you were about to explain though, how does one use the SPLIT function over multiple rows without dragging?

  • @learnspreadsheets

    @learnspreadsheets

    Жыл бұрын

    Hey Dave! 😃 let me have a look & I’ll reply separately!

  • @learnspreadsheets

    @learnspreadsheets

    Жыл бұрын

    Formula is =ARRAYFORMULA(SPLIT(C4:C10," > ")) see it here: docs.google.com/spreadsheets/d/1Eanxpw_azblb4if46mtHOlTb-e7NFwjPmbi5Q1-Fr8w/edit?usp=sharing

  • @michaelglasser3635
    @michaelglasser36353 жыл бұрын

    Great video explaining lots of things. How can I get a top 10 of data from two non-consecutive columns? I want to return column A and column E, based on sorting of column E. I am having trouble with the syntax for getting the range of A and E in the SORTN function. Trying to avoid QUERY function, if possible. Thanks in advance for any suggestions.

  • @learnspreadsheets

    @learnspreadsheets

    3 жыл бұрын

    There is either sortn and then hide the cols (as the function doesn’t let you choose columns) or you could do it with a pivot table (select which cols to appear where then add a filter), or to get exactly what you need it would be query

  • @michaelglasser3635

    @michaelglasser3635

    3 жыл бұрын

    @@learnspreadsheets Thanks for the reply. Good idea with the hide functionality. I will say that I finally figured out a solution that worked for me, =sortn({Sheet1!A2:A999,Sheet1!E2:E999},10,0,2,false). Your tip on ARRAYFORMULA led me to {} notation and finally figured out commas separating columns is what I wanted and I kept trying semi-colons, which stack the data. Thanks for the video and the reply with tips.

  • @learnspreadsheets

    @learnspreadsheets

    3 жыл бұрын

    Oh yay! Awesome… glad you found a way that works!

  • @connormorton665
    @connormorton6652 жыл бұрын

    Question, say you have something like that unique formula that spills a list that can vary in size. Now, say I wanted to have a formula in the next column that interacted with this unique list. I'm not sure the best way to phrase this, but is there a way to essentially spill cells with a formula based on how many cells have been spilled by the unique formula?

  • @learnspreadsheets

    @learnspreadsheets

    2 жыл бұрын

    Hi I don’t think what you’re asking is possible, i would just leave some blanks around it to give it room to expand

  • @subhasishbhattacharya3754
    @subhasishbhattacharya37542 жыл бұрын

    Sir plz make videos for recording data at certain time interval

  • @learnspreadsheets

    @learnspreadsheets

    2 жыл бұрын

    Sorry I don’t understand

  • @subhasishbhattacharya3754

    @subhasishbhattacharya3754

    2 жыл бұрын

    Thanks sir I want to mean that results of the calculations will be stored in a cell with mentioned the time of the results as the calculations change then this result store in next cell with time For instance stock market option chain data real time variance analysis

  • @bryanmoreno8166
    @bryanmoreno8166 Жыл бұрын

    Hello, is there a way to sort a column by most recent date? Thanks!

  • @learnspreadsheets

    @learnspreadsheets

    Жыл бұрын

    Hey yes there is with the SORT or SORTBY if you pick a date column & descending or I have another video on QUERY for more advanced stuff

  • @kishorpanara4191
    @kishorpanara41913 жыл бұрын

    Pls practice file in distribution pls sir

  • @learnspreadsheets

    @learnspreadsheets

    3 жыл бұрын

    Ah sorry but I don’t have one with this video directly

  • @JDL891
    @JDL8913 жыл бұрын

    Any chance of slowing down your delivery? I find it difficult to keep up without pausing and going back. Pity because your content is excellent.

  • @learnspreadsheets

    @learnspreadsheets

    3 жыл бұрын

    Hey! Thanks for the feedback, the dynamic arrays topic is quite a complex one and I cover so much in this video! Point taken though, I’ll slow down when I can

Келесі