Doing this manually, I paste a Table-referencing formula into an empty cell next to a cell of data, then I double-click that little square box in the bottom corner to auto-fill all the way down.
Problem is, there is the occasional blank, so I just skip down and paste the formula again, auto-fill, and repeat until the formula is next to all cells in the A1 column.
I've tried using Record Macro to automate this, unfortunately it can't record "autofill next to ALL cells in the column", only to end at a specific point. ie. B1:B300
I've actually found several google results asking a VBA question similar to this, but they're all how to autofill only down to the last row (with no skips), while I need the formula pasted into ALL cells in column B (but only if there's data in column A)
I hope I'm explaining right. The result should be like this:
Data =IFERROR(INDEX(Table1... Data =IFERROR(INDEX(Table1... Data =IFERROR(INDEX(Table1... Data =IFERROR(INDEX(Table1... Data =IFERROR(INDEX(Table1... Data =IFERROR(INDEX(Table1...
The VBA macro is basically:
1. Select cell B1
2. Paste [Formula]
3. Paste same [formula] next to any cell in column A that has data.
Bookmarks