VLOOKUP with using formulas to build the array

JWinFer

New Member
Joined
Nov 21, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hello!

I'm struggling to get the VLOOKUP function to return a value when the array is made up for formulas. Any guidance would be welcomed!

These are my tables. The second table is simply the header row + the margin from table 1.

1700586954594.png


This where I would like the values returned to by entering a RATING. It is on a separate tab from the data tables. The row for MARGIN works great. The row for RATE does not. The only difference is the use of formulas in table 2.

1700587093406.png


Here are my two formulas.

MARGIN =XLOOKUP(C11,'Real Estate'!B8:B24,'Real Estate'!C8:F24,,1,-1)

RATE =XLOOKUP(C11,'Real Estate'!H8:H24,'Real Estate'!I8:L24,,1,-1)
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Forum statistics

Threads
1,224,820
Messages
6,181,161
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top