Sheets Tip #312: The Missing Link πŸ”—


Brought to you by:


Hi Reader,

Welcome to the Google Sheets Tips newsletter #312, your Monday morning espresso, in spreadsheet form!

My sons go back to school this week and I'm looking forward to getting back to a regular routine. The summer was amazing but loooong. After 11 weeks, we're all ready for school to begin.

In this newsletter, we're looking at how to use hyperlinks in Google Sheets. And, if you're an advanced user, I've got a spicy formula for you at the end of the newsletter.

Finally, I'm always in need of Google Sheets problems to address in these newsletters! ;)

So, if you've got a burning Google Sheets question or a killer tip that you'd love to share, let me know. I can't promise that I'll publish it. But your input is super valuable to keep the newsletter relevant.


Brought to you by: SheetsFinance

Access premium financial data directly from Google Sheets

SheetsFinance connects your Google Sheets to real-time and historical market data through a suite of powerful functions, free templates and in-built tools, allowing you to build dynamic dashboards, watchlists, portfolio trackers and valuations in a matter of minutes.

With 30+ years of detailed data for over 80,000 global stocks, crypto and more – join 1000s of investors benefitting from data-driven decision making.


➜ News

I.
​
Look out for a new "Convert to table" prompt in Google Sheets, rolling out over the next few weeks.

It's an automated way to transform your datasets into the new Tables format, with all the inherent benefits.

​Read more here >>​

II.
​
In last week's newsletter we looked at the tricky GETPIVOTDATA function.

I've taken that newsletter and expanded it into a deep-dive post about the GETPIVOTDATA function.

​Read it here >>​


➜ Sheets Tip #312: Links πŸ”—

In this tip, let's talk about adding links to our Sheets.

We can add external links to other sites (even other Google Sheets!) from our current Google Sheet.

Or we can add internal links to help with navigation within our current Google Sheet.

And for you advanced users, I've got a spicy hyperlink formula to share with you at the end of this post...

Adding Links

Creating links in Google Sheets is easy-peasy.

Here's how... are you ready for this... drumroll please...

  • Copy the URL and paste it into a cell of your Sheet.
  • Press Enter twice to activate the link.

πŸ’₯ Boom! That's it!

You can modify what the link looks like in the Sheet. Click on the link cell and then click on the pen symbol to edit the link. Replace the long URL with a short, friendly name.

Here's what this looks like in action:

You can also add a link by right clicking on a cell. Then select "Insert link" from the menu and add the URL and name.

Adding Links with Hyperlink Function

You can also use the HYPERLINK function to add links, which looks like this:

=HYPERLINK( "<URL>" , "<FRIENDLY NAME>" )

Here's an example:

=HYPERLINK("https://www.benlcollins.com/spreadsheets/getpivotdata/","GETPIVOTDATA tutorial")

Adding Multiple Links in Single Cell

One last thing, you can have multiple links inside a single cell!

To do this, add the URLs or names to your Sheet, then highlight the separate sections and select the link symbol in the toolbar. Add the URL for each link separately.

This image shows the process:

Adding Internal Links

Internal links are links that take you to other parts of your Google Sheet.

A classic use case is to build an index page if you have a lot of Sheets in your Google Sheet file. This lets users navigate easily to other parts of the Google Sheet.

To add an internal link to a cell:

  • Right click to bring up the menu
  • Select "Insert link"
  • Click on "Sheets and named ranges β†’"
  • Select a cell or range to link

Alternatively, go to the destination cell first (i.e. where you are trying to link to) and right click. Then select:

  • "View more cell actions" > "Get link to this cell"

That spicy HYPERLINK formula I promised 😎

This formula uses creates a link to jump us to the next blank row of a data table!

It might be useful with big data tables that require frequent data entry.

Here's how it works:

When you click on "Add Data" it takes you to the bottom of the dataset, to the next blank row.

If you add new data, then the next time you click on "Add Data" it takes you to the new bottom of the dataset.

Nice!

And this is the formula:

=HYPERLINK( "#gid=0&range=A" & ArrayFormula( MAX( IF( ISBLANK(A2:A), 0, ROW(A2:A))))+1 , "Add Data")

To make it work, you might need to change the "gid" number (0 in this example) to match the "gid" shown in the URL of your Google Sheet (e.g. might be something like "1001194938").

It works by finding the row number of the last non-blank cell, then adding that to "A" to create a cell reference, e.g. "A44".

This is fed into the HYPERLINK function.

Spicy stuff! 🌢️


If you enjoyed this newsletter, please forward it to a friend who might enjoy it.

Have a great week!

Cheers,
Ben

P.S. The real reason it's called the world wide web πŸ•Έ

Google Sheets Tips

Get better at working with Google Sheets! Join 50,000 readers to get an actionable tip in your inbox every Monday.

Read more from Google Sheets Tips
Lightning strike at sea

Hi Reader, Welcome to the Google Sheets Tips newsletter #315, your Monday morning espresso, in spreadsheet form! I want to start by sharing this extraordinary photo with you: It was taken last week off the coast of Barcelona. You can see a sailing yacht in the bottom right corner, rather too close for comfort. (Here's what it looked like to the sailors onboard!) But this is no ordinary sailing yacht. It's Luna Rossa, the Italian entry in the 37th America's Cup, the oldest international sports...

Brought to you by: Hi Reader, Welcome to the Google Sheets Tips newsletter #314, your Monday Tuesday* morning espresso, in spreadsheet form! * arriving on a Tuesday because yesterday was a public holiday in the US (Labor Day) In case you missed it, last week I sent an email about a new membership program I'm launching soon. Over the next few weeks I'm going to send some behind-the-scenes emails with all the details about this program. If you're interested, click here to get them (Does not...

Type @ followed by date to bring up the date menu in a cell of Google Sheets

Brought to you by: Hi Reader, Welcome to the Google Sheets Tips newsletter #313, your Monday morning espresso, in spreadsheet form! I published my first Google Sheets tutorial 10 years ago, in October 2014. Wow, time flies! Since then, I’ve published 250+ free tutorials on my website, 313 editions of this newsletter, and 21 online courses. We live in an amazing age where it’s possible for an individual contributor to reach a global audience with their ideas. I’m incredibly grateful to be able...