If Statements

  • Thread starter Thread starter sharonking66
  • Start date Start date
S

sharonking66

I am trying to create an if statement that has several different
factors. Here is what I am trying to do: If A2(status) = Open and
AB2(Category) = CMRA or MRC-PARTS and the D2 (date created) is greater
then 8 days then populate "yes", however if it does not reach this
criteria then populate "no".

Is this even possible?

Please advise,
 
=IF(AND(AND(A2="Open",OR(AB2="CMRA",AB2="MRC-PARTS")),D2>8),"yes","no")

Not sure if this is what you need. If not post back with clearer detail on
the criteria you want to test.

Dave
 
I am trying to create an if statement that has several different
factors. Here is what I am trying to do: If A2(status) = Open and
AB2(Category) = CMRA or MRC-PARTS and the D2 (date created) is greater
then 8 days then populate "yes", however if it does not reach this
criteria then populate "no".

Is this even possible?

Please advise,


=IF(AND(A2="Open",OR(AB2="CMRA",AB2="MRC-PARTS"),D2>=8),"yes","no")

I don't know what you mean by "D2 (date created) is greater then 8 days", so
you'll have to alter that in 5h3 rund5ion.


--ron
 
=IF(AND(A2="Open",OR(AB2="CMRA",AB2="MRC-PARTS"),D2>=8),"yes","no")

I don't know what you mean by "D2 (date created) is greater then 8 days", so
you'll have to alter that in 5h3 rund5ion.

--ron

What I mean by D2 cell (date created) is greater than 8 days is: If
the order was created on April 1 and it is now 8 days later (April 9)
then populate yes.
 
What I mean by D2 cell (date created) is greater than 8 days is: If
the order was created on April 1 and it is now 8 days later (April 9)
then populate yes.


Then that portion of the formula should read
...,(TODAY()-D2)>=8),...
--ron
 
Then that portion of the formula should read
...,(TODAY()-D2)>=8),...
--ron- Hide quoted text -

- Show quoted text -

Ron,

Thanks for your help but can you write this out in full for me. I
have tried adding the above to the formula and it doesn't seem to work.
 
Ron,

Thanks for your help but can you write this out in full for me. I
have tried adding the above to the formula and it doesn't seem to work.


=IF(AND(A2="Open",OR(AB2="CMRA",AB2="MRC-PARTS"),(TODAY()-D2)>=8),"yes","no")


--ron
 
=IF(AND(A2="Open",OR(AB2="CMRA",AB2="MRC-PARTS"),(TODAY()-D2)>=8),"yes","no­")

--ron- Hide quoted text -

- Show quoted text -

Thank you so much for your help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Adding two if Statements together 4
If statement with dates 0
if statement in formula 7
IF Statements 1
IF Formula 2
If statement for a range of cells 3
VBA Loop If statement 4
IF, THEN SYNTAX 5

Back
Top