I have a table with sales of individual products, along with their sales order ID. I want to add a calculated column that will indicate if a certain product was contained in the sale. It might be easier to give an example. In this example I want a calculated column that will indicate if the sale included an apple.
<tbody>
</tbody>
I need a formula that say something like, look for related Sales ID, do any of them contain an Apple, if so Yes, if not No.
Any ideas? Thank you.
Sales ID | Product | Calculated Column Desired Output |
10859 | Apple | Yes |
10655 | Orange | No |
10655 | Strawberry | No |
16549 | Strawberry | Yes |
16549 | Apple | Yes |
<tbody>
</tbody>
I need a formula that say something like, look for related Sales ID, do any of them contain an Apple, if so Yes, if not No.
Any ideas? Thank you.