If you want to play an audio file only when a certain condition is met in Excel, you can use the Conditional Playback feature. To do this, first select the cell in which you want the audio to play. Then, on the Data tab, in the Data Tools group, click Data Validation. In the Data Validation dialog box, on the Settings tab, do the following: