deepcalc
DocsIMPORTRANGE

IMPORTRANGE

Imports a range from another deepcalc workbook, addressed as {namespace}/{name}: e.g. worldbank/gdp. Resolution is journaled, never live-silent: refreshing the workbook's Sources materializes the target values as ordinary ops, so every upstream change arrives as a reviewable diff. Each source can track the latest version or be pinned to a specific one (the Sources panel). Before the first refresh the cell shows #NAME?. The inline form ={ns}/{name}!worksheet!A1:B10 is equivalent.

  • Excel: No equivalent
  • Google Sheets: Not checked yet
  • Returns: Array

Resolved at the workbook layer, not by the engine: values arrive when the workbook's Sources are refreshed (journaled, reviewable, pin or track per source); before the first refresh the cell shows #NAME?.

Examples

Live results: the values below were fetched from the public worldbank mirrors when this page rendered; a refresh materializes exactly these values into your workbook.

=IMPORTRANGE("worldbank/gdp", "data!A1:E3")
ABCDE
1 country_codecountryyearvalueis_aggregate
2 ABWAruba1986405586592.178771false
3 ABWAruba1987487709497.206704false
Result spills the range shown above
=IMPORTRANGE("worldbank/gdp", "data!D2")/IMPORTRANGE("worldbank/population", "data!D2")
Result 7384.774629087998

Syntax

IMPORTRANGE(workbook, range_string)
workbook
text required
range_string
text required