Hi, I have written the following COUNTIF formula which works, but is long and confusing. Is there any way of shortening and refining the rule? In essence an "error" is to be displayed if any sport is selected more than twice over C2:F2. I keep getting bracket errors if I try to shorten it.
My formula:
=IF(COUNTIF(C2:F2,"Football")>2,"error",IF(COUNTIF(C2:F2,"Fitness")>2,"error",IF(COUNTIF(C2:F2,"Badminton")>2,"error",IF(COUNTIF(C2:F2,"Rugby")>2,"error",""))))
Bookmarks