动态创建超链接_创建动态超链接

本文介绍了如何在Excel中使用数组公式和数据验证动态创建超链接。首先,通过数据验证创建国家/地区下拉列表,然后使用数组公式查找最大人口及其所在行。接着,利用行号和城市名称构建超链接公式,使用户能跳转到对应的城市信息。最后,提供了观看相关视频的链接以获取更详细的创建过程。
摘要由CSDN通过智能技术生成

动态创建超链接

Last week, I heard from Kevin Lehrbass, who runs the My Spreadsheet Lab website. Kevin has posted an Excel video on YouTube, that shows how you can make a dynamic hyperlink, using array formulas.

上周,我收到了运行My Spreadsheet Lab网站的Kevin Lehrbass的来信。 凯文(Kevin)在YouTube上发布了一个Excel视频,展示了如何使用数组公式创建动态超链接。

Select a country from a drop down list, and click on the hyperlink to go to the selected country’s largest city. Well, you’ll go to that location in the table – you won’t actually end up in the city!

从下拉列表中选择一个国家,然后单击超链接转到所选国家最大的城市。 好吧,您将转到表格中的该位置-您实际上将不会最终进入城市!

选择一个国家 (Select a Country)

At the top of the worksheet, Kevin created a drop down list of countries, by using data validation. You’ll start by selecting a city in that cell.

在工作表的顶部,Kevin通过使用数据验证创建了一个国家/地区下拉列表。 您将从在该单元格中选择一个城市开始。

hyperlinkdynamic

找到最大的人口 (Find the Largest Population)

In the cells below the city, Kevin uses array formulas to find the largest population for that country, and the row in which that population is found.

在城市下面的单元格中,凯文使用数组公式查找该国家/地区的最大人口以及该人口所在的行。

hyperlinkdynamic02

If you need help with this step, you can see the instructions for MIN IF and MAX IF on my website, and watch my short video. It uses an example with office supply quantities.

如果您需要有关此步骤的帮助,可以在我的网站上查看有关MIN IF和MAX IF的说明,并观看我的简短视频。 它以办公室供应数量为例。

minmax05

创建一个超链接 (Create a Hyperlink)

Next, Kevin creates a hyperlink formula that uses the row number and city name. The # sign at the start of the reference is how you link to a cell within the workbook.

接下来,凯文创建一个使用行号和城市名称的超链接公式。 参考开始处的#号是您如何链接到工作簿中的单元格的方法。

Click on the link to go to the selected country’s largest city. Of course, you’ll go to that location in the table – you won’t actually end up in the city.

单击链接转到所选国家/地区最大的城市。 当然,您将转到表格中的该位置-您实际上不会最终到达城市。

hyperlinkdynamic03

You can find more details on the HYPERLINK formula, and another short video, on my Contextures site: Excel HYPERLINK Function

您可以在我的Contextures网站上找到有关HYPERLINK公式的更多详细信息和另一个短片: Excel HYPERLINK函数

观看视频 (Watch the Video)

To see how to create the dynamic hyperlink, watch Kevin’s video. At the end of the video, Kevin combines the separate formulas into one large formula. You could skip that step, if you’d rather, and just hide rows 8 and 9, with the population and row formulas.

要查看如何创建动态超链接,请观看Kevin的视频。 在视频的结尾,Kevin将单独的公式组合为一个大公式。 如果愿意,您可以跳过这一步,只用填充和行公式隐藏第8行和第9行。

演示地址

翻译自: https://contexturesblog.com/archives/2013/04/04/create-a-dynamic-hyperlink/

动态创建超链接

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值