Hi guys,
This is probably a stupid question but i'm currently struggling with this right now. Below is my line of code to put formula into Cell D4
Me.Sheets("ETF Holdings").Cells(4, 4).FormulaR1C1 = "=IFERROR(INDEX('FV Database'!B:B,MATCH('ETF Holdings'!RC[-2],'FV Database'!A:A,0)),INDEX('FV Database'!B:B,MATCH(SUBSTITUTE('ETF Holdings'!RC[-2],""."",""-""),'FV Database'!A:A,0)))"
why it turn to be this when it being put in the cell?
=IFERROR(INDEX('FV Database'!B:(B),MATCH('ETF Holdings'!B4,'FV Database'!A:(A),0)),INDEX('FV Database'!B:(B),MATCH(SUBSTITUTE('ETF Holdings'!B4,".","-"),'FV Database'!A:(A),0)))
The problem is on the FV Database'!B:(B) part, why it's turn out to have a bracket??
I seldom use R1C1 style so kindly help to enlighten me, thanks in advance !!
Bookmarks