Queenofmycastle
Board Regular
- Joined
- Oct 27, 2009
- Messages
- 62
- Office Version
- 2016
- Platform
- Windows
Sheet 1
A B
1 Red 2
2 Blue 3
Sheet 2
A
1 =Sheet1!A2
2 =IFERROR(IF(COUNTIF(A$2:A2,A2)=VLOOKUP(A2, Sheet1!$A$2:$B$3,2,0), INDEX(Sheet1!$A$2:$A$3,SUMPRODUCT(1/COUNTIF(Sheet2!A$2:A2,Sheet2!A$2:A2)) + 1, 1), Sheet2!A2)," ")
Sheet2 Results
Sheet 1
A
1 Red
2 Red
3 Blue
4 Blue
5 Blue
The above formula works perfectly except that the example only included 2 rows of data, I want it to be able to continue if I have 10 colors or even 100 colors. I can't figure out where the limitation Help is appreciated!
A B
1 Red 2
2 Blue 3
Sheet 2
A
1 =Sheet1!A2
2 =IFERROR(IF(COUNTIF(A$2:A2,A2)=VLOOKUP(A2, Sheet1!$A$2:$B$3,2,0), INDEX(Sheet1!$A$2:$A$3,SUMPRODUCT(1/COUNTIF(Sheet2!A$2:A2,Sheet2!A$2:A2)) + 1, 1), Sheet2!A2)," ")
Sheet2 Results
Sheet 1
A
1 Red
2 Red
3 Blue
4 Blue
5 Blue
The above formula works perfectly except that the example only included 2 rows of data, I want it to be able to continue if I have 10 colors or even 100 colors. I can't figure out where the limitation Help is appreciated!