Combining IF, AND, OR functions

Hello Experts,

I have a spreadsheet which I want to filter by a set formula.  

For example:

If A2 <> "-" or A2 <> " " AND B2<>" " AND C2 <>" " "Review".

I have tried a number of ways to do this, including nested IF and did not get the answer I was hoping for.

I have attached an example of what I have tried to do with AND function.

I would be very grateful for any help.

Regards,
Infosec36
Formula.xls
Sonia BowditchInformation Security OfficerAsked:
Who is Participating?
 
NBVCConnect With a Mentor Commented:
Maybe you are needing to add the TRIM() function to take care of spaces that shouldn't be there?

e/g/

=IF(AND(TRIM(A2)<>"-",TRIM(A2)<>"",TRIM(B2)<>"",TRIM(C2)<>""),"Review","")

copied down
0
 
NBVCCommented:
You can state, in words, when exactly you want the Review to show.

Currently, it looks like it is correctly displaying based on what I read above.
0
 
Sonia BowditchInformation Security OfficerAuthor Commented:
One thing I did not think about works perfectly.

Thank you.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.