Hi Gurus,
I am working on a spreadsheet which has data for each day of the week, and I want to average this by the number of days that has passed (skipping any zero's).
I have tried =sum(range)/countif(range<>,"0" and {=average(if(range<>0,range))}, but these formula's won't work because the cells with data are b49,d49,f49 -ie every second column...
so I am trying a nested if formula using =if(b49>0,b49,if(d49>0,(b49+d49)/2,if(f49>0,(b49+f49+f49)/3 and so on up to cell n49 (adding b through to n and dividing by 7,""....however this is not working either, this formula is returning the value in cell b49 only....I'm sure there is a simple answer, but this doing my head in.....
I can't move the columns so they are next to each other either because there are too many other reports linked to this one by different users..
I would be grateful for any suggestions - thank you in advance! :
I am working on a spreadsheet which has data for each day of the week, and I want to average this by the number of days that has passed (skipping any zero's).
I have tried =sum(range)/countif(range<>,"0" and {=average(if(range<>0,range))}, but these formula's won't work because the cells with data are b49,d49,f49 -ie every second column...
so I am trying a nested if formula using =if(b49>0,b49,if(d49>0,(b49+d49)/2,if(f49>0,(b49+f49+f49)/3 and so on up to cell n49 (adding b through to n and dividing by 7,""....however this is not working either, this formula is returning the value in cell b49 only....I'm sure there is a simple answer, but this doing my head in.....
I can't move the columns so they are next to each other either because there are too many other reports linked to this one by different users..
I would be grateful for any suggestions - thank you in advance! :