I have a table as follow:
| Xn | S | Pn |
| 0 | 0 | 0 |
| 1 | 0 | 1 |
| 0 | 1 | 0 |
| 1 | 1 | 0 |
I would like to search through columns Xn
and S
and return the value of Pn
for which Xn=1 and S=0
.
Can anyone advise on how I could go about doing this?