• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 188
  • Last Modified:

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
0
Sonia Bowditch
Asked:
Sonia Bowditch
  • 2
1 Solution
 
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
 
NBVCCommented:
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
 
Sonia BowditchAuthor Commented:
One thing I did not think about works perfectly.

Thank you.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now