hlookup

Copper Contributor

Use a structured reference to look up the value in the post secondary years column. Retrieve the value in the second row of the table in the range P13:U14 using absolute reference . Because base hourly rate is tiered based on the number of years of education, find approximate match.

3 Replies
Giving me a spill error

Hi,
It's not a good idea to do an horizontal lookup for a vertical table.
I don't know what exactly you pretend with the lookup, but I guess you want to count. I did it with a VLOOKUP and a COUNTIF.
Kind regards
Hans

I'm guessing you are trying this formula (below) that is giving the spill error? With office 365 and switching to dynamic arrays being the default method of evaluating formulas, you can no longer use entire column references within structured tables.

=HLOOKUP([Post-Secondary Years],$Q$13:$U$14,2,TRUE)

Instead, you need to use the implicit intersection operator (@ symbol). When you're constructing the formula in cell E2, click on cell F2 and excel will add it for you.

=HLOOKUP([@[Post-Secondary Years]],$Q$13:$U$14,2,TRUE)