Skip to content

Instantly share code, notes, and snippets.

@selfish
Last active May 25, 2020 00:48
Show Gist options
  • Select an option

  • Save selfish/d57b8a10df5f4239dce7 to your computer and use it in GitHub Desktop.

Select an option

Save selfish/d57b8a10df5f4239dce7 to your computer and use it in GitHub Desktop.
Spreadsheets relative indirect.
=SUBSTITUTE(ADDRESS(1,COLUMN(),4),"1","") & ROW() // Current cell path (i.e. A5)
=INDIRECT(SUBSTITUTE(ADDRESS(1,COLUMN(),4),"1","") & ROW()) // Current cell content.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment