Want to get involved? We're always looking for ideas and content for Weekly Challenges.
SUBMIT YOUR IDEA
Fun one, but also completely different solve to most
This post has been edited by Community Moderation to redact sensitive attachments. The original attachment has been replaced by post_placeholder.txt.
This was my "final" cut before looking at the solution. Lesson learned: if you're doing a whole bunch of multi-row formulas, see if transposing helps!
This post has been edited by Community Moderation to redact sensitive attachments. The original attachment has been replaced by post_placeholder.txt.
@SeanAdams I'm pretty new here and going through the old challenges. Saw your comment from ages ago about errors in the results in Weekly Challenge #3. Actually given one interpretation of the rules, the second month averages are correct. The instructions say that for missing values, we should use the nearest valid value. For row 1, we are missing the two prior rows and the nearest valid value is row 1. So if we use the value of row 1 for all three (or six) months and we get back the value of row 1 -- no difference. But for row 2, we have the values for row 1 and row 2 and use the value of row 1 for the missing value(s). I haven't checked all of the values, but that looks like what Gene did.
Whether or not this is the correct way to do running averages is another discussion.
Since the stipulation that if there is a null value to use the next closest row, this is my solution.
This post has been edited by Community Moderation to redact sensitive attachments. The original attachment has been replaced by post_placeholder.txt.