Issue with Index Match with duplicates

richard1234567891011

Board Regular
Joined
Feb 21, 2018
Messages
91
Hi Guys, I have an issue with duplicates match formula, the issue is this:

Screenshot-2019-08-09-at-16-02-52.png
[/URL][/IMG]


Pescara is wrong. I would like to have a formula that can choose the second one, so Chieti.
The actual formula is very simple, it is: =INDEX(B2:B11;MATCH(G2;C2:C11;0)) (in order to find Pescara) but this formula is not able to recognise that the second 375 is not for Pescara but for Chieti.

I would like a general formula, because this is a simplified example.

Thank you very much guys.
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Hi Richard,

Try this Array formula (Ctrl+Shift+Enter):

Code:
=INDEX($B$2:$B$11,MATCH(0,COUNTIF($F$1:F1,IF($C$2:$C$11=G2,$B$2:$B$11,"")),0))

Final result:

EmAU5M2.png


Hope it works for you.
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,906
Members
452,366
Latest member
TePunaBloke

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