Re: Need help with formula
- From: "Harlan Grove" <hrlngrv@xxxxxxx>
- Date: 23 Jan 2006 10:49:19 -0800
Kevin Williams wrote...
>I have put together a spread*** in Microsoft Works to track my "billable
>efficiency" on my job. In other words, I enter how many hours I worked, my
>billable hours, and I have embedded a formula to calculate what percentage
>of my billable hours are of my total. The problem is, on days when I didn't
>work, if I enter 0 for my hours, this generates an error, and I can't
>average my weekly. Any help would be appreciated.
Does Works include a function named IF? If so, and if hours worked were
in cell B3 and billable hours were in cell C2, then the formula in D3
could be
=IF(B3>0,C3/B3,0)
As for weekly averages, if B3 through C9 held a full weeks hours and D3
through D9 the daily efficiency figures, you shouldn't be calculating
the average weekly efficiency by averaging column D, you should be
dividing total billable hours by total hours worked, e.g.,
=IF(SUM(B3:B9)>0,SUM(C3:C9)/SUM(B3:B9),0)
The reason for this is best illustrated with an example. You work only
2 days. On Monday you work 10 hours of which 6 are billable. On Tuesday
you work 5 hours of which 4 are billable. Efficiency figures would be
60% for Monday and 80% for Tuesday. Averaging the percentages returns
70%, but taking the ratio of the totals gives 66.7%.
.
- Follow-Ups:
- Re: Need help with formula
- From: Kevin Williams
- Re: Need help with formula
- References:
- Need help with formula
- From: Kevin Williams
- Need help with formula
- Prev by Date: Need help with formula
- Next by Date: how can I specific a folder with wildcard criteria and excel will import all the correct files in that folder?
- Previous by thread: Need help with formula
- Next by thread: Re: Need help with formula
- Index(es):