treeleaf20
Board Regular
- Joined
- Mar 17, 2009
- Messages
- 159
- Office Version
- 365
- Platform
- Windows
All,
Say I have the following Data Set:
I'm trying to find a formula to say check the number in the Num and find out if it has an AA and a AB segment. If it has both then basically say True, if it's missing one, put which one it's missing. So my results would look something like this:
Any help would be greatly appreciated. Thanks in advance.
Say I have the following Data Set:
HTML:
<table>
<tr><td>Num</td><td>Category</td></tr>
<tr><td>12345</td><td>AA</td></tr>
<tr><td>12345</td><td>AB</td></tr>
<tr><td>67890</td><td>AA</td></tr>
<tr><td>81737</td><td>AB</td></tr>
<tr><td>28748</td><td>AA</td></tr>
<tr><td>28748</td><td>AB</td></tr>
</table>
I'm trying to find a formula to say check the number in the Num and find out if it has an AA and a AB segment. If it has both then basically say True, if it's missing one, put which one it's missing. So my results would look something like this:
HTML:
<table>
<tr><td>Num</td><td>Category</td></tr>
<tr><td>12345</td><td>AA</td><td>True</td></tr>
<tr><td>12345</td><td>AB</td><td>True</td></tr>
<tr><td>67890</td><td>AA</td><td>AB</td></tr>
<tr><td>81737</td><td>AB</td><td>AA</td></tr>
<tr><td>28748</td><td>AA</td><td>True</td></tr>
<tr><td>28748</td><td>AB</td><td>True</td></tr>
</table>
Any help would be greatly appreciated. Thanks in advance.