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. II. I've taken that newsletter and expanded it into a deep-dive post about the GETPIVOTDATA function. ➜ 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( " 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.
Brought to you by: Hi Reader, Welcome to the Google Sheets Tips newsletter #343, your Monday morning espresso, in spreadsheet form. Thanks for all the well wishes I received to last week's email! I'm two weeks into the recovery from sinus surgery and things are slowly but surely returning to (a new) normal. I'm taking daily walks around my neighborhood, going slightly further each day. For the first couple of days I needed my wife as a support to hold on to, as I shuffled up and down the...
Brought to you by: Hi Reader, Welcome to the Google Sheets Tips newsletter #342, your Monday morning espresso, in spreadsheet form! Whew, it's been quite the week in my household. Last week I had sinus surgery to alleviate some long-standing sinus issues I've had. It was a nearly 6-hour surgery so I was completely out-of-it for a day or two afterwards. When I came round they asked if I wanted a drink. I said "some water" but I couldn't speak clearly because of the bandages etc. The nurse...
Brought to you by: Hi Reader, Welcome to the Google Sheets Tips newsletter #341, your Monday morning espresso, in spreadsheet form! Hope you're out enjoying the beautiful Spring weather 🌱🌼 if you're in the Northern Hemisphere. And Fall if you're down south! ➜ News I.In case you missed it earlier in the month, I've now put the replay from the live Lambda Functions website on YouTube. Watch "Unlocking the Secrets of Lambda Functions" and grab the template for free here: II.My friend, and fellow...