Hello!
Goal: Run an index match down the data in column #54 , based on the info in cell $A$2 and cell $A7.
1) I'm having trouble getting the VBA coding to reference the tab name that I'm working on without manually typing it in the coding. I'll need to run this macro on many different tabs.
2) How do I get the macro to do the CTRL+Shift+Enter for each cell?
3) I want A2 fixed in the formula, but I need A7 to go down as many rows as needed
Range(Cells(6, 54), Cells(LastRow, 54)).Formula = "=INDEX(BackData!$A$1:$G$90000,MATCH(ActiveSheet.Name!$A$2&ActiveSheet.Name!A7,BackData!$D$1:$D$90000&BackData!$B$1:$B$90000,0),3)"
Thanks!!
Goal: Run an index match down the data in column #54 , based on the info in cell $A$2 and cell $A7.
1) I'm having trouble getting the VBA coding to reference the tab name that I'm working on without manually typing it in the coding. I'll need to run this macro on many different tabs.
2) How do I get the macro to do the CTRL+Shift+Enter for each cell?
3) I want A2 fixed in the formula, but I need A7 to go down as many rows as needed
Range(Cells(6, 54), Cells(LastRow, 54)).Formula = "=INDEX(BackData!$A$1:$G$90000,MATCH(ActiveSheet.Name!$A$2&ActiveSheet.Name!A7,BackData!$D$1:$D$90000&BackData!$B$1:$B$90000,0),3)"
Thanks!!