Hi All,
Would greatly appreciate if you can help me with the simplest solution for below:
There are items that belong to the Main Category (e.g. 100 and 200) such as XXX and AAA. There are also SUB-category items that share same main category code but have different sub-category codes. I want to replace/update the [Status] of the sub-items that belong in the same Main Category column with a "yes" IF there is YES in the status of the main category items. IF not Yes, then they can remain as Nulls. Please see below for sample and DESIRED result:
Sample:
| Date | Item | Main Category | Sub Category | Status |
| Jan | XXX | 100 | 100 | YES |
| Jan | XAA | 100 | 110 | [Null] |
| Jan | XBB | 100 | 120 | [Null] |
| Jan | YYY | 200 | 200 | NO |
| Jan | YAA | 200 | 210 | [Null] |
| Jan | YBB | 200 | 230 | [Null] |
| Feb | ... | ... | ... | ... |
Desired Result:
| Date | Item | Main Category | Sub Category | Status |
| Jan | XXX | 100 | 100 | YES |
| Jan | XAA | 100 | 110 | YES |
| Jan | XBB | 100 | 120 | YES |
| Jan | YYY | 200 | 200 | NO |
| Jan | YAA | 200 | 210 | [Null] |
| Jan | YBB | 200 | 230 | [Null] |
| Feb | ... | ... | ... | ... |
Thank you so much for your time and help.
Let me know if need clarification.