is =xlookup the formula I need?

Mel Smith

Well-known Member
Joined
Dec 13, 2005
Messages
1,023
Office Version
  1. 365
Platform
  1. Windows
I run a weekly report that consists of a variable number of lines (500 - 1000+ lines). I have a master list of suppliers and their payment terms and I would like to automate against each line when it will fall due for payment, based on the delivery date and payment terms in my master list. Is using =xlookup the way i should go?

On my report sheet column the delivery date is in column C and supplier name in column F. I would put my formula in to column O.

Many thanks.

Mel
 

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.
Sorry, I just feel like I'm missing a critical piece here.
That may be so, but you are also missing the correct syntax for XLOOKUP which is
Excel Formula:
=XLOOKUP(lookup_value, lookup_array, return_array, [if_not_found], [match_mode], [search_mode])

Your formula in column O will look something like this:
Excel Formula:
=XLOOKUP(F2,MasterList!$A$2:$B$14,2,FALSE, delivery_date)
Your formula appears to be a mixture of XLOOKUP and VLOOKUP syntax. 😎
 
Upvote 1

Forum statistics

Threads
1,214,821
Messages
6,121,755
Members
449,049
Latest member
excelknuckles

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