简体   繁体   中英

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

Basically, cell A has an ID number in it. I want the adjacent cell B to contain a link to that ID page on my website. So for example, | 938294839 | website.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)

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