Hello friends!
I have weekly prices for various products. However, the data is incomplete and there are prices missing for many weeks.
I want to replace the null price records with a value that is
1. nearest previous price if one exists
2. nearest next price if no previous price exists
I am attaching sample input and how I expect the output to look like.
Is there an easy way to achieve this? I am not familiar with macros.