News for hackers. Stuff that matters.
Re:Scaling our spreadsheet engine from thousands to billions... by Closi on Thursday July 07, 2022 @11:53AM (#32015623)
It does - and you can do it multiple ways.

The obvious way to do it is as follows:

* Setup an excel sheet with "Name" and "Age" in A1 and B1, then put some sample data in. * Highlight the data and go insert -> table and hit 'ok' * Where it says Table Name: put in "Users"

If we want to refer to the array of names in that table, you would now say =Users[Name] in a formula.

As another example, if we wanted to find the average age, we could simply say =Average(Users[Age]) passing in the ages as an array.

If we made another two columns - MathsScore and EnglishScore, we can either automatically create a column adding these up ([@MathsScore]+[@EnglishScore]), or alternatively these ranges can then be used in spill formulas.

There are no comments on this comment yet.