Hi & Welcome,
One way of doing it, there are many other ways:
<TABLE style="PADDING-RIGHT: 2pt; PADDING-LEFT: 2pt; FONT-SIZE: 10pt; FONT-FAMILY: Arial,Arial; BACKGROUND-COLOR: #ffffff" cellSpacing=0 cellPadding=0 border=1><TBODY><TR style="FONT-WEIGHT: bold; FONT-SIZE: 8pt; BACKGROUND-COLOR: #cacaca; TEXT-ALIGN: center"><TD></TD><TD>A</TD><TD>B</TD><TD>C</TD><TD>D</TD><TD>E</TD><TD>F</TD><TD>G</TD><TD>H</TD><TD>I</TD><TD>J</TD></TR><TR style="HEIGHT: 17px"><TD style="FONT-SIZE: 8pt; BACKGROUND-COLOR: #cacaca; TEXT-ALIGN: center">1</TD><TD style="FONT-WEIGHT: bold; BACKGROUND-COLOR: #c0c0c0">SUBSCRIBER #</TD><TD style="FONT-WEIGHT: bold; BACKGROUND-COLOR: #c0c0c0">Subscriber Name</TD><TD style="FONT-WEIGHT: bold; BACKGROUND-COLOR: #c0c0c0">BOOK A</TD><TD> </TD><TD style="FONT-WEIGHT: bold; BACKGROUND-COLOR: #c0c0c0">SUBSCRIBER #</TD><TD style="FONT-WEIGHT: bold; BACKGROUND-COLOR: #c0c0c0">Subscriber Name</TD><TD style="FONT-WEIGHT: bold; BACKGROUND-COLOR: #c0c0c0">BOOK B</TD><TD> </TD><TD style="FONT-WEIGHT: bold; BACKGROUND-COLOR: #c0c0c0">SUBSCRIBER #</TD><TD style="FONT-WEIGHT: bold; BACKGROUND-COLOR: #ccffcc">PURCAHSED A & B</TD></TR><TR style="HEIGHT: 17px"><TD style="FONT-SIZE: 8pt; BACKGROUND-COLOR: #cacaca; TEXT-ALIGN: center">2</TD><TD style="TEXT-ALIGN: right">1</TD><TD>Person 1</TD><TD>YES</TD><TD> </TD><TD style="TEXT-ALIGN: right">1</TD><TD>Person 1</TD><TD>YES</TD><TD> </TD><TD style="TEXT-ALIGN: right">1</TD><TD>YES</TD></TR><TR style="HEIGHT: 17px"><TD style="FONT-SIZE: 8pt; BACKGROUND-COLOR: #cacaca; TEXT-ALIGN: center">3</TD><TD style="TEXT-ALIGN: right">2</TD><TD>Person 2</TD><TD>NO</TD><TD> </TD><TD style="TEXT-ALIGN: right">2</TD><TD>Person 2</TD><TD>NO</TD><TD> </TD><TD style="TEXT-ALIGN: right">2</TD><TD>NO</TD></TR><TR style="HEIGHT: 17px"><TD style="FONT-SIZE: 8pt; BACKGROUND-COLOR: #cacaca; TEXT-ALIGN: center">4</TD><TD style="TEXT-ALIGN: right">3</TD><TD>Person 3</TD><TD>YES</TD><TD> </TD><TD style="TEXT-ALIGN: right">3</TD><TD>Person 3</TD><TD>NO</TD><TD> </TD><TD style="TEXT-ALIGN: right">3</TD><TD>NO</TD></TR><TR style="HEIGHT: 17px"><TD style="FONT-SIZE: 8pt; BACKGROUND-COLOR: #cacaca; TEXT-ALIGN: center">5</TD><TD style="TEXT-ALIGN: right">4</TD><TD>Person 4</TD><TD>NO</TD><TD> </TD><TD style="TEXT-ALIGN: right">4</TD><TD>Person 4</TD><TD>NO</TD><TD> </TD><TD style="TEXT-ALIGN: right">4</TD><TD>NO</TD></TR><TR style="HEIGHT: 17px"><TD style="FONT-SIZE: 8pt; BACKGROUND-COLOR: #cacaca; TEXT-ALIGN: center">6</TD><TD style="TEXT-ALIGN: right">5</TD><TD>Person 5</TD><TD>NO</TD><TD> </TD><TD style="TEXT-ALIGN: right">5</TD><TD>Person 5</TD><TD>YES</TD><TD> </TD><TD style="TEXT-ALIGN: right">5</TD><TD>NO</TD></TR><TR style="HEIGHT: 17px"><TD style="FONT-SIZE: 8pt; BACKGROUND-COLOR: #cacaca; TEXT-ALIGN: center">7</TD><TD style="TEXT-ALIGN: right">6</TD><TD>Person 6</TD><TD>YES</TD><TD> </TD><TD style="TEXT-ALIGN: right">6</TD><TD>Person 6</TD><TD>NO</TD><TD> </TD><TD style="TEXT-ALIGN: right">6</TD><TD>NO</TD></TR><TR style="HEIGHT: 17px"><TD style="FONT-SIZE: 8pt; BACKGROUND-COLOR: #cacaca; TEXT-ALIGN: center">8</TD><TD style="TEXT-ALIGN: right">7</TD><TD>Person 7</TD><TD>YES</TD><TD> </TD><TD style="TEXT-ALIGN: right">7</TD><TD>Person 7</TD><TD>YES</TD><TD> </TD><TD style="TEXT-ALIGN: right">7</TD><TD>YES</TD></TR><TR style="HEIGHT: 17px"><TD style="FONT-SIZE: 8pt; BACKGROUND-COLOR: #cacaca; TEXT-ALIGN: center">9</TD><TD style="TEXT-ALIGN: right">8</TD><TD>Person 8</TD><TD>YES</TD><TD> </TD><TD style="TEXT-ALIGN: right">8</TD><TD>Person 8</TD><TD>NO</TD><TD> </TD><TD style="TEXT-ALIGN: right">8</TD><TD>NO</TD></TR><TR style="HEIGHT: 17px"><TD style="FONT-SIZE: 8pt; BACKGROUND-COLOR: #cacaca; TEXT-ALIGN: center">10</TD><TD style="TEXT-ALIGN: right">9</TD><TD>Person 9</TD><TD>NO</TD><TD> </TD><TD style="TEXT-ALIGN: right">9</TD><TD>Person 9</TD><TD>YES</TD><TD> </TD><TD style="TEXT-ALIGN: right">9</TD><TD>NO</TD></TR><TR style="HEIGHT: 17px"><TD style="FONT-SIZE: 8pt; BACKGROUND-COLOR: #cacaca; TEXT-ALIGN: center">11</TD><TD style="TEXT-ALIGN: right">10</TD><TD>Person 10</TD><TD>NO</TD><TD> </TD><TD style="TEXT-ALIGN: right">10</TD><TD>Person 10</TD><TD>NO</TD><TD> </TD><TD style="TEXT-ALIGN: right">10</TD><TD>NO</TD></TR></TBODY></TABLE>
<TABLE style="FONT-SIZE: 10pt; BORDER-LEFT-COLOR: #00ff00; BORDER-BOTTOM-COLOR: #00ff00; COLOR: #000000; BORDER-TOP-STYLE: groove; BORDER-TOP-COLOR: #00ff00; FONT-FAMILY: Arial; BORDER-RIGHT-STYLE: groove; BORDER-LEFT-STYLE: groove; BACKGROUND-COLOR: #fffcf9; BORDER-RIGHT-COLOR: #00ff00; BORDER-BOTTOM-STYLE: groove"><TBODY><TR><TD>Spreadsheet Formulas</TD></TR><TR><TD><TABLE style="FONT-SIZE: 9pt; FONT-FAMILY: Arial" cellSpacing=0 cellPadding=2 border=1><TBODY><TR style="FONT-SIZE: 10pt; BACKGROUND-COLOR: #cacaca"><TD>Cell</TD><TD>Formula</TD></TR><TR><TD>J2</TD><TD>=IF(AND(VLOOKUP(I2,$A$2:$C$11,3,FALSE)="YES",VLOOKUP(I2,$E$2:$G$11,3,FALSE)="YES"),"YES","NO")</TD></TR><TR><TD>J3</TD><TD>=IF(AND(VLOOKUP(I3,$A$2:$C$11,3,FALSE)="YES",VLOOKUP(I3,$E$2:$G$11,3,FALSE)="YES"),"YES","NO")</TD></TR><TR><TD>J4</TD><TD>=IF(AND(VLOOKUP(I4,$A$2:$C$11,3,FALSE)="YES",VLOOKUP(I4,$E$2:$G$11,3,FALSE)="YES"),"YES","NO")</TD></TR><TR><TD>J5</TD><TD>=IF(AND(VLOOKUP(I5,$A$2:$C$11,3,FALSE)="YES",VLOOKUP(I5,$E$2:$G$11,3,FALSE)="YES"),"YES","NO")</TD></TR><TR><TD>J6</TD><TD>=IF(AND(VLOOKUP(I6,$A$2:$C$11,3,FALSE)="YES",VLOOKUP(I6,$E$2:$G$11,3,FALSE)="YES"),"YES","NO")</TD></TR><TR><TD>J7</TD><TD>=IF(AND(VLOOKUP(I7,$A$2:$C$11,3,FALSE)="YES",VLOOKUP(I7,$E$2:$G$11,3,FALSE)="YES"),"YES","NO")</TD></TR><TR><TD>J8</TD><TD>=IF(AND(VLOOKUP(I8,$A$2:$C$11,3,FALSE)="YES",VLOOKUP(I8,$E$2:$G$11,3,FALSE)="YES"),"YES","NO")</TD></TR><TR><TD>J9</TD><TD>=IF(AND(VLOOKUP(I9,$A$2:$C$11,3,FALSE)="YES",VLOOKUP(I9,$E$2:$G$11,3,FALSE)="YES"),"YES","NO")</TD></TR><TR><TD>J10</TD><TD>=IF(AND(VLOOKUP(I10,$A$2:$C$11,3,FALSE)="YES",VLOOKUP(I10,$E$2:$G$11,3,FALSE)="YES"),"YES","NO")</TD></TR><TR><TD>J11</TD><TD>=IF(AND(VLOOKUP(I11,$A$2:$C$11,3,FALSE)="YES",VLOOKUP(I11,$E$2:$G$11,3,FALSE)="YES"),"YES","NO")</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>