|
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 #376, your Monday morning espresso, in spreadsheet form! I've been using Gemini and Gemini Canvas a lot recently for various projects. It's mind-blowing how quick it is at generating formulas and scripts that work. We're definitely at the threshold (or maybe already past it 🤔) where it doesn't make sense to write your own complex formulas or code from scratch (for specific problems with limited scope). Having said...
Brought to you by: Hi Reader, Welcome to the Google Sheets Tips newsletter #375, your Monday morning espresso, in spreadsheet form! We're still in an ice box on the east coast of the US with the snow set to hang around for a while yet. It's beautiful but I am looking forward to the ice melting so it's easier to get around. The Potomac river is covered with ice Today's newsletter is not directly related to Google Sheets. Instead, I'm sharing the sources I use to stay informed of AI...
Brought to you by: Hi Reader, Welcome to the Google Sheets Tips newsletter #374, your Monday morning espresso, in spreadsheet form! Coming to you from the cold and snowy East Coast of the US. We didn't quite get the 20 inches of snow forecast earlier in the week, but we did end up getting around 8 - 10 inches of very dry, powdery snow. And with the temps rarely getting above 20 F (-7 C) this week, it's going to stick around for a while yet. School is closed so you'll probably find me and my...