0
URLs Sample
A:https://stackoverflow.com/questions/ask?a=""
B:https://stackoverflow.com/questions/ask?b=""
C:https://stackoverflow.com/questions/ask?c=""
     A             B            C
1 AA10002143    BBANZIEC    CC123415
2 AA21001234    BBCSKAUD    CC123556 
3 AA11231214    BBKLKFSH    CC134564

我需要一个将单元格的值和文本字符串组合在一起的公式,该公式将在HYPERLINK函数中完成 URL。我尝试了以下公式,但它不起作用:

=HYPERLINK([https://stackoverflow.com/questions/ask?c="]Sheet1!C1&["],C1)

任何帮助都将不胜感激。

4

1 回答 1

0

尝试,

=HYPERLINK("https://stackoverflow.com/questions/ask?c="&Sheet1!C1, Sheet1!C1)
'convert spaces in url to %20
=HYPERLINK("https://stackoverflow.com/questions/ask?c="&substitute(Sheet1!C1, " ", "%20"), Sheet1!C1)
于 2018-09-20T06:57:57.023 回答