|
Brought to you by:
Welcome to the Google Sheets Tips newsletter #385, your Monday morning espresso, in spreadsheet form! It's that time of year when you need hat and gloves one day and shorts and sunscreen the next. Last week, we had back-to-back days of 90°F. I'm sure it happens every Spring, but I always find it surprising how quickly the seasons change. Thankfully, we've also enjoyed plenty of days in the 60s and 70s (the preferred operating temperature of this Englishman). I love Spring though, when the natural world bursts into life again after a long winter. Spring announces its arrival with vivid greens and carpets of wildflowers, to replace the drab palette of greys and browns of the colder months. Wherever you are, I hope you can find time to get away from your screens and appreciate the beauty of mother nature. ➜ NewsI. I'm not attending this year but will keenly follow the announcements, and I'll share a roundup relevant to us Sheets and Workspace users in due course. ➜ Sheets Tip #385, in which we pay tribute to the hard-working, journeyman formula SUMIFWhilst more showy functions like QUERY or fancy LAMBDA functions grab all the headlines, there are humble, hardworking formulas like SUMIF that remain the bedrock of our data analysis work. The SUMIF filters and sums values in your data. As the name implies, it's really an IF test followed by a SUM. Think of it like this: it takes a series transactions and only hits the "plus" button on his calculator for transactions that pass the criteria. SUMIF ExampleImagine you’re tracking expenses for your local sports club. You have a list of expenses in Column A (Categories) and the costs in Column B. To find out exactly how much you've spent on "Equipment," you’d use: =SUMIF(A2:A10, "Equipment", B2:B10)The formula tests column A for the value “Equipment”, and, if it matches, adds the value from column B to the total. And that's it! No more manual filtering or sorting to figure out the Equipment total. Anatomy of the Formula=SUMIF(range, criterion, [sum_range]) Range: Where are we looking? (e.g., your list of categories). Criterion: What are we looking for? (e.g., "Groceries" or ">100"). Sum_Range: What are we actually adding up? (If different from the first range). If the third argument is omitted then the first range will also be used for the sum. This could be used to sum all values above $100, like this, for example: =SUMIF(B2:B10,">100") Pro TipIf you want to sum everything that isn't a certain category, use the "not equal to" operator: For example: =SUMIF(A2:A10,"<>Admin",B2:B10) will give you the total of everything except those pesky administrative costs. Thank you, SUMIF 🫡, keep doing the heavy lifting for us all! 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 #384, your Monday morning espresso, in spreadsheet form! Normally with these Google Sheets Tips, I make them as practical as possible, so that you can apply them to your work. Today, however, I'm going to show you The Ultimate Spreadsheet Prank as a way of understanding how custom number formats work. And if that doesn't float your spreadsheet boat, well then, I don't know what will. Find this tutorial below the news...
Hi Reader, Welcome to the Google Sheets Tips newsletter #383, your Monday morning espresso, in spreadsheet form! NASA's Artemis II mission blasted off towards the moon last week. I watched the launch live with my son (on YouTube, not in person, haha). The launch was exhilarating; I was holding my breath for the 10-second countdown! I'm excited to follow along with the remainder of the mission and see close-up images of the moon. In fact, as I press send on this email, they are scheduled to...
Hi Reader, Welcome to the Google Sheets Tips newsletter #382, your Monday morning espresso, in spreadsheet form! If you feel like the AI wave is moving faster than you can keep up with, you aren't alone. The gap between "playing with a chatbot" and "building reliable AI systems" feels wider than ever, and that feeling is only increasing with every new AI announcement. For the past couple of months, I’ve been working on a new course to help address this challenge. Next Monday, I’m opening...