Wow, that's really close. Only problems are that it's erasing my 4,9 match and replacing it with 9,9 matches, and it's displaying a 0 where it shouldn't be.
The formula now looks like this with the actual cell references.
=IFERROR(SMALL(IF(ISNUMBER(MATCH(AE2:AG2,
IF(ISNUMBER(MATCH(Y2:AB2,R2:U2,0)),Y2:AB2,"#"),0)),AE2:AG2),
COLUMNS($AH$2:AH2)),"")
it's displaying this:
<TABLE border=0 cellSpacing=0 cellPadding=0 width=717><COLGROUP><COL style="WIDTH: 29pt; mso-width-source: userset; mso-width-alt: 1365" span=3 width=38><COL style="WIDTH: 29pt; mso-width-source: userset; mso-width-alt: 1365" width=38><COL style="WIDTH: 23pt; mso-width-source: userset; mso-width-alt: 1080" width=30><COL style="WIDTH: 48pt" width=64><COL style="WIDTH: 19pt; mso-width-source: userset; mso-width-alt: 910" width=26><COL style="WIDTH: 29pt; mso-width-source: userset; mso-width-alt: 1365" span=3 width=38><COL style="WIDTH: 29pt; mso-width-source: userset; mso-width-alt: 1365" width=38><COL style="WIDTH: 19pt; mso-width-source: userset; mso-width-alt: 910" width=26><COL style="WIDTH: 47pt; mso-width-source: userset; mso-width-alt: 2247" width=63><COL style="WIDTH: 26pt; mso-width-source: userset; mso-width-alt: 1223" span=2 width=34><COL style="WIDTH: 26pt; mso-width-source: userset; mso-width-alt: 1223" width=34><COL style="WIDTH: 26pt; mso-width-source: userset; mso-width-alt: 1223" span=2 width=34><COL style="WIDTH: 26pt; mso-width-source: userset; mso-width-alt: 1223" width=34></COLGROUP><TBODY><TR style="HEIGHT: 14.4pt" height=19><TD style="WIDTH: 116pt; HEIGHT: 14.4pt" class=xl84 height=19 width=152 colSpan=4>Key Digits For The Day</TD><TD style="WIDTH: 23pt" class=xl81 width=30>
</TD><TD style="WIDTH: 48pt" class=xl81 width=64>Accuracy</TD><TD style="BORDER-LEFT: medium none; WIDTH: 19pt" class=xl72 width=26>
</TD><TD style="BORDER-LEFT: medium none; WIDTH: 116pt; BORDER-RIGHT: black 0.5pt solid" class=xl85 width=152 colSpan=4>Key Digit Mirrors</TD><TD style="WIDTH: 19pt" class=xl75 width=26>
</TD><TD style="WIDTH: 47pt" class=xl81 width=63>Accuracy</TD><TD style="WIDTH: 78pt; BORDER-RIGHT: black 0.5pt solid" class=xl82 width=102 colSpan=3>RBG</TD><TD style="BORDER-LEFT: medium none; WIDTH: 78pt; BORDER-RIGHT: black 0.5pt solid" class=xl86 width=102 colSpan=3>Match</TD></TR><TR style="HEIGHT: 14.4pt" height=19><TD style="HEIGHT: 14.4pt" class=xl82 height=19>2</TD><TD class=xl82>5</TD><TD class=xl82>6</TD><TD class=xl81>9</TD><TD class=xl81>
</TD><TD class=xl71>100%</TD><TD style="BORDER-LEFT: medium none" class=xl72>
</TD><TD class=xl82>7</TD><TD class=xl82>0</TD><TD class=xl82>1</TD><TD class=xl81>4</TD><TD class=xl75>
</TD><TD class=xl71>0%</TD><TD style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; FONT-FAMILY: Calibri; BACKGROUND: #60497b; COLOR: white; FONT-SIZE: 11pt; BORDER-TOP: medium none; FONT-WEIGHT: 700; BORDER-RIGHT: medium none; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl82>4</TD><TD style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; FONT-FAMILY: Calibri; BACKGROUND: red; COLOR: black; FONT-SIZE: 11pt; BORDER-TOP: medium none; FONT-WEIGHT: 700; BORDER-RIGHT: medium none; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl82>5</TD><TD style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; FONT-FAMILY: Calibri; BACKGROUND: #7030a0; COLOR: white; FONT-SIZE: 11pt; BORDER-TOP: medium none; FONT-WEIGHT: 700; BORDER-RIGHT: windowtext 0.5pt solid; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl81>9</TD><TD class=xl83>
</TD><TD class=xl83>
</TD><TD class=xl83>
</TD></TR><TR style="HEIGHT: 14.4pt" height=19><TD style="HEIGHT: 14.4pt" class=xl82 height=19>2</TD><TD class=xl82>5</TD><TD class=xl82>6</TD><TD class=xl81>9</TD><TD class=xl81>
</TD><TD class=xl71>0%</TD><TD style="BORDER-LEFT: medium none" class=xl72>
</TD><TD class=xl82>7</TD><TD class=xl82>0</TD><TD class=xl82>1</TD><TD class=xl81>4</TD><TD class=xl75>
</TD><TD class=xl71>0%</TD><TD style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; FONT-FAMILY: Calibri; BACKGROUND: #60497b; COLOR: white; FONT-SIZE: 11pt; BORDER-TOP: medium none; FONT-WEIGHT: 700; BORDER-RIGHT: medium none; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl82>4</TD><TD style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; FONT-FAMILY: Calibri; BACKGROUND: red; COLOR: black; FONT-SIZE: 11pt; BORDER-TOP: medium none; FONT-WEIGHT: 700; BORDER-RIGHT: medium none; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl82>5</TD><TD style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; FONT-FAMILY: Calibri; BACKGROUND: #7030a0; COLOR: white; FONT-SIZE: 11pt; BORDER-TOP: medium none; FONT-WEIGHT: 700; BORDER-RIGHT: windowtext 0.5pt solid; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl81>9</TD><TD class=xl83>
</TD><TD class=xl83>
</TD><TD class=xl83>
</TD></TR><TR style="HEIGHT: 14.4pt" height=19><TD style="HEIGHT: 14.4pt" class=xl82 height=19>0</TD><TD class=xl82>5</TD><TD class=xl82>6</TD><TD class=xl81>9</TD><TD class=xl81>
</TD><TD class=xl71>67%</TD><TD style="BORDER-LEFT: medium none" class=xl72>
</TD><TD class=xl82>5</TD><TD class=xl82>0</TD><TD class=xl82>1</TD><TD class=xl81>4</TD><TD class=xl75>
</TD><TD class=xl71>67%</TD><TD style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; FONT-FAMILY: Calibri; BACKGROUND: #ffc000; COLOR: black; FONT-SIZE: 11pt; BORDER-TOP: medium none; FONT-WEIGHT: 700; BORDER-RIGHT: medium none; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl82>8</TD><TD style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; FONT-FAMILY: Calibri; BACKGROUND: #7030a0; COLOR: white; FONT-SIZE: 11pt; BORDER-TOP: medium none; FONT-WEIGHT: 700; BORDER-RIGHT: medium none; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl82>9</TD><TD style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; FONT-FAMILY: Calibri; BACKGROUND: #ddd9c3; COLOR: windowtext; FONT-SIZE: 11pt; BORDER-TOP: medium none; FONT-WEIGHT: 700; BORDER-RIGHT: windowtext 0.5pt solid; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl81>
</TD><TD class=xl83>0</TD><TD class=xl83>
</TD><TD class=xl83>
</TD></TR><TR style="HEIGHT: 14.4pt" height=19><TD style="HEIGHT: 14.4pt" class=xl82 height=19>0</TD><TD class=xl82>5</TD><TD class=xl82>6</TD><TD class=xl81>9</TD><TD class=xl81>
</TD><TD class=xl71>67%</TD><TD style="BORDER-LEFT: medium none" class=xl72>
</TD><TD class=xl82>5</TD><TD class=xl82>0</TD><TD class=xl82>1</TD><TD class=xl81>4</TD><TD class=xl75>
</TD><TD class=xl71>33%</TD><TD style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; FONT-FAMILY: Calibri; BACKGROUND: #ffc000; COLOR: black; FONT-SIZE: 11pt; BORDER-TOP: medium none; FONT-WEIGHT: 700; BORDER-RIGHT: medium none; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl82>8</TD><TD style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; FONT-FAMILY: Calibri; BACKGROUND: #7030a0; COLOR: white; FONT-SIZE: 11pt; BORDER-TOP: medium none; FONT-WEIGHT: 700; BORDER-RIGHT: medium none; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl82>9</TD><TD style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; FONT-FAMILY: Calibri; BACKGROUND: #ddd9c3; COLOR: windowtext; FONT-SIZE: 11pt; BORDER-TOP: medium none; FONT-WEIGHT: 700; BORDER-RIGHT: windowtext 0.5pt solid; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl81>
</TD><TD class=xl83>0</TD><TD class=xl83>
</TD><TD class=xl83>
</TD></TR><TR style="HEIGHT: 14.4pt" height=19><TD style="HEIGHT: 14.4pt" class=xl82 height=19>2</TD><TD class=xl82>5</TD><TD class=xl82>6</TD><TD class=xl81>9</TD><TD class=xl81>
</TD><TD class=xl71>33%</TD><TD style="BORDER-LEFT: medium none" class=xl72>
</TD><TD class=xl82>7</TD><TD class=xl82>0</TD><TD class=xl82>1</TD><TD class=xl81>4</TD><TD class=xl75>
</TD><TD class=xl71>33%</TD><TD style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; FONT-FAMILY: Calibri; BACKGROUND: red; COLOR: black; FONT-SIZE: 11pt; BORDER-TOP: medium none; FONT-WEIGHT: 700; BORDER-RIGHT: medium none; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl82>5</TD><TD style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; FONT-FAMILY: Calibri; BACKGROUND: #ffc000; COLOR: black; FONT-SIZE: 11pt; BORDER-TOP: medium none; FONT-WEIGHT: 700; BORDER-RIGHT: medium none; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl82>8</TD><TD style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; FONT-FAMILY: Calibri; BACKGROUND: #7030a0; COLOR: white; FONT-SIZE: 11pt; BORDER-TOP: medium none; FONT-WEIGHT: 700; BORDER-RIGHT: windowtext 0.5pt solid; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl81>9</TD><TD class=xl83>
</TD><TD class=xl83>
</TD><TD class=xl83>
</TD></TR><TR style="HEIGHT: 14.4pt" height=19><TD style="HEIGHT: 14.4pt" class=xl82 height=19>2</TD><TD class=xl82>5</TD><TD class=xl82>6</TD><TD class=xl81>9</TD><TD class=xl81>
</TD><TD class=xl71>67%</TD><TD style="BORDER-LEFT: medium none" class=xl72>
</TD><TD class=xl82>7</TD><TD class=xl82>0</TD><TD class=xl82>1</TD><TD class=xl81>4</TD><TD class=xl75>
</TD><TD class=xl71>33%</TD><TD style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; FONT-FAMILY: Calibri; BACKGROUND: red; COLOR: black; FONT-SIZE: 11pt; BORDER-TOP: medium none; FONT-WEIGHT: 700; BORDER-RIGHT: medium none; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl82>5</TD><TD style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; FONT-FAMILY: Calibri; BACKGROUND: #ffc000; COLOR: black; FONT-SIZE: 11pt; BORDER-TOP: medium none; FONT-WEIGHT: 700; BORDER-RIGHT: medium none; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl82>8</TD><TD style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; FONT-FAMILY: Calibri; BACKGROUND: #7030a0; COLOR: white; FONT-SIZE: 11pt; BORDER-TOP: medium none; FONT-WEIGHT: 700; BORDER-RIGHT: windowtext 0.5pt solid; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl81>9</TD><TD class=xl83>
</TD><TD class=xl83>
</TD><TD class=xl83>
</TD></TR><TR style="HEIGHT: 14.4pt" height=19><TD style="HEIGHT: 14.4pt" class=xl76 height=19>2</TD><TD class=xl76>4</TD><TD class=xl76>5</TD><TD class=xl77>9</TD><TD class=xl77>
</TD><TD class=xl79>67%</TD><TD style="BORDER-LEFT: medium none" class=xl78>
</TD><TD class=xl76>7</TD><TD class=xl76>9</TD><TD class=xl76>0</TD><TD class=xl77>4</TD><TD class=xl80>
</TD><TD class=xl79>67%</TD><TD style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; FONT-FAMILY: Calibri; BACKGROUND: #ffc000; COLOR: black; FONT-SIZE: 11pt; BORDER-TOP: medium none; FONT-WEIGHT: 700; BORDER-RIGHT: medium none; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl76>8</TD><TD style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; FONT-FAMILY: Calibri; BACKGROUND: #7030a0; COLOR: white; FONT-SIZE: 11pt; BORDER-TOP: medium none; FONT-WEIGHT: 700; BORDER-RIGHT: medium none; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl76>9</TD><TD style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; FONT-FAMILY: Calibri; BACKGROUND: #ddd9c3; COLOR: windowtext; FONT-SIZE: 11pt; BORDER-TOP: medium none; FONT-WEIGHT: 700; BORDER-RIGHT: windowtext 0.5pt solid; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl77>
</TD><TD class=xl83>9</TD><TD class=xl83>9</TD><TD class=xl83>
</TD></TR><TR style="HEIGHT: 14.4pt" height=19><TD style="HEIGHT: 14.4pt" class=xl82 height=19>2</TD><TD class=xl82>4</TD><TD class=xl82>5</TD><TD class=xl81>9</TD><TD class=xl81>
</TD><TD class=xl71>33%</TD><TD style="BORDER-LEFT: medium none" class=xl72>
</TD><TD class=xl82>7</TD><TD class=xl82>9</TD><TD class=xl82>0</TD><TD class=xl81>4</TD><TD class=xl75>
</TD><TD class=xl71>33%</TD><TD style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; FONT-FAMILY: Calibri; BACKGROUND: #ffc000; COLOR: black; FONT-SIZE: 11pt; BORDER-TOP: medium none; FONT-WEIGHT: 700; BORDER-RIGHT: medium none; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl82>8</TD><TD style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; FONT-FAMILY: Calibri; BACKGROUND: #7030a0; COLOR: white; FONT-SIZE: 11pt; BORDER-TOP: medium none; FONT-WEIGHT: 700; BORDER-RIGHT: medium none; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl82>9</TD><TD style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; FONT-FAMILY: Calibri; BACKGROUND: #ddd9c3; COLOR: windowtext; FONT-SIZE: 11pt; BORDER-TOP: medium none; FONT-WEIGHT: 700; BORDER-RIGHT: windowtext 0.5pt solid; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl81>
</TD><TD class=xl83>9</TD><TD class=xl83>9</TD><TD class=xl83>
</TD></TR><TR style="HEIGHT: 14.4pt" height=19><TD style="HEIGHT: 14.4pt" class=xl82 height=19>1</TD><TD class=xl82>4</TD><TD class=xl82>5</TD><TD class=xl81>9</TD><TD class=xl81>
</TD><TD class=xl71>33%</TD><TD style="BORDER-LEFT: medium none" class=xl72>
</TD><TD class=xl82>6</TD><TD class=xl82>9</TD><TD class=xl82>0</TD><TD class=xl81>4</TD><TD class=xl75>
</TD><TD class=xl71>33%</TD><TD style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; FONT-FAMILY: Calibri; BACKGROUND: #ffc000; COLOR: black; FONT-SIZE: 11pt; BORDER-TOP: medium none; FONT-WEIGHT: 700; BORDER-RIGHT: medium none; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl82>8</TD><TD style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; FONT-FAMILY: Calibri; BACKGROUND: #7030a0; COLOR: white; FONT-SIZE: 11pt; BORDER-TOP: medium none; FONT-WEIGHT: 700; BORDER-RIGHT: medium none; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl82>9</TD><TD style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; FONT-FAMILY: Calibri; BACKGROUND: #ddd9c3; COLOR: windowtext; FONT-SIZE: 11pt; BORDER-TOP: medium none; FONT-WEIGHT: 700; BORDER-RIGHT: windowtext 0.5pt solid; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl81>
</TD><TD class=xl83>9</TD><TD class=xl83>9</TD><TD class=xl83>
</TD></TR><TR style="HEIGHT: 14.4pt" height=19><TD style="HEIGHT: 14.4pt" class=xl82 height=19>1</TD><TD class=xl82>4</TD><TD class=xl82>5</TD><TD class=xl81>9</TD><TD class=xl81>
</TD><TD class=xl71>67%</TD><TD style="BORDER-LEFT: medium none" class=xl72>
</TD><TD class=xl82>6</TD><TD class=xl82>9</TD><TD class=xl82>0</TD><TD class=xl81>4</TD><TD class=xl75>
</TD><TD class=xl71>33%</TD><TD style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; FONT-FAMILY: Calibri; BACKGROUND: #ffc000; COLOR: black; FONT-SIZE: 11pt; BORDER-TOP: medium none; FONT-WEIGHT: 700; BORDER-RIGHT: medium none; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl82>8</TD><TD style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; FONT-FAMILY: Calibri; BACKGROUND: #7030a0; COLOR: white; FONT-SIZE: 11pt; BORDER-TOP: medium none; FONT-WEIGHT: 700; BORDER-RIGHT: medium none; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl82>9</TD><TD style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; FONT-FAMILY: Calibri; BACKGROUND: #ddd9c3; COLOR: windowtext; FONT-SIZE: 11pt; BORDER-TOP: medium none; FONT-WEIGHT: 700; BORDER-RIGHT: windowtext 0.5pt solid; TEXT-DECORATION: none; mso-pattern: black none; text-underline-style: none; text-line-through: none" class=xl81>
</TD><TD class=xl83>9</TD><TD class=xl83>9</TD><TD class=xl83>
</TD></TR></TBODY></TABLE>