[TABLE="class: head"]
<tbody>[TR]
[TH][/TH]
[TH][COLOR=[URL="https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF"]#FFFFFF[/URL] ]B[/COLOR]
[/TH]
[TH][COLOR=[URL="https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF"]#FFFFFF[/URL] ]C[/COLOR]
[/TH]
[TH][COLOR=[URL="https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF"]#FFFFFF[/URL] ]D[/COLOR]
[/TH]
[TH][COLOR=[URL="https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF"]#FFFFFF[/URL] ]E[/COLOR]
[/TH]
[TH][COLOR=[URL="https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF"]#FFFFFF[/URL] ]F[/COLOR]
[/TH]
[/TR]
[TR]
[TD][COLOR=[URL="https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF"]#FFFFFF[/URL] ]1[/COLOR]
[/TD]
[TD]Customer 1[/TD]
[TD]123
[/TD]
[TD]1 - Critical[/TD]
[TD][/TD]
[TD]List:
[/TD]
[/TR]
[TR]
[TD][COLOR=[URL="https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF"]#FFFFFF[/URL] ]2[/COLOR]
[/TD]
[TD]Customer 2[/TD]
[TD]1234
[/TD]
[TD]4 - Low[/TD]
[TD][/TD]
[TD]=IF(D$15="",IFERROR(INDEX(C$1:C$12,MATCH(0,COUNTIF(F$1:F1,C$1:C$12)+IF($D$1:$D$12<>$D$15,IF(LEFT($D$1:$D$12)+0>2,1,0))+IF($B$15<>LEFT(B$1:B$12,LEN($B$15)),1,0),0)),""),IFERROR(INDEX(C$1:C$12,MATCH(0,COUNTIF(F$1:F1,C$1:C$12)+IF(D$1:D$12<>$D$15,1,0)*($D$15<>"")+IF($B$15<>LEFT(B$1:B$12,LEN($B$15)),1,0),0)),""))
[/TD]
[/TR]
[TR]
[TD][COLOR=[URL="https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF"]#FFFFFF[/URL] ]3[/COLOR]
[/TD]
[TD]Customer 3[/TD]
[TD]1111
[/TD]
[TD]3 - Moderate[/TD]
[TD][/TD]
[TD]=IF(D$15="",IFERROR(INDEX(C$1:C$12,MATCH(0,COUNTIF(F$1:F2,C$1:C$12)+IF($D$1:$D$12<>$D$15,IF(LEFT($D$1:$D$12)+0>2,1,0))+IF($B$15<>LEFT(B$1:B$12,LEN($B$15)),1,0),0)),""),IFERROR(INDEX(C$1:C$12,MATCH(0,COUNTIF(F$1:F2,C$1:C$12)+IF(D$1:D$12<>$D$15,1,0)*($D$15<>"")+IF($B$15<>LEFT(B$1:B$12,LEN($B$15)),1,0),0)),""))
[/TD]
[/TR]
[TR]
[TD][COLOR=[URL="https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF"]#FFFFFF[/URL] ]4[/COLOR]
[/TD]
[TD]Customer 4[/TD]
[TD]2222
[/TD]
[TD]2 - High[/TD]
[TD][/TD]
[TD]=IF(D$15="",IFERROR(INDEX(C$1:C$12,MATCH(0,COUNTIF(F$1:F3,C$1:C$12)+IF($D$1:$D$12<>$D$15,IF(LEFT($D$1:$D$12)+0>2,1,0))+IF($B$15<>LEFT(B$1:B$12,LEN($B$15)),1,0),0)),""),IFERROR(INDEX(C$1:C$12,MATCH(0,COUNTIF(F$1:F3,C$1:C$12)+IF(D$1:D$12<>$D$15,1,0)*($D$15<>"")+IF($B$15<>LEFT(B$1:B$12,LEN($B$15)),1,0),0)),""))
[/TD]
[/TR]
[TR]
[TD][COLOR=[URL="https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF"]#FFFFFF[/URL] ]5[/COLOR]
[/TD]
[TD]Customer 4[/TD]
[TD]3333
[/TD]
[TD]1 - Critical[/TD]
[TD][/TD]
[TD]=IF(D$15="",IFERROR(INDEX(C$1:C$12,MATCH(0,COUNTIF(F$1:F4,C$1:C$12)+IF($D$1:$D$12<>$D$15,IF(LEFT($D$1:$D$12)+0>2,1,0))+IF($B$15<>LEFT(B$1:B$12,LEN($B$15)),1,0),0)),""),IFERROR(INDEX(C$1:C$12,MATCH(0,COUNTIF(F$1:F4,C$1:C$12)+IF(D$1:D$12<>$D$15,1,0)*($D$15<>"")+IF($B$15<>LEFT(B$1:B$12,LEN($B$15)),1,0),0)),""))
[/TD]
[/TR]
[TR]
[TD][COLOR=[URL="https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF"]#FFFFFF[/URL] ]6[/COLOR]
[/TD]
[TD]Customer 4[/TD]
[TD]4444
[/TD]
[TD]3 - Moderate[/TD]
[TD][/TD]
[TD]=IF(D$15="",IFERROR(INDEX(C$1:C$12,MATCH(0,COUNTIF(F$1:F5,C$1:C$12)+IF($D$1:$D$12<>$D$15,IF(LEFT($D$1:$D$12)+0>2,1,0))+IF($B$15<>LEFT(B$1:B$12,LEN($B$15)),1,0),0)),""),IFERROR(INDEX(C$1:C$12,MATCH(0,COUNTIF(F$1:F5,C$1:C$12)+IF(D$1:D$12<>$D$15,1,0)*($D$15<>"")+IF($B$15<>LEFT(B$1:B$12,LEN($B$15)),1,0),0)),""))
[/TD]
[/TR]
[TR]
[TD][COLOR=[URL="https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF"]#FFFFFF[/URL] ]7[/COLOR]
[/TD]
[TD]Customer 4[/TD]
[TD]5555
[/TD]
[TD]2 - High[/TD]
[TD][/TD]
[TD]=IF(D$15="",IFERROR(INDEX(C$1:C$12,MATCH(0,COUNTIF(F$1:F6,C$1:C$12)+IF($D$1:$D$12<>$D$15,IF(LEFT($D$1:$D$12)+0>2,1,0))+IF($B$15<>LEFT(B$1:B$12,LEN($B$15)),1,0),0)),""),IFERROR(INDEX(C$1:C$12,MATCH(0,COUNTIF(F$1:F6,C$1:C$12)+IF(D$1:D$12<>$D$15,1,0)*($D$15<>"")+IF($B$15<>LEFT(B$1:B$12,LEN($B$15)),1,0),0)),""))
[/TD]
[/TR]
[TR]
[TD][COLOR=[URL="https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF"]#FFFFFF[/URL] ]8[/COLOR]
[/TD]
[TD]Customer 3[/TD]
[TD]6666
[/TD]
[TD]3 - Moderate[/TD]
[TD][/TD]
[TD]=IF(D$15="",IFERROR(INDEX(C$1:C$12,MATCH(0,COUNTIF(F$1:F7,C$1:C$12)+IF($D$1:$D$12<>$D$15,IF(LEFT($D$1:$D$12)+0>2,1,0))+IF($B$15<>LEFT(B$1:B$12,LEN($B$15)),1,0),0)),""),IFERROR(INDEX(C$1:C$12,MATCH(0,COUNTIF(F$1:F7,C$1:C$12)+IF(D$1:D$12<>$D$15,1,0)*($D$15<>"")+IF($B$15<>LEFT(B$1:B$12,LEN($B$15)),1,0),0)),""))
[/TD]
[/TR]
[TR]
[TD][COLOR=[URL="https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF"]#FFFFFF[/URL] ]9[/COLOR]
[/TD]
[TD]Customer 3[/TD]
[TD]7777
[/TD]
[TD]3 - Moderate[/TD]
[TD][/TD]
[TD]=IF(D$15="",IFERROR(INDEX(C$1:C$12,MATCH(0,COUNTIF(F$1:F8,C$1:C$12)+IF($D$1:$D$12<>$D$15,IF(LEFT($D$1:$D$12)+0>2,1,0))+IF($B$15<>LEFT(B$1:B$12,LEN($B$15)),1,0),0)),""),IFERROR(INDEX(C$1:C$12,MATCH(0,COUNTIF(F$1:F8,C$1:C$12)+IF(D$1:D$12<>$D$15,1,0)*($D$15<>"")+IF($B$15<>LEFT(B$1:B$12,LEN($B$15)),1,0),0)),""))
[/TD]
[/TR]
[TR]
[TD][COLOR=[URL="https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF"]#FFFFFF[/URL] ]10[/COLOR]
[/TD]
[TD]Customer 1[/TD]
[TD]8888
[/TD]
[TD]2 - High[/TD]
[TD][/TD]
[TD]=IF(D$15="",IFERROR(INDEX(C$1:C$12,MATCH(0,COUNTIF(F$1:F9,C$1:C$12)+IF($D$1:$D$12<>$D$15,IF(LEFT($D$1:$D$12)+0>2,1,0))+IF($B$15<>LEFT(B$1:B$12,LEN($B$15)),1,0),0)),""),IFERROR(INDEX(C$1:C$12,MATCH(0,COUNTIF(F$1:F9,C$1:C$12)+IF(D$1:D$12<>$D$15,1,0)*($D$15<>"")+IF($B$15<>LEFT(B$1:B$12,LEN($B$15)),1,0),0)),""))
[/TD]
[/TR]
[TR]
[TD][COLOR=[URL="https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF"]#FFFFFF[/URL] ]11[/COLOR]
[/TD]
[TD]Customer 1[/TD]
[TD]9999
[/TD]
[TD]3 - Moderate[/TD]
[TD][/TD]
[TD]=IF(D$15="",IFERROR(INDEX(C$1:C$12,MATCH(0,COUNTIF(F$1:F10,C$1:C$12)+IF($D$1:$D$12<>$D$15,IF(LEFT($D$1:$D$12)+0>2,1,0))+IF($B$15<>LEFT(B$1:B$12,LEN($B$15)),1,0),0)),""),IFERROR(INDEX(C$1:C$12,MATCH(0,COUNTIF(F$1:F10,C$1:C$12)+IF(D$1:D$12<>$D$15,1,0)*($D$15<>"")+IF($B$15<>LEFT(B$1:B$12,LEN($B$15)),1,0),0)),""))
[/TD]
[/TR]
[TR]
[TD][COLOR=[URL="https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF"]#FFFFFF[/URL] ]12[/COLOR]
[/TD]
[TD]Customer 4[/TD]
[TD]1212
[/TD]
[TD]2 - High[/TD]
[TD][/TD]
[TD]=IF(D$15="",IFERROR(INDEX(C$1:C$12,MATCH(0,COUNTIF(F$1:F11,C$1:C$12)+IF($D$1:$D$12<>$D$15,IF(LEFT($D$1:$D$12)+0>2,1,0))+IF($B$15<>LEFT(B$1:B$12,LEN($B$15)),1,0),0)),""),IFERROR(INDEX(C$1:C$12,MATCH(0,COUNTIF(F$1:F11,C$1:C$12)+IF(D$1:D$12<>$D$15,1,0)*($D$15<>"")+IF($B$15<>LEFT(B$1:B$12,LEN($B$15)),1,0),0)),""))
[/TD]
[/TR]
[TR]
[TD][COLOR=[URL="https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF"]#FFFFFF[/URL] ]13[/COLOR]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]=IF(D$15="",IFERROR(INDEX(C$1:C$12,MATCH(0,COUNTIF(F$1:F12,C$1:C$12)+IF($D$1:$D$12<>$D$15,IF(LEFT($D$1:$D$12)+0>2,1,0))+IF($B$15<>LEFT(B$1:B$12,LEN($B$15)),1,0),0)),""),IFERROR(INDEX(C$1:C$12,MATCH(0,COUNTIF(F$1:F12,C$1:C$12)+IF(D$1:D$12<>$D$15,1,0)*($D$15<>"")+IF($B$15<>LEFT(B$1:B$12,LEN($B$15)),1,0),0)),""))
[/TD]
[/TR]
[TR]
[TD][COLOR=[URL="https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF"]#FFFFFF[/URL] ]14[/COLOR]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]=IF(D$15="",IFERROR(INDEX(C$1:C$12,MATCH(0,COUNTIF(F$1:F13,C$1:C$12)+IF($D$1:$D$12<>$D$15,IF(LEFT($D$1:$D$12)+0>2,1,0))+IF($B$15<>LEFT(B$1:B$12,LEN($B$15)),1,0),0)),""),IFERROR(INDEX(C$1:C$12,MATCH(0,COUNTIF(F$1:F13,C$1:C$12)+IF(D$1:D$12<>$D$15,1,0)*($D$15<>"")+IF($B$15<>LEFT(B$1:B$12,LEN($B$15)),1,0),0)),""))
[/TD]
[/TR]
[TR]
[TD][COLOR=[URL="https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF"]#FFFFFF[/URL] ]15[/COLOR]
[/TD]
[TD="bgcolor: #FFFF00"]Customer 4[/TD]
[TD][/TD]
[TD="bgcolor: #FFFF00"][/TD]
[TD][/TD]
[TD]=IF(D$15="",IFERROR(INDEX(C$1:C$12,MATCH(0,COUNTIF(F$1:F14,C$1:C$12)+IF($D$1:$D$12<>$D$15,IF(LEFT($D$1:$D$12)+0>2,1,0))+IF($B$15<>LEFT(B$1:B$12,LEN($B$15)),1,0),0)),""),IFERROR(INDEX(C$1:C$12,MATCH(0,COUNTIF(F$1:F14,C$1:C$12)+IF(D$1:D$12<>$D$15,1,0)*($D$15<>"")+IF($B$15<>LEFT(B$1:B$12,LEN($B$15)),1,0),0)),""))
[/TD]
[/TR]
</tbody>[/TABLE]