Copy value from any position in INDEX MATCH function

musungujim

New Member
Joined
Oct 12, 2017
Messages
2
ID numberForm SubmittedReceived
ID 001YesYes
ID 002No
ID 003
No
ID 001Yes
ID 003YesNo

<tbody>
</tbody>

I've been using VLOOKUP and INDEX MATCH to relate ID number to form submission. If I enter "Yes" in the first instance of an ID number, there is no problem and "Yes" copies to all subsequent times the ID number shows up (see ID 001). The problem I've been having is that if I enter "Yes" on the second instance of the ID number or later, it does not change the corresponding or previous "No" to "Yes" (see ID 003).

I've tried using several different methods to no success. My latest idea was to use SMALL to create a subset based on MATCH values and use OFFSET to skip the first value if blank. It still doesn't do what it's supposed to and is basically an over complicated INDEX MATCH function.

=IF(INDEX(C:K,SMALL(MATCH(C2,C:C,0),1),9)="Yes","Yes",IF(INDEX(C:K,SMALL(OFFSET(C2,MATCH(C2,C:C,0),0,2500,1),1),9)="Yes","Yes","No"))

Is there any way to get this to work properly?

Thanks.
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Hi,

Try this

Crtl+Shift+Enter NOT just Enter

C2 and drag down =IFERROR(INDEX($B$2:$B$6,MATCH(1,IF($A$2:$A$6=A2,IF($B$2:$B$6="Yes",)))),"No")

A B C
ID numberForm SubmittedReceived
ID 001YesYes
ID 002No
ID 003Yes
ID 001Yes
ID 003YesYes

<colgroup><col><col><col></colgroup><tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,159
Messages
6,123,345
Members
449,097
Latest member
thnirmitha

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