Alex O
Active Member
- Joined
- Mar 16, 2009
- Messages
- 345
- Office Version
- 365
- Platform
- Windows
I need a formula for AP2 that will look for the value in M3 in AN3:AN6806 and if there'a a match AND the status codes are the same return the status code in AO. If they are not the same return the value in N. In short, the data set on the left is new the data on the right is old. I need to know which status codes have changed...
Thanks
<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: 86px"><COL style="WIDTH: 86px"><COL style="WIDTH: 86px"><COL style="WIDTH: 79px"><COL style="WIDTH: 60px"></COLGROUP><TBODY><TR style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt; FONT-WEIGHT: bold"><TD> </TD><TD>M</TD><TD>N</TD><TD>AN</TD><TD>AO</TD><TD>AP</TD></TR><TR style="HEIGHT: 36px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">1</TD><TD style="BACKGROUND-COLOR: #c0c0c0"> </TD><TD style="BACKGROUND-COLOR: #c0c0c0"> </TD><TD style="BACKGROUND-COLOR: #c0c0c0"> </TD><TD style="BACKGROUND-COLOR: #c0c0c0"> </TD><TD> </TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">2</TD><TD style="BACKGROUND-COLOR: #c0c0c0">DEBT_ID_NO</TD><TD style="BACKGROUND-COLOR: #c0c0c0">Status Code</TD><TD style="BACKGROUND-COLOR: #c0c0c0">DEBT_ID_NO</TD><TD style="BACKGROUND-COLOR: #c0c0c0">Status Code</TD><TD> </TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">3</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274541</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">503</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274541</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">503</TD><TD> </TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">4</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274542</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">117</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274542</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">117</TD><TD> </TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">5</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274543</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">458</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274543</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">458</TD><TD> </TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">6</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274544</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">458</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274544</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">458</TD><TD> </TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">7</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274545</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">520</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274545</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">520</TD><TD> </TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">8</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274546</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">405</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274546</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">405</TD><TD> </TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">9</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274547</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">458</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274547</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">458</TD><TD> </TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">10</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274548</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">458</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274548</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">458</TD><TD> </TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">11</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274549</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">420</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274549</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">420</TD><TD> </TD></TR></TBODY></TABLE>
Thanks
<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: 86px"><COL style="WIDTH: 86px"><COL style="WIDTH: 86px"><COL style="WIDTH: 79px"><COL style="WIDTH: 60px"></COLGROUP><TBODY><TR style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt; FONT-WEIGHT: bold"><TD> </TD><TD>M</TD><TD>N</TD><TD>AN</TD><TD>AO</TD><TD>AP</TD></TR><TR style="HEIGHT: 36px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">1</TD><TD style="BACKGROUND-COLOR: #c0c0c0"> </TD><TD style="BACKGROUND-COLOR: #c0c0c0"> </TD><TD style="BACKGROUND-COLOR: #c0c0c0"> </TD><TD style="BACKGROUND-COLOR: #c0c0c0"> </TD><TD> </TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">2</TD><TD style="BACKGROUND-COLOR: #c0c0c0">DEBT_ID_NO</TD><TD style="BACKGROUND-COLOR: #c0c0c0">Status Code</TD><TD style="BACKGROUND-COLOR: #c0c0c0">DEBT_ID_NO</TD><TD style="BACKGROUND-COLOR: #c0c0c0">Status Code</TD><TD> </TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">3</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274541</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">503</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274541</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">503</TD><TD> </TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">4</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274542</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">117</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274542</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">117</TD><TD> </TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">5</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274543</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">458</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274543</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">458</TD><TD> </TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">6</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274544</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">458</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274544</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">458</TD><TD> </TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">7</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274545</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">520</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274545</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">520</TD><TD> </TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">8</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274546</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">405</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274546</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">405</TD><TD> </TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">9</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274547</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">458</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274547</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">458</TD><TD> </TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">10</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274548</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">458</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274548</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">458</TD><TD> </TD></TR><TR style="HEIGHT: 17px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">11</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274549</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">420</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">274549</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #c0c0c0">420</TD><TD> </TD></TR></TBODY></TABLE>