✓ Trusted by 500+ organizations since 2014 ✓ For those who want to grow and teams that mean business ✓ Chosen by top universities

Password Challenge

Password Challenge

Help out a company with bad security practices to validate their passwords with Excel!



You are given the following requirements:

– At least six characters long

– No spaces

– At least one number

– At least one special character



Drop your solution in the comments below 🙂

Our solution:

=IF(AND(LEN(F4)>=6;NOT(ISNUMBER(SEARCH(” “;F4)));
COUNT(FIND({0;1;2;3;4;5;6;7;8;9};F4))>0;
COUNT(FIND($K$4:$K$16;F4))>0);”Valid”;”Invalid”)


More blog posts

Tired of Googling?
Get the best Excel tips every week. Subscribe to our newsletter.

About the author

Emil har jobbat på Learnesy som produktutvecklare i flera år och ligger bakom flera av Learnesys kurser. Han har en utbildning inom datavetenskap med ett stort intresse för det analytiska och teoretiska. Utöver Finska och Svenska snackar Emil även flytande Excelfunktioner!