I have a timesheet report that tracks hundreds of people and what projects they work on on a daily basis. So any given person can have multiple entries per day. I also have a column that shows the week #.
Since the majority of our employees aren't paid overtime I need to prorate hours based on a standard 40 hour work week. So if there's 20 entries for a given employee for the week and that totals 48 hours I need to take each of those down by a percentage to a total of 40 hours. If the 20 entries are equal to or less than 40 than it just takes that time.
I can't seem to get a formula that sums the hours by person, by week and if it's over 40 prorates it by the current distribution and if it's not just gives me the current distribution. Any suggestions?
Bookmarks