Excel - If condition with three values -


i check 3 cells, , if first 2 "yes" put text in specific cell, , if 3 "yes" different text in specific cell.

example:

yes | yes | no  | "sort of working" yes | yes | yes | "working no  | no  | yes | "not working" 

basically, if 3 yes "working" if not, "not working" using formula

thank you

three cells limit on stacking conditions within and function. more , perform conditional count (countif function) , compare number.

=if(countif(a1:a3, "yes")=3, "working", "not working") 

alternate:

=lookup(countif(a1:a3, "yes"), {0,1,2,3}, {"not working","not working","sort of working","working"}) =iferror(choose(countif(a1:a3, "yes")-1, "sort of working","working"), "not working") 

Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -