简体   繁体   English

Excel列等于文本和单元格

[英]Excel Column Equal to Text and Cell

I'm trying to fill a column with an url as the text and column data directly after the slash in the url from another column. 我正在尝试使用URL作为另一列的URL中的斜杠后的URL和文本数据直接填充一列。

For example i want to input http://xxx.xxx.xxx/ column data goes here 例如我想输入http://xxx.xxx.xxx/列数据在这里

The text would be the url address and right after the slash is where i need the column data to go. 文本将是url地址,并且在斜线之后即是我需要列数据的位置。

can anyone help me out? 谁能帮我吗?

尝试CONCATENATE函数。

=CONCATENATE("http://xxx.xxx.xxx/", A1)

I think you might want to use a formula like this: 我认为您可能想使用这样的公式:

=HYPERLINK(CONCATENATE(A2,B2))

... in which case you'd get the following results (given that the links etc. are on row 2 of the spreadsheet): ...在这种情况下,您将获得以下结果(假设链接等位于电子表格的第2行):

A                       B   C
http://www.example.com/ xyz http://www.example.com/xyz

With the formula above in cell C2, not only do you have the concatenated link, but the user can click on it to open a browser at the linked page. 使用单元格C2中的上述公式,您不仅具有串联的链接,而且用户可以单击它来在链接的页面上打开浏览器。

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

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