I am trying to find Excel Formula for the following:
I have a spreadsheet with weekly payroll cost. Row 1 is having various payment elements, including a column Gross Pay
.
I have assigned Wk_40
as named range to all the data.
On the summary sheet, I am using HLOOKUP
formula to look for Gross Pay
, and then for row index number
, I want to select the last row of that column.
For example, Gross Pay is in column M
, and Row # 427 is having a total of that column. In row # 430, I have done a pro-rata calculation, if the week is straddling across two months. I want to select amount from row # 430.
I tried
=hlookup($F$42,Wk_40,MATCH(9.99999999999999E+307),false)
but this is returning #N/A
.