#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 59
Default If Then Help

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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 913
Default If Then Help

On Fri, 8 Jan 2010 12:48:01 -0800, nabanco
wrote:

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

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default If Then Help

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



--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"nabanco" wrote:

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

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 59
Default If Then Help

Thank you

"ryguy7272" wrote:

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



--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"nabanco" wrote:

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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:31 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"