• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 152
  • Last Modified:

How to use the function - IF(and?

I am trying to creat a spreadsheet that uses the function =IF(AND????

I have five possible outcums. For example if the sun is rising then it is warm, if the sun is settinmg  then it is cold.
  • 2
3 Solutions
JPIT DirectorCommented:
The (AND  is going to be used for combining multiple criteria for your if statement, you could probably get by with just an if statement.
for eg., if you want to check if a value is between 10 and 15, the if(and will look like:
=IF(AND(B2 < 15, B2 > 10),"TRUE","FALSE")

Assuming B2 contains the value and this formula is typed in another cell
JPIT DirectorCommented:
See the attached file, just change the value in the drop down in cell A1.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now