Solved

if formula compare two columns

Posted on 2014-03-27
3
102 Views
Last Modified: 2014-03-30
Hi expert's excel 2007

Need a formula to do the following
If a2 has the word closed and b2 is blank then c2 return ignore ootherwise if a2 is not closed and b2 is not blank then return ref to mapping table
0
Comment
Question by:route217
3 Comments
 
LVL 39

Accepted Solution

by:
nutsch earned 250 total points
ID: 39959089
What do you have in the mapping table, and what does "c2 return ignore" mean? Return C2, or return ignore?

=if(and(a2="closed",b2=""),c2,RefToMappingTable)
0
 
LVL 7

Assisted Solution

by:Steve
Steve earned 250 total points
ID: 39959125
=IF(AND(A2="closed",B2=""),"ignore","ref")

or possibly....

=IF(AND(A2="closed",B2=""),"","ref")
0
 
LVL 33

Expert Comment

by:Rob Henson
ID: 39961212
What about the other combinations of options for A2 & B2?

1) A2 = Closed, B2 = blank - Returns Ignore
2) A2 = Closed, B2 <> blank - ?
3) A2 <> Closed, B2 = blank - ?
4) A2 <> Closed, B2 <> Blank - Reference mapping table

You have covered options 1 & 4, could the others occur?

Thanks
Rob H
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

749 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