I have two parts to my problem.
I'm trying to return the answer shown in Column 4 (C) below depending on the criteria from Column 2 and Column 3. I also want the answers to be in sequential order depending on the result from the previous.
As you can see in Column 4, if the criteria is (A, John) then the answer = A1. If its (A, bob) then it = A2, likewise (A,harry) = A3. You will also see that row 7 = B1 because that was the answer in row 5.
Does anyone know the formula?
<table style="width: 197px; height: 180px;" border="0" cellpadding="0" cellspacing="0"><col style="width: 47pt;" width="63"> <col style="width: 12pt;" width="16"> <col style="width: 29pt;" width="39"> <col style="width: 48pt;" width="64"> <tbody><tr style="height: 15pt;" height="20"> <td class="xl66" style="height: 15pt; width: 47pt;" height="20" width="63"> </td> <td style="vertical-align: top;">
</td><td class="xl65" style="width: 12pt;" width="16">A</td> <td style="vertical-align: top;">
</td><td class="xl65" style="width: 29pt;" width="39">B </td> <td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td class="xl65" style="width: 48pt;" width="64">C</td><td style="vertical-align: top;">
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl67" style="height: 15pt;" align="right" height="20">1</td> <td style="vertical-align: top;">
</td><td>A</td> <td style="vertical-align: top;">
</td><td>john</td> <td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td>A1</td><td style="vertical-align: top;">
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl67" style="height: 15pt;" align="right" height="20">2</td> <td style="vertical-align: top;">
</td><td>A</td> <td style="vertical-align: top;">
</td><td>john</td> <td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td>A1</td><td style="vertical-align: top;">
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl67" style="height: 15pt;" align="right" height="20">3</td> <td style="vertical-align: top;">
</td><td>A</td> <td style="vertical-align: top;">
</td><td>bob</td> <td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td>A2</td><td style="vertical-align: top;">
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl67" style="height: 15pt;" align="right" height="20">4</td> <td style="vertical-align: top;">
</td><td>A</td> <td style="vertical-align: top;">
</td><td>harry</td> <td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td>A3</td><td style="vertical-align: top;">
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl67" style="height: 15pt;" align="right" height="20">5</td> <td style="vertical-align: top;">
</td><td>B</td> <td style="vertical-align: top;">
</td><td>jill</td> <td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td>B1</td><td style="vertical-align: top;">
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl67" style="height: 15pt;" align="right" height="20">6</td> <td style="vertical-align: top;">
</td><td>B</td> <td style="vertical-align: top;">
</td><td>don</td> <td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td>B2</td><td style="vertical-align: top;">
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl67" style="height: 15pt;" align="right" height="20">7</td> <td style="vertical-align: top;">
</td><td>B</td> <td style="vertical-align: top;">
</td><td>jill</td> <td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td>B1</td><td style="vertical-align: top;">
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl67" style="height: 15pt;" align="right" height="20">8</td> <td style="vertical-align: top;">
</td><td>B</td> <td style="vertical-align: top;">
</td><td>larry</td> <td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td>B3</td><td style="vertical-align: top;">
</td> </tr> </tbody></table>
I'm trying to return the answer shown in Column 4 (C) below depending on the criteria from Column 2 and Column 3. I also want the answers to be in sequential order depending on the result from the previous.
As you can see in Column 4, if the criteria is (A, John) then the answer = A1. If its (A, bob) then it = A2, likewise (A,harry) = A3. You will also see that row 7 = B1 because that was the answer in row 5.
Does anyone know the formula?
<table style="width: 197px; height: 180px;" border="0" cellpadding="0" cellspacing="0"><col style="width: 47pt;" width="63"> <col style="width: 12pt;" width="16"> <col style="width: 29pt;" width="39"> <col style="width: 48pt;" width="64"> <tbody><tr style="height: 15pt;" height="20"> <td class="xl66" style="height: 15pt; width: 47pt;" height="20" width="63"> </td> <td style="vertical-align: top;">
</td><td class="xl65" style="width: 12pt;" width="16">A</td> <td style="vertical-align: top;">
</td><td class="xl65" style="width: 29pt;" width="39">B </td> <td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td class="xl65" style="width: 48pt;" width="64">C</td><td style="vertical-align: top;">
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl67" style="height: 15pt;" align="right" height="20">1</td> <td style="vertical-align: top;">
</td><td>A</td> <td style="vertical-align: top;">
</td><td>john</td> <td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td>A1</td><td style="vertical-align: top;">
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl67" style="height: 15pt;" align="right" height="20">2</td> <td style="vertical-align: top;">
</td><td>A</td> <td style="vertical-align: top;">
</td><td>john</td> <td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td>A1</td><td style="vertical-align: top;">
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl67" style="height: 15pt;" align="right" height="20">3</td> <td style="vertical-align: top;">
</td><td>A</td> <td style="vertical-align: top;">
</td><td>bob</td> <td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td>A2</td><td style="vertical-align: top;">
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl67" style="height: 15pt;" align="right" height="20">4</td> <td style="vertical-align: top;">
</td><td>A</td> <td style="vertical-align: top;">
</td><td>harry</td> <td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td>A3</td><td style="vertical-align: top;">
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl67" style="height: 15pt;" align="right" height="20">5</td> <td style="vertical-align: top;">
</td><td>B</td> <td style="vertical-align: top;">
</td><td>jill</td> <td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td>B1</td><td style="vertical-align: top;">
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl67" style="height: 15pt;" align="right" height="20">6</td> <td style="vertical-align: top;">
</td><td>B</td> <td style="vertical-align: top;">
</td><td>don</td> <td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td>B2</td><td style="vertical-align: top;">
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl67" style="height: 15pt;" align="right" height="20">7</td> <td style="vertical-align: top;">
</td><td>B</td> <td style="vertical-align: top;">
</td><td>jill</td> <td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td>B1</td><td style="vertical-align: top;">
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl67" style="height: 15pt;" align="right" height="20">8</td> <td style="vertical-align: top;">
</td><td>B</td> <td style="vertical-align: top;">
</td><td>larry</td> <td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td style="vertical-align: top;">
</td><td>B3</td><td style="vertical-align: top;">
</td> </tr> </tbody></table>