Hi All,
Please help me to convert this formula by using a VBA macro, this formula helps me to auto Xlookup for entire line (without putting same formula in another line)
I try this one and not working well.
The formula name above is code as below
Thank You
Please help me to convert this formula by using a VBA macro, this formula helps me to auto Xlookup for entire line (without putting same formula in another line)
Excel Formula:
=FILTER(XLOOKUP(ISGPN,'[FILEBAPREF.xlsx]Sheet1'!$B:$B,'[FILEBAPREF.xlsx]Sheet1'!$G:$G,"",0),XLOOKUP(A:A,'[FILEBAPREF.xlsx]Sheet1'!$B:$B,'[FILEBAPREF.xlsx]Sheet1'!$G:$G,"",0)<>"")
I try this one and not working well.
VBA Code:
result.Value = Application.WorksheetFunction.Filter(formula, Evaluate(formula.Address & "<>"""""))
The formula name above is code as below
VBA Code:
formula.Value = Application.WorksheetFunction.XLookup(Lookuplist, wb.Worksheets("PNR").Range("B:B"), wb.Worksheets("PNR").Range("G:G"), """", 0)
Thank You