VLOOKUP with multiple criteria

TheinterestedOne

New Member
Joined
Mar 15, 2020
Messages
1
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
Hi everyone.
imagine you have a database of orders and you use vlookup to fetch the order that has the hightest overdue(comparing from the today’s date)
I use the basic formulas to retrieve the answer BUT I can’t get my head around when two orders have the the same value.
I want to fetch the order which satisfies the criteria of “which came in first”

eg
Order A - 10 days late (order arrived on 12/02)
Order B - 10 days late (order arrived on 09/02)

in this case, when I would vlookup for the first order that I have to work on, it would analyse the days left and the date of reception and give me back Order B.
and the second priority would be OrderA, because it came in after orderB.

Can some one help me transform the ideia into excel ?

thank you in advance
Best regards from Portugal
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Hello!
If Row 1 is Headers, column A contain dates, and B - orders, and F3 is Order to find:
'=INDEX($A$2:$D$10,SMALL(IF($F$3=$B$2:$B$10,ROW($B$2:$B$10)-1),ROW(A1)),1)
 
Upvote 0

Forum statistics

Threads
1,214,940
Messages
6,122,352
Members
449,080
Latest member
Armadillos

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