=IFS(ISBLANK(A2), "", EXACT(A2)=upper(A2), "upper case", EXACT(A2) = lower(A2), "lower case", "Mix case")
Almost;IFS might make it a bit easier to understand.
=IFS(ISBLANK(A2), "", EXACT(A2)=upper(A2), "upper case", EXACT(A2) = lower(A2), "lower case", "Mix case")
=IFS(ISBLANK(A2), "", EXACT(A2,UPPER(A2)), "upper case", EXACT(A2,LOWER(A2)), "lower case", TRUE,"Mix case")
Yes, I forgot the true part, that happens when you reply with your smartphone and you don't have excel on it. Not that smartAlmost;Code:=IFS(ISBLANK(A2), "", EXACT(A2,UPPER(A2)), "upper case", EXACT(A2,LOWER(A2)), "lower case", TRUE,"Mix case")
Another approach, using Find instead of Exact functionAlmost;Code:=IFS(ISBLANK(A2), "", EXACT(A2,UPPER(A2)), "upper case", EXACT(A2,LOWER(A2)), "lower case", TRUE,"Mix case")
beware with items in column A like Aa, MAma, CANcanAnother approach, using Find
Thank you for your great catch.beware with items in column A like Aa, MAma, CANcan
Can be mitigated with the likes of =IF(A2="","",IFERROR(IF(FIND(A2,UPPER(A2)&"¬"&LOWER(A2))=1,"Upper","Lower"),"Mix")&" case")
I'll get my coat…