Dear all,
Is it possible to make the below formula shorter?
CONCATENATE(IF(COUNTIF(A2:D2,"F")>0,"Fail in ",""),IF(COUNTIF(A2:D2,"F")=0,"",COUNTIF(A2:D2,"F"))," ",E2)
Dear all,
Is it possible to make the below formula shorter?
CONCATENATE(IF(COUNTIF(A2:D2,"F")>0,"Fail in ",""),IF(COUNTIF(A2:D2,"F")=0,"",COUNTIF(A2:D2,"F"))," ",E2)
Maybe:
Formula:Please Login or Register to view this content.
abousetta
Please consider:
Thanking those who helped you. Click the star icon in the lower left part of the contributor's post and add Reputation.
Cleaning up when you're done. Mark your thread [SOLVED] if you received your answer.
Hi,abousetta
you have saved 16 characters. thanks for your time..
[total character of my formula was (105) and your formula is (89)]
This is called a nested IF statement. There are limitations on the number of nestings you can use (I think 7 in XL03 and 36 in XL07 onwards).
In all cases, glad I could help.
Good luck.
abousetta
P.S. If you are satisfied then mark the thread as solved.
If I'm reading your requirements right, how about...
=IF(COUNTIF(A2:D2,"F")>0,"Fail in " &COUNTIF(A2:D2,"F"),"")
HTH
Regards, Jeff
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks