How to delete rows excel that contain unwanted data

excel that i give u is the sample. i have try to do using my data, but it shows this error. do you have any idea why is it happen?