Brought to you by:
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. β NewsI. It's an automated way to transform your datasets into the new Tables format, with all the inherent benefits. βRead more here >>β II. 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 LinksCreating links in Google Sheets is easy-peasy. Here's how... are you ready for this... drumroll please...
π₯ 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 FunctionYou 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 CellOne 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 LinksInternal 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:
Alternatively, go to the destination cell first (i.e. where you are trying to link to) and right click. Then select:
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, |
Get better at working with Google Sheets! Join 50,000 readers to get an actionable tip in your inbox every Monday.
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...
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...