How to check error on excel if there is any mistakes

I would like to ask the similar question: For example, there are cases where the items have error like it was suppose to be item 1, item 2 and item 3 in the excel. But maybe another sheet have only item 1 and 2 which item 3 is missing. Is there a way for UI path for detect this kind of error ?