Index Match question

chengg

New Member
Joined
Jan 3, 2021
Messages
2
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
Hello, I'm quite a noob so please bear with me...
Please see my attached workbook for reference (Named Ranges: GateIn is from 'time in' on Gate tab, GateTanker is from 'Key' on Overview tab) .
for the "Gate In" and "Exit Gate" fields on "Overview" Tab, I run a index match function to find the times from the "Gate (Guard Shack)" Tab.
However, since there are some instances where the reference have duplicate qualifying values, it only returns the first instance on a match. This results in an inaccurate 'Wait Time' calculation (More than 10 hours wait time). How should I change the formula to show appropriate subsequent matches based on first match encounter, 2nd match encounter etc...
Sorry I am having a hard time explaining...
 

Attachments

  • Gate.jpg
    Gate.jpg
    141.3 KB · Views: 29

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
sorry one of the pictures didn't load.
 

Attachments

  • Overview.jpg
    Overview.jpg
    215.3 KB · Views: 23
Upvote 0
Which version of Excel is this for? Can you post the sample sheets using XL2BB so we won't have to make the samples ourselves?
 
Upvote 0

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