Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 150
  • 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.
0
cssc1
Asked:
cssc1
  • 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.
0
 
dinodinuCommented:
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
0
 
JPIT DirectorCommented:
See the attached file, just change the value in the drop down in cell A1.
5-Condition-If-statement.xlsx
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

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