|
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.
Hi Reader, Welcome to the Google Sheets Tips newsletter #391, your Monday morning espresso, in spreadsheet form! (Sorry there was no newsletter last week. I was sick!) This week we're looking at a cool use case for Google Sheets that most folks have no idea about. Creating QR codes! With a few simple formulas you can create QR codes in your Sheets that you could use to track inventory, accept invitations, or even print out to use at an event. First, a housekeeping announcement: after today,...
Hi Reader, Welcome to the Google Sheets Tips newsletter #390, your Monday Tuesday* morning espresso, in spreadsheet form! * public holiday in the US yesterday. Speaking of coffee, I usually work from my local coffee shop twice a week. It makes for a nice change of scenery from home. And everytime I order the same thing: a regular cappuccino, no frills, no syrups, no fancy milks. I think it says a lot about my personality and stage in life. As a working parent, neck deep in the world of AI,...
Brought to you by: Hi Reader, Welcome to the Google Sheets Tips newsletter #389, your Monday morning espresso, in spreadsheet form! After a major work sprint to launch the 28 Days to Gemini Mastery course earlier this spring, I recently took a few weeks off to visit my brother and his family in Australia. We spent time hiking and packrafting in Tasmania's remote and beautiful Southwest National Park. It was an incredible trip and, without cell service for 12 days, a true break from the noise...