I have a spreadsheet in which there are 53 weeks in columns. As the year goes on, the weeks fill with data. At the end of the columns there will be numerous functions. I need a function that will replace the range within these functions and only use the previous 6 cells with data (non-blank cells), or maybe have a separate cell with the previous amount of weeks to use and have this function refer to it. Attached is an example. Any help is greatly appreciated.
Prev6.xlsx
Bookmarks