Solved

if formula based on multiple criteria

Posted on 2014-04-02
14
173 Views
Last Modified: 2014-04-08
Hi Expert's excel 2007

Need a if formula to do the following. ..
If b2 is open or closed or 2nd check or returns then into a2 insert todays date other wise blank.
0
Comment
Question by:route217
  • 5
  • 3
  • 2
  • +1
14 Comments
 
LVL 32

Accepted Solution

by:
Rob Henson earned 200 total points
ID: 39971786
Try this:

=IF(OR(B2="Open",B2="Closed",B2="2nd Check",B2="Returns"),TODAY(),"")

Thanks
Rob H
0
 

Author Comment

by:route217
ID: 39971789
Thanks rob

I was using and not or....see my mistake
0
 
LVL 8

Assisted Solution

by:itjockey
itjockey earned 150 total points
ID: 39971793
Try this
=IF(OR(B2="Open",B2="Closed",B2="2nd Check",B2="Returns"),TODAY(),"")
0
 
LVL 8

Expert Comment

by:itjockey
ID: 39971799
oops confused B2 i guess one cell dosent have too many words as you suggested.


Thanks
0
 
LVL 43

Assisted Solution

by:Saqib Husain, Syed
Saqib Husain, Syed earned 150 total points
ID: 39971804
You can also use something like

=IF(ISERR(FIND("#"&B2&"#","#Open#Closed#2nd Check#Returns")),"",TODAY())
0
 
LVL 8

Expert Comment

by:itjockey
ID: 39971811
Mr.Saqib Husain, Syed,

=IF(ISERR(FIND("#"&B2&"#","#Open#Closed#2nd Check#Returns")),"",TODAY())

New Thing i learned.

Thanks
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 8

Expert Comment

by:itjockey
ID: 39971813
May i have explanation please.
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39971822
Experiment with the find() function alone with the given parameters and you will see it yourself.
0
 
LVL 8

Expert Comment

by:itjockey
ID: 39971823
ok noted :)
0
 
LVL 32

Assisted Solution

by:Rob Henson
Rob Henson earned 200 total points
ID: 39971831
Would you not need another # after Returns?

The FIND is trying to find "#Value#" but if Value is "Returns" the FIND will be looking for "#Returns#" which it won't find in the string.

Thanks
Rob H
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39971929
You are right Rob. Another of my careless mistakes.

Saqib
0
 

Author Comment

by:route217
ID: 39985352
Modalot

Firstly apologise forbtge late reply back..cqn you kindly action as per your comments and split points.  Stops me making a mistake.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
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 …

932 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now