Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() I have a list of Employee names belonging to different depts with hours worked. I want to add up the total hours for each dept. Cell A1 - A75 Employee name B1 - B75 Dept (eg Sales, Warehouse, Office) E1 - E75 Hours worked I would like to return Sales = Total Hours Warehouse = Total Hours Please help it is driving me mad!! -- LouM |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You need SUMIF:
=SUMIF(B1:B75,"Sales",E1:E75) HTH Kostis Vezerides On Feb 25, 2:46 pm, LouM wrote: I have a list of Employee names belonging to different depts with hours worked. I want to add up the total hours for each dept. Cell A1 - A75 Employee name B1 - B75 Dept (eg Sales, Warehouse, Office) E1 - E75 Hours worked I would like to return Sales = Total Hours Warehouse = Total Hours Please help it is driving me mad!! -- LouM |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Make a list of your different departments - Sales, Warehouse, Office
etc. Suppose this list is in coumn M, starting in M1. Then in N1 you can put this formula: =SUMIF(B1:B75,M1,E1:E75) and copy this down the column for as many departments as listed in column M. Hope this helps. Pete On Feb 25, 12:46*pm, LouM wrote: I have a list of Employee names belonging to different depts with hours worked. I want to add up the total hours for each dept. Cell A1 - A75 Employee name B1 - B75 *Dept (eg Sales, Warehouse, Office) E1 - E75 Hours worked I would like to return Sales = *Total Hours Warehouse = Total Hours Please help it is driving me mad!! -- LouM |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Get Cell Address From Lookup (Alternative to Lookup) | Excel Worksheet Functions | |||
Variable Lookup/Double Lookup | Excel Worksheet Functions | |||
Join 2 Lists - Lookup value in 1 list & use result in 2nd lookup | Excel Worksheet Functions | |||
Sumproduct - Condition based on lookup of a Lookup | Excel Discussion (Misc queries) | |||
Pivot table doing a lookup without using the lookup function? | Excel Discussion (Misc queries) |