How to use Index Match when Match value is repeating ?

Yale2018

New Member
Joined
May 29, 2018
Messages
2
Hi,

I am trying to use Index Match based on the "New" record, however the formula isn't working as it is reverting same value over and again. Can some one help me understand what I can do here to get each value in each cell.. like in this case I would need number 4 to number 9 as my output.

FYI - New and Old records are not static and may change every week with data refresh.

[TABLE="width: 278"]
<colgroup><col><col><col><col></colgroup><tbody>[TR]
[TD][/TD]
[TD]Column A[/TD]
[TD]Column B[/TD]
[TD]Column C[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]AttendeeName [/TD]
[TD]Program ID[/TD]
[TD]TypeofRecord [/TD]
[/TR]
[TR]
[TD="align: right"]1.[/TD]
[TD]Chris C[/TD]
[TD]469[/TD]
[TD]OLD[/TD]
[/TR]
[TR]
[TD="align: right"]2.[/TD]
[TD]Chris C[/TD]
[TD]5698[/TD]
[TD]OLD[/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD]3.Chris C[/TD]
[TD]585[/TD]
[TD]OLD[/TD]
[/TR]
[TR]
[TD="align: right"]4.[/TD]
[TD]Kris M[/TD]
[TD]589[/TD]
[TD]New[/TD]
[/TR]
[TR]
[TD="align: right"]5.[/TD]
[TD]Kris M[/TD]
[TD]345[/TD]
[TD]New[/TD]
[/TR]
[TR]
[TD="align: right"]6.[/TD]
[TD]Kris M[/TD]
[TD]4825[/TD]
[TD]New[/TD]
[/TR]
[TR]
[TD="align: right"]7.[/TD]
[TD]Sky V[/TD]
[TD]10394[/TD]
[TD]New[/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD]8.Sky V[/TD]
[TD]135264[/TD]
[TD]New[/TD]
[/TR]
[TR]
[TD="align: right"]9.[/TD]
[TD]Sky V[/TD]
[TD]465[/TD]
[TD]New[/TD]
[/TR]
</tbody>[/TABLE]


Thanks
Navneet
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Book1
ABCDEFG
1AttendeeNameProgram IDTypeofRecord6
2Chris C469OLDIdxAttendeeNameProgram ID
3Chris C5698OLD4Kris M589
43.Chris C585OLD5Kris M345
5Kris M589New6Kris M4825
6Kris M345New7Sky V10394
7Kris M4825New88.Sky V135264
8Sky V10394New9Sky V465
98.Sky V135264New
10Sky V465New
Sheet1


In E1 just enter:

=COUNTIFS(C:C,"new")

In E3 control+shift+enter, not just enter, and copy down:

=IF(ROWS($E$3:E3)>$E$1,"",SMALL(IF($C$2:$C$10="new",ROW($A$2:$C$10)-ROW(INDEX($A$2:$C$10,1,1))+1),ROWS($E$3:E3)))

In F3 just enter, copy across, and down:

=IF($E3="","",INDEX($A$2:$C$10,$E3,MATCH(F$2,$A$1:$C$1,0)))
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,209
Members
453,022
Latest member
RobertV1609

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