Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Add up the hours for each month
Column A consists of dates (format example: Thursday, May 06). Date is
entered when vacation time or sick time is taken. Column B consists of the hours of vacation for that day Column C consists of the hours of sick time for that day Column E consists of the months (January, February, etc.) Column F consists of the hours of vacation taken for that month Column G consists of the hours of sick time taken for that month Can someone tell me what the formula would be for cells in columns F & G? I imagine it would be some kind of lookup function or count function. Thank you in advance -- ~Jeff~ [Microsoft Windows XP Pro,Office 2000] |
#2
|
|||
|
|||
Hi
in F1 enter =SUMPRODUCT(--(TEXT($A$1:$A$100,"MMMM")=E1),$C$1:$C$100) and in G1 enter =SUMPRODUCT(--(TEXT($A$1:$A$100,"MMMM")=E1),$B$1:$B$100) "~Jeff~" wrote: Column A consists of dates (format example: Thursday, May 06). Date is entered when vacation time or sick time is taken. Column B consists of the hours of vacation for that day Column C consists of the hours of sick time for that day Column E consists of the months (January, February, etc.) Column F consists of the hours of vacation taken for that month Column G consists of the hours of sick time taken for that month Can someone tell me what the formula would be for cells in columns F & G? I imagine it would be some kind of lookup function or count function. Thank you in advance -- ~Jeff~ [Microsoft Windows XP Pro,Office 2000] |
#3
|
|||
|
|||
F: =Sumproduct(--(TEXT(A1:A100, "mmmm")=E1), B1:B1000)
G: =Sumproduct(--(TEXT(A1:A100, "mmmm")=E1), C1:C1000) -- HTH RP (remove nothere from the email address if mailing direct) "~Jeff~" wrote in message ... Column A consists of dates (format example: Thursday, May 06). Date is entered when vacation time or sick time is taken. Column B consists of the hours of vacation for that day Column C consists of the hours of sick time for that day Column E consists of the months (January, February, etc.) Column F consists of the hours of vacation taken for that month Column G consists of the hours of sick time taken for that month Can someone tell me what the formula would be for cells in columns F & G? I imagine it would be some kind of lookup function or count function. Thank you in advance -- ~Jeff~ [Microsoft Windows XP Pro,Office 2000] |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
UserForm to select current month or earlier | Excel Discussion (Misc queries) | |||
How to extract month number from month name | Excel Discussion (Misc queries) | |||
How can i tell excel to cumalative the hours so 17:00 + 10:00 = 2. | Excel Discussion (Misc queries) | |||
time-sheet record with over 24 hours | New Users to Excel | |||
Pivot Table - Group by Month - Show Items with no data | Excel Discussion (Misc queries) |