Google Exceltip.com
Account Icon
Shopping Cart
CheckOut

» Summing the Number of Hours an Employee Worked During a Two Week Period

CATEGORY: Summing
Problem:

Columns A & B contain the number of hours worked by each ID this week.
Columns D & E contain the equivalent information for last week.
We want a total of the hours worked by a specified ID over the entire period.

Solution:

Use the SUMIF function as shown as shown in the following formula:
=SUMIF(A3:A7,B10,B3:B7)+SUMIF(D3:D7,B10,E3:E7)
Screenshot // Summing the Number of Hours an Employee Worked During a Two Week Period

Summing the Number of Hours an Employee Worked During a Two Week Period
Rate this tip
12 34 5
  RATING: 3.35
  VIEWS: 12274
screenshoots
Jesse Norris wrote on December 31, 1969 19:00 EST
hi guy your screen shoots dont help much maybe you could expand them across the page a little say A:G
that would be good.
Regards,
Jesse
Why is B10 in the calculation?
Tom wrote on December 31, 1969 19:00 EST
Your screen shot showes the calculations for the first week in A3:A6 and I assume be B3:B6
=SUMIF(A3:A7,B10,B3:B7) Why are you going down to the next cell. What does B10 represent?
SCREENSHOT
DLE wrote on December 31, 1969 19:00 EST
HOW IS THIS EXAMPLE SUPPOSE TO HELP ME?...WHERES THE REST OF THE SHOT?



REGISTERED USERS click here to post comments


GUESTSclick here to Register
Name
Comment Title
Comments


Terms and Conditions of use
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.

Copyright © 2003 ExcelTip.com
Microsoft, Microsoft Excel is a U.S. registered trademark of Microsoft Corporation