Index & Match formula problem

asyamonique

Well-known Member
Joined
Jan 29, 2008
Messages
1,280
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.

COLUMN BCOLUMN C
Name 112,000
Name 212,000

<colgroup><col><col></colgroup><tbody>
</tbody>



COLUMN JCOLUMN K
Name 112,000
Name 112,000

<colgroup><col><col></colgroup><tbody>
</tbody>



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

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
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,215,029
Messages
6,122,760
Members
449,095
Latest member
m_smith_solihull

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