Hi guys.
So I have a spreadsheet that estimates my earnings per month. Since my earnings really are in a world over their own over the weekends (they are only 30% of normal) I am trying to count weekends separately.
I've set up Column A - day of the month, Column B - which tells me "true" if the day in question falls on a weekend, and "false" if it falls during the week. Column C tells me my earnings for that day.
With me so far? Ok, so here's the formula I've come up with that tells me my average earnings during the week:
and this formula tells me my average earnings during weekends:
However, the one glaring problem in these formulas is that they incorrectly handle values of zero. Supposing a month is 31 days long, and it's the 16th of the month - the formula assumes that the 0s from the 17th of the month until the 31st of the month are actual earnings! So the formula doesn't represent my true average, not unless it "ignores" the zeroes.
How do I force it to ignore zeros?
For instance, for avg. minutes per weekday the formula needs to find the average earnings for days marked "False" and only consider numbers that are >0.
Appreciate any help you can give!!!
Bookmarks