Alex O
Active Member
- Joined
- Mar 16, 2009
- Messages
- 345
- Office Version
- 365
- Platform
- Windows
I need a formula that will look at AH and for each ID# return the corresponding value in AI. For example ID# AO3N3J would return a value of SYR/11-1340, SYR/12-2806.5 and AOVYF2 would return KC/11-292.
I've tried VLOOKUP but it only returns the first match.
Any help is appreciated!
<TABLE style="BACKGROUND-COLOR: #ffffff; PADDING-LEFT: 2pt; PADDING-RIGHT: 2pt; FONT-FAMILY: Arial,Arial; FONT-SIZE: 10pt" border=1 cellSpacing=0 cellPadding=0><COLGROUP><COL style="WIDTH: 30px; FONT-WEIGHT: bold"><COL style="WIDTH: 102px"><COL style="WIDTH: 121px"></COLGROUP><TBODY><TR style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt; FONT-WEIGHT: bold"><TD></TD><TD>AH</TD><TD>AI</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">5</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Calibri">A0RK6K</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Calibri; FONT-SIZE: 9pt">INS/11-2640</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">6</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Calibri">800882</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Calibri; FONT-SIZE: 9pt">SDL/11-182.5</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">7</TD><TD style="TEXT-ALIGN: left; BACKGROUND-COLOR: #99cc00; FONT-FAMILY: Calibri">A03N3J</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Calibri; FONT-SIZE: 9pt">SYR/11-1340</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">8</TD><TD style="TEXT-ALIGN: left; BACKGROUND-COLOR: #99cc00; FONT-FAMILY: Calibri">A03N3J</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Calibri; FONT-SIZE: 9pt">SYR/12-2806.5</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">9</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Calibri">A0VYF2</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Calibri; FONT-SIZE: 9pt">KC/11-292</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">10</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Calibri">A0W282</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Calibri; FONT-SIZE: 9pt">KC/11-292</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">11</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Calibri">A03502</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Calibri; FONT-SIZE: 9pt">CMB/10-142</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">12</TD><TD style="TEXT-ALIGN: left; BACKGROUND-COLOR: #99cc00; FONT-FAMILY: Calibri">A0LD59</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Calibri; FONT-SIZE: 9pt">ZAN/10-256.79</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">13</TD><TD style="TEXT-ALIGN: left; BACKGROUND-COLOR: #99cc00; FONT-FAMILY: Calibri">A0LD59</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Calibri; FONT-SIZE: 9pt">ZAN/11-645</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">14</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Calibri">A0WJB0</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Calibri; FONT-SIZE: 9pt">MRF/11-382</TD></TR></TBODY></TABLE>
I've tried VLOOKUP but it only returns the first match.
Any help is appreciated!
<TABLE style="BACKGROUND-COLOR: #ffffff; PADDING-LEFT: 2pt; PADDING-RIGHT: 2pt; FONT-FAMILY: Arial,Arial; FONT-SIZE: 10pt" border=1 cellSpacing=0 cellPadding=0><COLGROUP><COL style="WIDTH: 30px; FONT-WEIGHT: bold"><COL style="WIDTH: 102px"><COL style="WIDTH: 121px"></COLGROUP><TBODY><TR style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt; FONT-WEIGHT: bold"><TD></TD><TD>AH</TD><TD>AI</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">5</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Calibri">A0RK6K</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Calibri; FONT-SIZE: 9pt">INS/11-2640</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">6</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Calibri">800882</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Calibri; FONT-SIZE: 9pt">SDL/11-182.5</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">7</TD><TD style="TEXT-ALIGN: left; BACKGROUND-COLOR: #99cc00; FONT-FAMILY: Calibri">A03N3J</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Calibri; FONT-SIZE: 9pt">SYR/11-1340</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">8</TD><TD style="TEXT-ALIGN: left; BACKGROUND-COLOR: #99cc00; FONT-FAMILY: Calibri">A03N3J</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Calibri; FONT-SIZE: 9pt">SYR/12-2806.5</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">9</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Calibri">A0VYF2</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Calibri; FONT-SIZE: 9pt">KC/11-292</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">10</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Calibri">A0W282</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Calibri; FONT-SIZE: 9pt">KC/11-292</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">11</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Calibri">A03502</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Calibri; FONT-SIZE: 9pt">CMB/10-142</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">12</TD><TD style="TEXT-ALIGN: left; BACKGROUND-COLOR: #99cc00; FONT-FAMILY: Calibri">A0LD59</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Calibri; FONT-SIZE: 9pt">ZAN/10-256.79</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">13</TD><TD style="TEXT-ALIGN: left; BACKGROUND-COLOR: #99cc00; FONT-FAMILY: Calibri">A0LD59</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Calibri; FONT-SIZE: 9pt">ZAN/11-645</TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">14</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Calibri">A0WJB0</TD><TD style="TEXT-ALIGN: left; FONT-FAMILY: Calibri; FONT-SIZE: 9pt">MRF/11-382</TD></TR></TBODY></TABLE>