can someone help me with a formula....

  • Thread starter Thread starter simon
  • Start date Start date
S

simon

What I want to achieve is:

IF text in cell D says either '2 yearly' or '5 yearly'
AND
Cell A contains any number other than 0
then
insert Text: 'IN' into cell E.
otherwise
insert Text 'OUT' into Cell E.


thanks in anticipation...
SS
 
try using AND and OR. Not tested.
if(and(or(d1="2 yearly",d1="5 yearly")<>0),"in","out")
 
One way:

E1: =IF(AND(OR(D1="2 yearly",D1="5 yearly"),A1<>0),"IN","OUT")
 
How about:
=IF(AND(A1<>0,OR(D1="2 yearly",D1="5 yearly")),"IN","OUT")
Copy down as needed.

If your cells in D actually contain '2 yearly' instead of 2 yearly, you will
need to add the single quotes to this formula.

tj
 
I think this will work..
=IF(AND(OR(D1="2 YEARLY",D1="5 YEARLY"),A1>0),"IN","OUT")
 
if(and(or(d1="2 yearly",d1="5 yearly")<>0),"in","out")
if(and(or(d1="2 yearly",d1="5 yearly")a1<>0),"in","out")
 

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

Back
Top