Index & Match formula problem

asyamonique

Well-known Member
Joined
Jan 29, 2008
Messages
1,286
Office Version
  1. 2013
Platform
  1. Windows
Hello is there any way to fix below formula?
I placed the formulas by the columns J & K all the way down.
If column C datas are the same numbers my formula doesn't find two differnt names...
Many thanks.

[TABLE="width: 301"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]COLUMN B[/TD]
[TD]COLUMN C[/TD]
[/TR]
[TR]
[TD]Name 1[/TD]
[TD]12,000[/TD]
[/TR]
[TR]
[TD]Name 2[/TD]
[TD]12,000[/TD]
[/TR]
</tbody>[/TABLE]



[TABLE="width: 291"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]COLUMN J[/TD]
[TD]COLUMN K[/TD]
[/TR]
[TR]
[TD]Name 1[/TD]
[TD]12,000[/TD]
[/TR]
[TR]
[TD]Name 1[/TD]
[TD]12,000[/TD]
[/TR]
</tbody>[/TABLE]



J3=
Code:
=IFERROR(INDEX($B$3:$B$8,MATCH(K3,$C$3:$C$8,0)),"")
K3=
Code:
=IFERROR(LARGE($C$3:$C$8,ROWS($1:1)),"")
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Try this array formula and drag down as needed.
Note: this formula must be entered with CTRL-SHIFT-ENTER.
Excel Workbook
ABCDIJKL
1
2
3Name 112,000Name 112000
4Name 212,000Name 212000
5Name 311,500Name 311500
Sheet
 
Upvote 0
If column C datas cleared the Names are still remains not automaticly cleared on column J
Is there any way to fix that?
 
Upvote 0
I did some alteration, fixed.
Thanks again.

Code:
=IF($K3="","",INDEX($B$3:$B$8,SMALL(IF($C$3:$C$8=$K3,ROW($C$3:$C$8)-ROW($C$3)+1),COUNTIF($K$3:K3,K3))))
 
Upvote 0
This should work if there are blanks in column C.
Excel Workbook
BCDIJK
3Name 112,000Name 112000
4Name 2Name 311500
5Name 311,500
Sheet
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,185
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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