Multiple Conditions within an IF Function


G

Guest

Hey everyone,

Just wondering if anyone knows if it is possible to have the following style
of formula with two conditions before the true/false part eg.

IF(H2<=365 and F2>0,F2,"")
IF(H2<=365 condition 1, F2>0 condition 2,F2,"")

What I am trying to do is have a function which tests for two different
conditions before returning a value. So far I have not had much luck.

If anyone knows the best way to do this your help would be greatly
appreciated.

Cheers
 
Ad

Advertisements

R

RagDyer

Try this:

IF(AND(H2<=365,F2>0),F2,"")

Both conditions must be TRUE for the contents of F2 to be displayed.
If either is FALSE, the cell containing this formula appears empty.
 
Ad

Advertisements


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

Top