Skip to main content

Export & Import

Lido provides action formulas for exporting spreadsheet data to external files and importing data from external sources.


Export​

EXPORTWORKSHEETSASEXCEL​

Exports one or more worksheets as an Excel file.

Syntax:

=EXPORTWORKSHEETSASEXCEL(worksheet_names, destination)
=EXPORTWORKSHEETSASEXCEL(worksheet_names, destination, status_ref)

Parameters:

ParameterDescriptionRequired
worksheet_namesName(s) of worksheets to exportYes
destinationDestination folder URLYes
status_refCell reference to write statusNo

EXPORTWORKSHEETASCSV​

Exports a worksheet as a CSV file.

Syntax:

=EXPORTWORKSHEETASCSV(worksheet_name, destination)
=EXPORTWORKSHEETASCSV(worksheet_name, destination, status_ref)

Parameters:

ParameterDescriptionRequired
worksheet_nameName of the worksheet to exportYes
destinationDestination folder URLYes
status_refCell reference to write statusNo

EXPORTASCSV​

Exports data directly as a CSV file.

Syntax:

=EXPORTASCSV(data, destination)
=EXPORTASCSV(data, destination, status_ref)

Parameters:

ParameterDescriptionRequired
dataData to exportYes
destinationDestination folder URLYes
status_refCell reference to write statusNo

EXPORTASFILE​

Exports data as a file.

Syntax:

=EXPORTASFILE(data, destination)
=EXPORTASFILE(data, destination, status_ref)

Parameters:

ParameterDescriptionRequired
dataData to exportYes
destinationDestination folder URLYes
status_refCell reference to write statusNo

APPENDTOGOOGLESHEET​

Appends rows to a Google Sheet.

Syntax:

=APPENDTOGOOGLESHEET(credential, sheet_id, values)
=APPENDTOGOOGLESHEET(credential, sheet_id, values, status_ref)

Parameters:

ParameterDescriptionRequired
credentialGoogle credential IDYes
sheet_idGoogle Sheet ID or URLYes
valuesData to appendYes
status_refCell reference to write statusNo

UPDATECELLINGOOGLESHEET​

Updates a cell in an external Google Sheet.

Syntax:

=UPDATECELLINGOOGLESHEET(credential, spreadsheet_id, range, value)
=UPDATECELLINGOOGLESHEET(credential, spreadsheet_id, range, value, status_ref)

Parameters:

ParameterDescriptionRequired
credentialGoogle credential IDYes
spreadsheet_idGoogle Sheet ID or URLYes
rangeCell range to update (e.g., "Sheet1!A1")Yes
valueValue to writeYes
status_refCell reference to write statusNo

Import​

IMPORTGOOGLESHEET​

Imports data from a Google Sheet.

Syntax:

=IMPORTGOOGLESHEET(credential, sheet_id, range, output_ref)
=IMPORTGOOGLESHEET(credential, sheet_id, range, output_ref, status_ref)

Parameters:

ParameterDescriptionRequired
credentialGoogle credential IDYes
sheet_idGoogle Sheet ID or URLYes
rangeCell range to import (e.g., "Sheet1!A1:D10")Yes
output_refCell reference to write the imported dataYes
status_refCell reference to write statusNo

IMPORTEXCELWORKSHEET​

Imports data from an Excel file.

Syntax:

=IMPORTEXCELWORKSHEET(credential, source_id, worksheet_name, output_ref)
=IMPORTEXCELWORKSHEET(credential, source_id, worksheet_name, output_ref, status_ref)

Parameters:

ParameterDescriptionRequired
credentialCredential IDYes
source_idFile source identifierYes
worksheet_nameName of the worksheet to importYes
output_refCell reference to write the imported dataYes
status_refCell reference to write statusNo

IMPORTJSON​

Imports data from a JSON source.

Syntax:

=IMPORTJSON(credential, source_id)
=IMPORTJSON(credential, source_id, output_ref, status_ref)

Parameters:

ParameterDescriptionRequired
credentialCredential IDYes
source_idJSON source identifierYes
output_refCell reference to write the imported dataNo
status_refCell reference to write statusNo