If Then Help

N

nabanco

Hi, how would I say:

if cell e1 is a positive number, then return "win". If cell e1 is a
negative number then return "looser".

Thank you
 
L

Lars-Åke Aspelin

Hi, how would I say:

if cell e1 is a positive number, then return "win". If cell e1 is a
negative number then return "looser".

Thank you

Try this formula:

=CHOOSE(SIGN(E1)+2,"looser","E1 is zero","win")

Hope this helps / Lars-Åke
 
R

ryguy7272

There are a few ways to do this. This is probably one of the easiest:
=IF(E1>0,"Win",IF(E1<0,"Looser","Value is Zero"))
 

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