Hello,
Range("I2:I" & LR).Formula = "=G2*LOOKUP(9.99999999999999E+307,SEARCH(""#""&'[NSE Converter.xls]Sheet1'!$A$1:$A$233,""#""&SUBSTITUTE(TRIM(A2),CHAR(160),"""")),'[NSE Converter.xls]Sheet1'!$B$1:$B$233)"
In the above formula the No.of Rows is Dynamic sometimes it is 233 and sometimes 239 etc.,
Can anyone help me to handle this situation?
Range("I2:I" & LR).Formula = "=G2*LOOKUP(9.99999999999999E+307,SEARCH(""#""&'[NSE Converter.xls]Sheet1'!$A$1:$A$233,""#""&SUBSTITUTE(TRIM(A2),CHAR(160),"""")),'[NSE Converter.xls]Sheet1'!$B$1:$B$233)"
In the above formula the No.of Rows is Dynamic sometimes it is 233 and sometimes 239 etc.,
Can anyone help me to handle this situation?