INDEX & MATCH Issue with Duplicate Entries

dariuzthepole

Board Regular
Joined
Jul 23, 2008
Messages
111
Hi,

Apologies for posting another Index/Match thread, but I think I've been through them all now and I'm still struggling. Index/Match is my Achilles Heel so apologies if this is straightforward.

I have a summary tab displaying stats on various sites (each site has its own tab). An example of the stats for the first site is below. Further sites are in columns D, E, F etc.

[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Max Value[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Max Value (1st Date)[/TD]
[TD]01/01/2016 00:00[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]Max Value (2nd Date)[/TD]
[TD]???
[/TD]
[/TR]
</tbody>[/TABLE]

Cell C5 has a straightforward MAX formula looking to column E on the SiteA tab.

In cell C6 I have the following array formula (from another thread) which works:

Code:
{=IFERROR(INDEX(SiteA!$A$2:$A$115855,SMALL(IF($C$5=SiteA!$E$2:$E$115855,ROW(SiteA!$E$2:$E$115855)-ROW(SiteA!$E$2)+1),COLUMNS($C$1:C$1))),"")}

N.B. On the Site A tab, column A has the date/times and column E has the data I want to analyse.

However, I cannot get this to return the next date value in cell C7. I've tried to play around with the formula but so far it only returns the same value as C6.

Any help would be greatly appreciated!
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Forum statistics

Threads
1,223,099
Messages
6,170,107
Members
452,302
Latest member
TaMere

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