简体   繁体   English

Google 表格 - 如何解析与另一个单元格中的数据的链接?

[英]Google Sheets - How to parse link with data from another cell?

Basically, cell A has an ID number in it.基本上,单元格 A 中有一个 ID 号。 I want the adjacent cell B to contain a link to that ID page on my website.我希望相邻的单元格 B 包含指向我网站上该 ID 页面的链接。 So for example, |例如,| 938294839 | 938294839 | website.com/938294839 |网站.com/938294839 | Is there anyway to automatically generate the link based off info in another cell?无论如何,是否可以根据另一个单元格中的信息自动生成链接?

Just assemble the string:只需组装字符串:

A1   |  B1
----------
stem | =concat("https://website.com/", $A1)

Sheets will detect the resulting link for you.表格将为您检测生成的链接。

all you need is:所有你需要的是:

="https://website.com/"&A1

for array it would be:对于数组,它将是:

=ARRAYFORMULA("https://website.com/"&A1:A10)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何将Google表格链接到Google Dialogflow以从表格中检索数据? - How to link Google Sheets to Google Dialogflow to retrieve data from sheets? 通过第三方链接将数据写入 Google 表格中的单元格 - Writing data to a cell in Google Sheets from a 3rd party link 如何根据谷歌表格中另一个单元格的数据验证下拉列表中的选项更改单元格值 - How To Change A Cell Value Based On Option In A Data Validation Drop Down List From Another Cell In Google Sheets 谷歌表格,如何根据来自另一个单元格的字符串更改单元格 - Google sheets, how to change cell based on string from another cell onEdit 特定单元格将数据从一个谷歌表格复制到另一个 - onEdit specific cell copy data from one google sheets to another 如何将数据从一个单元格中的连接字符串获取到 Google 表格中的另一个表格? - How to get data from concatenated strings in one cell to another table in Google Sheets? 如何在Google表格中将值从一个单元格转移到另一个单元格 - How To Transfer A Value From One Cell To Another In Google Sheets 如何从谷歌表格中的另一个单元格引用公式 - how to reference a formula from another cell in google sheets 谷歌表格 output function 数据到另一个单元格 - Google sheets output function data to another cell Google表格可以将一个单元格更改为另一个单元格 - Google Sheets change one cell from another
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM