Local addresses
The "A1" address system has coordinates that exist over the whole worksheet. If you have a block of data specified somewhere within that worksheet, it can be useful to be able to specify the addresses relative to that block.
This can be done with INDEX()
, which takes 3 arguments. The first argument is a rectangular range of data, for example A2:E8
. The second and third arguments are numbers specifying an offset down then right from the top left of that data range. Unlike OFFSET()
, the numbering starts at 1, so INDEX(A2:E8, 4, 2)
refers to cell B5
.
This exercise is part of the course
Intermediate Google Sheets
Exercise instructions
Use the block of data for North East India + North Myanmar
, from A11
to G19
as the reference.
- In cell
I1
, useINDEX()
to get the number ofBlue
s inSikkim
. - In cell
I2
, get the number ofWhite-yellow
s inMizoram Hills
.
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
