SUMIFS Formula Help

I want a cell to count the total hours for different kinds of employees. The columns I have are:
Job #, Date, Employee name, Employee type, employee hours
I want to add up the total hours for each employee type, on the same sheet or another sheet, I just need help to add them up by type.
Answers
-
=SUMIFS([Employee Hours]:[Employee Hours], [Employee Type]:[Employee Type], "EMPLOYEE TYPE 1")
Michelle Choate
michelle.choate@outlook.com
Always happy to walk through any project you need help with! Book time with me here: https://calendly.com/michelle-choate
-
Hi @Aaron Kennedy !
I suggest using the SUMIF formula for this ask. If you are just doing the formula on the same sheet your formula can look like the following:
=SUMIF([Employee Type]:[Employee Type], "Employee X", [Employee Hours]:[Employee Hours])
This formula is using Employee X as the employee type that you are calculating hours for. You will need to replace it for each employee type you plan on calculating hours for. You can store this formula in the sheet summary or at the top of the sheet in a sheet summary collapsible row.
You can also set up a rollup sheet (what I prefer to do) especially if you plan on pulling this information from multiple sheets.
If you plan on using data from outside sheets you will have to set up cross-sheet references (see link below) and change your range at the beginning of the formula [Employee Type]:[Employee Type] to your cross sheet reference. When pulling from multiple sheets I usually use the addition feature to get a total value which ends up looking like:
=SUMIF({Sheet 1 - Employee Type}, "Employee X", [Employee Hours]:[Employee Hours]) + SUMIF({Sheet 2 - Employee Type}, "Employee X", [Employee Hours]:[Employee Hours])
Additional help resources:
SUMIF help:
Cross-sheet referencing help:
Hope this helps!
-Ashley
Ashley Knight
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 68K Get Help
- 474 Global Discussions
- 208 Use Cases
- 517 Announcements
- 5.6K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 85 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!