Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I need to track the hours of part time employees to ensure that the average
number hours per week they work does not exceed 18. Calculating the average is easy enough but I would like the cell to display how many hours over the average they have worked. For example, if the employee worked 37 hours in two weeks the cell should say €śExceeded allotted hours by 1.00€ť. The formula so far is =IF(AVERAGE(B3:B16)18,"exceeds allowable hours by", AVERAGE(B3:B16)) Thank you |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Change your fomula to:
=IF(AVERAGE(B3:B16)18,"exceeds allowable hours by "&(AVERAGE(B3:B16)-18)&" hours",AVERAGE(B3:B16)) -- Kevin Backmann "johnu" wrote: I need to track the hours of part time employees to ensure that the average number hours per week they work does not exceed 18. Calculating the average is easy enough but I would like the cell to display how many hours over the average they have worked. For example, if the employee worked 37 hours in two weeks the cell should say €śExceeded allotted hours by 1.00€ť. The formula so far is =IF(AVERAGE(B3:B16)18,"exceeds allowable hours by", AVERAGE(B3:B16)) Thank you |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
formula mixed text and values | Excel Discussion (Misc queries) | |||
Counting a mixed text/number column based on text in another colum | Excel Discussion (Misc queries) | |||
Need to export to text results not formula | Excel Discussion (Misc queries) | |||
Incrementing Mixed text & numbers | Excel Discussion (Misc queries) | |||
Stripping mixed number and text | Excel Worksheet Functions |