Using Office 365.
I have about 1000 blank cells in an array that I need to fill with an interpolation formula. I believe a Macro would work for this but I' having a hard time figuring out the best way to help the Macro identify the blank cells that need to be filled with the interpolation formula, and once they are identified, how to deal with sequential blank cells (due to the the way the interpolation formula references cells above and below the blank cell to-be-filled). I think the best way to solve this would be to have a Macro locate a blank cell then conduct the interpolation formula with one caveat, the macro would have to set the two cells the formula must reference below the blank cell, to the next available non-blank cells, not simply the cells below the blank cell, regardless of how far down the array they are. I'm grateful for any insight and/or suggestions. Please see below and attached for pictures illustrating the problem and the excel sheet to experiment with.
Interpolation Macro_Question.png
Bookmarks