Help Creating a Table Calculation for Specific Products sold on the same Sale ID

Does anyone know what the formula to create a table calculation would be to tell me if two specific items were sold during the same transaction?
Seems like an AND calculation
For example, a customer buys a protein plus a pre-workout, can this calculation tell me when these are sold together?