Index and Match - Repeating Digits Formula Help

ststern45

Well-known Member
Joined
Sep 17, 2005
Messages
969
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
Hi everyone,

I need help in figuring out a formula.

Cell A1 = 2
Cell A2 = 3
Cell A3 = 3

Cell B1 = A
Cell B2 = B
Cell B3 = D

=======================================================================

Example #1 :

Now in cell:
A6 = 2
A7 = 3
A8 = 3

I'm trying create a formula that will place the following letters in cells A10, A11, and A12
Since there are duplicate values of the number 3 in cells A7 and A8.

A10 = A
A11 = B
A12 = D

=====================================================

Example #2 :

A6 = 3
A7 = 2
A8 = 3

Duplicate values of the number 3

I would like to have the following:

A10 = B
A11 = A
A12 = D

======================================================

Example #3 :

A6 = 3
A7 = 3
A8 = 2

I would like to have the following:

A10 = B
A11 = D
A12 = A

Thanks in advance!!
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Try this array formula in A10 copied down
=INDEX(B$1:B$3,SMALL(IF(A$1:A$3=A6,ROW(A$1:A$3)-ROW(A$1)+1),COUNTIF(A$6:A6,A6)))
Ctrl+Shift+Enter, not just Enter

M.
 
Upvote 0

Forum statistics

Threads
1,216,564
Messages
6,131,427
Members
449,652
Latest member
ylsteve

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