A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

If Then Help



 
 
Thread Tools Display Modes
  #1  
Old January 8th, 2010, 08:48 PM posted to microsoft.public.excel.worksheet.functions
nabanco
external usenet poster
 
Posts: 51
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  
Old January 8th, 2010, 08:54 PM posted to microsoft.public.excel.worksheet.functions
Lars-Åke Aspelin[_2_]
external usenet poster
 
Posts: 722
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  
Old January 8th, 2010, 09:07 PM posted to microsoft.public.excel.worksheet.functions
ryguy7272
external usenet poster
 
Posts: 1,593
Default If Then Help

There are a few ways to do this. This is probably one of the easiest:
=IF(E10,"Win",IF(E10,"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  
Old January 8th, 2010, 09:11 PM posted to microsoft.public.excel.worksheet.functions
nabanco
external usenet poster
 
Posts: 51
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(E10,"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

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:27 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.