|
Brought to you by:
Welcome to the Google Sheets Tips newsletter #322, your Monday morning espresso, in spreadsheet form. After last week's elegant FILTER formula, I have another elegant FILTER formula for you. How lucky are you!?! ;) That wasn't by design though. I thought I had an idea for this week until I checked the newsletter βarchivesβ and realized I'd covered it back in February 2024 as tip 290. So I searched my email correspondence related to that tip and found a goldmine of ideas. So today I'm sharing one of those with you. But first, a little story... When began my accounting career in 2006, one of the first things my boss had me do was download an Excel Add In that added a suite of powerful utility tools to Excel. Things like removing duplicates, merging columns, doing text transformations. All the tedious stuff that is tricky to do with formulas and can eat up all your time. Well, this tool simplified all those types of tasks by reducing them to the click of a few buttons. It was indispensable part of my spreadsheet toolkit. Fast forward to today, and I use βPower Tools in Google Sheetsβ to do the same thing. So I was delighted to partner with them for this issue. Below, I show you how to compare columns with an elegant formula. But this is also the bread-and-butter type of job that Power Tools does. So check them out below. Happy Halloween for Thursday! π β NewsI. Any AppSheet builders out there? One of the more challenging aspects of building apps with lots of users is, well, managing all those users. To solve this, my friend and fellow GDE, Vo Tu Duc, has created Onboardly, an AppSheet app to automate user onboarding and management. ββLearn more here >>β β Sheets Tip #322: Comparing two columnsIn βtip 290β (February 2024), we looked at formulas to compare two lists of numbers. Today I want to build on that and show you a nice formula that returns the values that exist in only one of the lists. Consider this data: We want to create a formula that will find all the values in column 1 that are NOT in column 2. For example, the value "FL53802" occurs in both columns, so I don't want it to show in the new list. Let's create the formula that builds this new list. Start with this βXMATCH functionβ in cell B2: =XMATCH(A2:A,D2:D) In this example, it gives an #N/A error message because it doesn't find the first value of column 1 in column 2. Wrap it with ISNA to test if it's an error or not: =ISNA(XMATCH(A2:A,D2:D)) This gives a TRUE value. So far, so good. But it's only giving an output for the first row, how do we expand it to all the rows? Ah ha! This is where the magical FILTER function really shines. It will take the array inputs and give us array outputs, without needing an array formula designation. Add in the βFILTER functionβ so that our formula in cell B2 looks like this: =FILTER(A2:A,ISNA(XMATCH(A2:A,D2:D))) And voilΓ ! Like βlast week's tipβ, this is another elegant formula that uses the special array properties of the FILTER function. 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 #373, your Monday morning espresso, in spreadsheet form! January is a great time to sharpen your Google Sheets fundamentals: those small skills you build now that will save you time all year. One of the best examples is learning a few simple keyboard shortcuts, which is what we're going to see today. You probably already use Ctrl + C and Ctrl + V to copy and paste values, and can appreciate how this is quicker than...
Brought to you by: Hi Reader, Welcome to the Google Sheets Tips newsletter #372, your Monday morning espresso, in spreadsheet form! Hoping your 2026 is off to a great start! I'm feeling positive and optimistic for 2026, but reality has also kept me grounded ;) I've only had one work day so far (kids were off sick most of last week, thankfully both better) and I'm now under the weather myself. But it's not too bad and hopefully will pass within a day or two. I finally published my end-of-year...
Brought to you by: Hi Reader, Happy New Year! π Welcome to the Google Sheets Tips newsletter #371, your first Monday morning espresso of 2026, in spreadsheet form! I usually write a year-in-review post over the holidays but this holiday was so busy that I didn't get round to it. It's a valuable exercise to reflect on the year gone and think about what I want to achieve this year. So I'm still planning to write one and will share it when I do. I hope you had a wonderful holiday season and feel...