Solved

Combining IF, AND, OR functions

Posted on 2013-12-23
3
151 Views
Last Modified: 2013-12-23
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
Comment
Question by:Sonia Bowditch
  • 2
3 Comments
 
LVL 23

Expert Comment

by:NBVC
ID: 39736244
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
 
LVL 23

Accepted Solution

by:
NBVC earned 200 total points
ID: 39736250
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
 

Author Closing Comment

by:Sonia Bowditch
ID: 39736260
One thing I did not think about works perfectly.

Thank you.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question