Hi,
I am struggling to find a way to offset the match by one row above (-1,0) and then apply the index.
In my workbook, I have two sheets- named as a and b. Following is the formulae I am using without offset:
b.Cells(k, 1) = Application.WorksheetFunction.Index(a.Range("A:A"), Application.WorksheetFunction.Match(b.Cells(k, 4), a.Range("D:D"), 0))
I want to offset the position found by match to one row above in sheet a, followed by index.
I am struggling to find a way to offset the match by one row above (-1,0) and then apply the index.
In my workbook, I have two sheets- named as a and b. Following is the formulae I am using without offset:
b.Cells(k, 1) = Application.WorksheetFunction.Index(a.Range("A:A"), Application.WorksheetFunction.Match(b.Cells(k, 4), a.Range("D:D"), 0))
I want to offset the position found by match to one row above in sheet a, followed by index.