ActiveCell.FormulaR1C1 = "=IF(RC[-1]="""", """", RC[-16,1]/VLOOKUP('Sales Data'!RC[-22],'Regional Pipeline map'!R1C1:R4C29,3,FALSE))"
=IF(V2="","",G2/VLOOKUP('Sales Data'!A3,'Regional Pipeline map'!$A$1:$D$29,3,FALSE))
I need to create a formula like the 2nd formula. Above that is what I have written in VBA currently. Everything works currently except the vlookup in the formula is showing 'Sales Data'!A2 instead of 'Sales Data'!A3 (when it's in cell A2). Does anyone know how I can get it to go to cell A3?
=IF(V2="","",G2/VLOOKUP('Sales Data'!A3,'Regional Pipeline map'!$A$1:$D$29,3,FALSE))
I need to create a formula like the 2nd formula. Above that is what I have written in VBA currently. Everything works currently except the vlookup in the formula is showing 'Sales Data'!A2 instead of 'Sales Data'!A3 (when it's in cell A2). Does anyone know how I can get it to go to cell A3?