Solved

Combining IF, AND, OR functions

Posted on 2013-12-23
3
153 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
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 Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

809 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