Where this Shortcut is innovative is its use of text as maths in the calculate function.

For example, if we use a list of objects to fill a table (without headers) is R (total rows) x C (total columns) long. To extract from a list at each Rr (current row) and Cc (current column) we can use the following formula:

i = [(Rr -1) x C] + Cc

This can be parsed cleverly in Shortcuts using:

Repeat Index – 1

[ANSWER] x count[Headers]cols

[ANSWER] + Repeat Index 2

The benefit is that changing the math written in text above is all that is required to change the logic of the Shortcut’s actual calculations. See Shortcut below.