Quantcast
Channel: Active questions tagged worksheet-function - Super User
Viewing all articles
Browse latest Browse all 925

Excel INDEX MATCH looking between two dates of my choosing

$
0
0

screenshot
I'm using Excel to log a list of items (name of items in column D) and then how long that item took to produce in column G.

I'm doing an INDEX MATCH to search for the worst performing product of the week (or between two dates of my choice) by using

=MAXIFS($G:$G,$E:$E,">="&O67,$E:$E,"<"&O68)

This returns the length of time of the longest production between the two dates in cell O67 and O68. What I then want to do is return the name of the item (column D) that was the longest to make.

I've tried

=INDEX(D:F,MATCH(O69,G:G,0),1)

But this just looks at the time recorded and returns the first occasion this time has turned up in the list. It's quite a long list so a lot of the times repeat, so this wouldn't be the way to go, I just want it to reference the two dates in O67 and O68 and look between each of these for the INDEX MATCH.

I think the way to go may be an array, but I've not done those before so if this is the way to go then can you take it slowly with me so I can understand!

Thanks in advance!


Viewing all articles
Browse latest Browse all 925

Trending Articles