0

I want to replace the sheet name with gid number in Google Sheets.

=importrange("1anqeokmYsrtsdssdsx9QHOXqoVkgio254O8","Sheet1!K5:M5")

How can I replace the Sheet1! with its gid number?

1

At this time, IMPORTRANGE doesn't use GID, only the sheet name.

If you want to use GID instead of using a built-in function, you should use a custom function, a script or an add-on.

For further details see

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.