简体   繁体   中英

Get Link to this cell in Google sheets

How can I get a link to cell in sheets with a formula or appscript? I have a column A with 200 rows and want to get the links of all cells populated in column B

try:

=ARRAYFORMULA(IF(B:B="",,HYPERLINK("#gid=1734824104&range=B"&ROW(B:B), B:B)))

0

where gid number can be found here:

在此处输入图像描述

Right click on the first cell (A1) and copy the link to that cell. Then use that link like the example below and drag this down.

=CONCATENATE(" https://docs.google.com/spreadsheets/d/a1a1a1a1a1a1/edit#gid=111111&range=A ",ROW()))

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM