Index Match with a greater than or equal to function

JWY MQ

New Member
Joined
May 4, 2022
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hello friends,
I come to you in a time of need. I am attempting to provide an availability date(column G) for any given customer order(column B). I have my production schedule on the right, and was
hoping for some help on the formula in (column G). I have gathered from other posts that an INDEX MATCH is probably the correct way to go, but being a VLOOKUP user I can't quite get
one to work. The gist would be if F2 is less than or equal to K2, spit out I2. If not spit out the date in column I that is on the same row as the value in column K that is greater than F2. Hopefully that makes sense.
1651684399573.png


Thank you in advance for any help. This is such a helpful forum
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Welcome to the MrExcel forum!

Try:

Excel Formula:
=XLOOKUP(F2,$K$2:$K$1000,$I$2:$I$1000,"error",-1,1)
 
Upvote 0
Welcome to the MrExcel forum!

Try:

Excel Formula:
=XLOOKUP(F2,$K$2:$K$1000,$I$2:$I$1000,"error",-1,1)
Thank you for the quick reply Eric, copied it in, and currently getting the very last date(3/27/23) in the I column very each line:
1651688872459.png
 
Upvote 0
Maybe
Excel Formula:
=IF(F2<=K2,I2,INDEX($I$1:$I$1000,MIN(IF(F2<$K$2:$K$1000,ROW($K$2:$K$1000),""))))
 
Upvote 0

Forum statistics

Threads
1,214,583
Messages
6,120,383
Members
448,956
Latest member
JPav

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