Solved

Excel Formula

Posted on 2014-10-01
5
179 Views
Last Modified: 2014-10-01
I have a formula (in Cell G5) that returns a value of "Y" when these tow conditions are met.  F5 = "Validator" and Cell N5 = "WO#"
This is Current Formula:   =IF(F5="Validator",IF(N5="WO#","Y",))

The first problem is that when F5 does not equal "Validator" the result is "FALSE"

The second problem. I want to add a parameter that will return the same results ( "Y" if met, and left blank if not met) when F5 equals either "Validator" or "Scanner" and N5="WO#".

Any suggestions. Thanks
0
Comment
Question by:acpress
  • 3
  • 2
5 Comments
 
LVL 24

Expert Comment

by:Phillip Burton
ID: 40355521
The answer to the first problem: an IF statement has three arguments =IF(criteria,answer1,answer2). In your formula, F5="Validator", you have an answer1, but you have no answer 2. In those circumstances, if the criteria is not met, the answer is by default FALSE. If you don't want this, put in an answer2.

I suspect you want the null string "" (that's two speech marks), which results in a blank.
0
 
LVL 24

Accepted Solution

by:
Phillip Burton earned 500 total points
ID: 40355536
Here's the solution to your second problem:

=if(and(or(f5="Validation",f5="Scanner"),N5="WO#"),"Y","")
0
 
LVL 24

Expert Comment

by:Phillip Burton
ID: 40355540
To understand it, find the innermost brackets.

In English, you say this OR that. In Excel, you say OR(this,that).

The same with AND - AND(this,that).
0
 
LVL 2

Author Comment

by:acpress
ID: 40356002
Thank you , Perfect, exactly what I needed,  Your explanation makes it easier to understand too.
0
 
LVL 2

Author Closing Comment

by:acpress
ID: 40356006
perfect the right time.  excellent solution.
0

Featured Post

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Excel Pivot Table with No Summary Fields 7 100
Deploying packaged application using SCCM steps ? 4 40
sumifs excel 2013 3 28
what is the best open source database solution? 3 43
PaperPort has a feature called the "Send To Bar". It provides a convenient, drag-and-drop interface for using other installed software, such as Microsoft Office. However, this article shows that the latest Office 2016 apps (installed with an Office …
This article will shed light on the latest trends when it comes to your resume building needs. For far too long, the traditional CV format has monopolized the recruitment market.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …

827 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