I have a sheet where i need to average values of 3 non-contiguous cells (actually creating handicaps for a golf league at work). That in and of itself isn't hard. Where the problem comes in--and where I can't seem to wrap my head around this--is that if the value is 0 then I need to move on to the next non-zero week and use that. For example, if my scores for the first 6 weeks are 74, 0, 0, 70, 59, and 77 and I want to get the average for week 6 then I need to average b10, b4, and b2. The kicker is that I can only use a maximum of 3 scores. I can't figure out how to do ths for the life of me... The layout for the values is this:
the final formula should look like:
Bookmarks