Summarizing and reporting data from several sheet columns
Hey all, I'm having trouble figuring out how to summarize data for a specific time period, for a specific customers. I have a date column, a customer plant column and total defects column. My Liaisons add data to the sheet when defects are found at the customer plant for which they cover. So I have several line items for each customer spanning months.
I want to sum the total number of defects for each customer for a specific time period, say each month. I am having trouble trying to figure out how to do this.
Here's an example of what my sheet looks like
Answers
-
Hi @Joni S
You can use a SUMIFS formula for this!
If you set up a metrics sheet with each Customer Plant listed in a grid, then you can reference the name of the Customer Plant in your formula and write one formula for each line, like so:
In my example, I have a separate column for the MONTH number I'm looking for. Then I can use this in my formula to check the MONTH in the cell of the other sheet and compare it to this number, like so:
MONTH(@cell) = Month@row
However the MONTH function can error when it looks through blank cells, so I'll wrap an IFERROR around it:
IFERROR(MONTH(@cell), 0) = Month@row
That's now my criteria for the SUMIFS!
Full Formula:
=SUMIFS({Total Defects Found}, {Customer Plant}, [Customer Plant]@row, {Created Date}, IFERROR(MONTH(@cell), 0) = Month@row)
This means you can drag-fill it down your Metrics sheet and it will auto-update with numbers based on the Month you specify in the Month column and the Customer Plant. Is this what you were looking to do?
Cheers,
Genevieve
Join us for Jumpstart 2025 with Community on 23 January (in two time zones)! 🎉 Register here.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 444 Global Discussions
- 142 Industry Talk
- 473 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!