INDEX MATCH wrong value

SH1988

New Member
Joined
Sep 6, 2019
Messages
1
Hi need your help with the func that return the wrong numbers for part of my cells.
my func :
{=INDEX($C$5:$C$18044,MATCH(MAX(IF($B$5:$B$18044=B6,$E$5:$E$18044)),$E$5:$E$18044,0))}
My Data looks like this:

MailingTypeMailingJNReport DateMailingDate W/E Issue Count By Date date of the highest Issue count
ADD InqM26809/15/201809/14/201810/06/2018
ADD InqM26809/22/201809/14/2018 410/06/2018
ADD InqM26809/29/201809/14/2018 13210/06/2018
ADD InqM26810/06/201809/14/2018 29010/06/2018
ADD InqM26810/13/201809/14/2018 14810/06/2018
ADD InqM26810/20/201809/14/2018 7710/06/2018
ADD InqM26810/27/201809/14/2018 3310/06/2018
ADD InqM26811/03/201809/14/2018 1810/06/2018
ADD InqM26811/10/201809/14/2018 2810/06/2018
ADD InqM26811/17/201809/14/2018 1210/06/2018


<colgroup><col><col><col span="2"><col><col></colgroup><tbody>
</tbody>
JONAIL52904/21/201804/20/201806/23/201864
JONAIL52904/28/201804/20/2018 306/23/201864
JONAIL52905/05/201804/20/2018 1106/23/201864
JONAIL52905/12/201804/20/2018 1206/23/201864
JONAIL52905/19/201804/20/2018 1706/23/201864
JONAIL52905/26/201804/20/2018 906/23/201864
JONAIL52906/02/201804/20/2018 406/23/201864
JONAIL52906/09/201804/20/2018 - 06/23/201864
JONAIL52906/16/201804/20/2018 - 06/23/201864
JONAIL52906/23/201804/20/2018 - 06/23/201864

<colgroup><col><col><col span="2"><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Welcome to the MrExcel Board!

The formula as presented can return incorrect results if there is a tie on the Issue Count in different MailingJN's. Try:


Book1
ABCDEFG
1
2
3
4MailingTypeMailingJNReport DateMailingDate W/EIssue Count By Datedate of the highest Issue count
5ADD InqM2689/15/20189/14/201810/6/2018
6ADD InqM2689/22/20189/14/2018410/6/2018
7ADD InqM2689/29/20189/14/201813210/6/2018
8ADD InqM26810/6/20189/14/201829010/6/2018
9ADD InqM26810/13/20189/14/201814810/6/2018
10ADD InqM26810/20/20189/14/20187710/6/2018
11ADD InqM26810/27/20189/14/20183310/6/2018
12ADD InqM26811/3/20189/14/20181810/6/2018
13ADD InqM26811/10/20189/14/20182810/6/2018
14ADD InqM26811/17/20189/14/20181210/6/2018
15#N/A
16JONAIL5294/21/20184/20/20185/19/201864
17JONAIL5294/28/20184/20/201835/19/201864
18JONAIL5295/5/20184/20/2018115/19/201864
19JONAIL5295/12/20184/20/2018125/19/201864
20JONAIL5295/19/20184/20/2018175/19/201864
21JONAIL5295/26/20184/20/201895/19/201864
22JONAIL5296/2/20184/20/201845/19/201864
23JONAIL5296/9/20184/20/2018-5/19/201864
24JONAIL5296/16/20184/20/2018-5/19/201864
25JONAIL5296/23/20184/20/2018-5/19/201864
Sheet2
Cell Formulas
RangeFormula
F5{=INDEX($C$5:$C$18044,MATCH(B5&"|"&MAX(IF($B$5:$B$18044=B5,$E$5:$E$18044)),$B$5:$B$18044&"|"&$E$5:$E$18044,0))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0

Forum statistics

Threads
1,214,812
Messages
6,121,696
Members
449,048
Latest member
81jamesacct

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