IF function

  • Thread starter Thread starter pedro_king
  • Start date Start date
P

pedro_king

Hi, real simple one here for someone who knows excel. I'm creating a simple
spreadsheet for an assignment and need to use the IF function. Basically I
need the cell to display "failure" if a cell = > than 981.2 and I need it to
display the value of that cell if it = <981.2.

So if 980 is imputted, i need it to show 980. If 982 is imputted then i need
it to show FAILURE.

I'd be really greatful of any help, thanks
 
=IF(A2>=981.2,"failure",A2)

You've been inconsistent as to what you want for exactly 981.2 as you said
= and <= so one of the = signs shouldn't be there. If you intended <= (so
that 981.2 gets displayed, rather than being shown as failure, then the >=
in the formula should become >.
 

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