It cannot be achieved by set a validation formula.
A common workaround would be using Power Automate to check after the new event creation, delete the duplicate entry if any. Here is an example: Prevent double booking SharePoint calendar for the day.
In addition, there is a PowerApps Office Template named Book a Room that might do some help on this scenario. Reference: Office Template: Book a Room now available.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.