XLOOKUP with Boolean OR logic
All data is in an Excel Table nameddatain the range B5:E14. This means the formulas below usestructured references. As a result, the formulas will automatically include new data added to the table. Because we want OR logic, we use addition in this case. Notice Excel is not case-sensitive, so we don’t need to capitalize the colors. In the second array, TRUE values correspond to “pink”. This means the values are mutually exclusive both tests can’t return TRUE at the same time....