Brought to you by:
Welcome to the Google Sheets Tips newsletter #348, your Monday morning espresso, in spreadsheet form! Every year I support my sister-in-law's fundraiser for Takoma Elementary School by donating a bundle of all my courses. The full retail price is $999 and at the time of sending this email the current bid is $250. It's a great opportunity to grab all my courses for a reduced price and support a good cause. ➜ NewsI. I've had a quick look and it's a big step forward. II. ➜ MembershipI'm working hard behind the scenes to move the membership to a bigger, better platform, where the content and community can really shine. Over the coming months, I'll be improving the membership by adding learning pathways and a Q&A forum. We've also seen some killer demos recently in the membership. Last week, we looked at using the new AI function, Gemini, and Apps Script to create an automated feedback tool for teachers. Starting with educational data, this AI tool turns student exam scores into draft email responses in Gmail, ready to send. A massive time saver! Join today to get access to these exclusive tutorials, live workshops, full archives and much more. Check out Sheets Insiders here ➜ Sheets Tip #348:In this tip, we look at an elegant formula that generates all possible pairings from two lists. In technical lingo, this is called a crossjoin. One obvious application of this is for SEO work, generating lists of keywords to focus on. Suppose we have our first list in column A and our second list in column B. Row one is a header row. Step 1Use the TRANSPOSE function to turn list 2 into a row format: =TRANSPOSE(B2:B4) which looks like this in our Sheet: Step 2Use an Array Formula to combine all variations of list 1 and 2: =ArrayFormula(A2:A5&" "&TRANSPOSE(B2:B4)) The &" " adds a space between the two words. The output is an array of all possible combinations (called a crossjoin): Step 3Wrap this with TOCOL to convert the array into a single column: =ArrayFormula(TOCOL(A2:A5&" "&TRANSPOSE(B2:B4))) which looks like this in our Sheet: Step 4Sort the data with the SORT function. SORT also has the nice property of being an array formula by design, so we can drop the ArrayFormula syntax to make our formula cleaner: =SORT(TOCOL(A2:A5&" "&TRANSPOSE(B2:B4))) This gives us the list of all possible combinations: Nice! If you enjoyed this newsletter, please forward it to a friend who might enjoy it. Have a great week! Cheers, P.S. Ever wondered what would happen if you swam in a nuclear storage pool? Well, now you know. |
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 #347, your Monday morning espresso, in spreadsheet form! Redwoods are incredible trees. Not only for their vast size, but also how long they've been alive. I was fortunate to bike through the redwoods in 2014 with my brother. Such magnificent trees! But why am I talking about redwoods? Well, I wanted a nice picture for the example in today's newsletter. Originally, I was going to use company logos, but then I thought...
Brought to you by: Hi Reader, Happy Monday! Welcome to the Google Sheets Tips newsletter #346, your Monday morning espresso, in spreadsheet form. This week's tip comes from a reader who emailed in with a question about Tables in Google Sheets. The answer was yet another benefit to using Tables that I hadn't previously noticed. Check it out below, after this week's news and sponsor message. ➜ News I.Staying with Tables... For developers, Tables are now part of the Google Sheets API...
Brought to you by: Hi Reader, Welcome to the Google Sheets Tips newsletter #345, your Monday morning espresso, in spreadsheet form! A couple of weeks ago I was looking over a Google Sheet with my wife (we help each other with business problems). My wife was extracting town names from a list of addresses and used the Smart Fill feature to automate it. She extracted the first two examples and then Smart Fill did the rest. "Woah, hang on a sec", I said "show me that again." I didn't realize that...