Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 516
Default Logical IF statements

When using the IF statement:

IF(logical_test,value_if_true,value_if_false)

Is it possible to reverse the syntax? For example, can =IF(A1=1,"very low")
be written as =IF(A1=very low,"1")?


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 396
Default Logical IF statements

Like this?

=IF(A1="very low",1)

--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"Matt" wrote:

When using the IF statement:

IF(logical_test,value_if_true,value_if_false)

Is it possible to reverse the syntax? For example, can =IF(A1=1,"very low")
be written as =IF(A1=very low,"1")?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 516
Default Logical IF statements

Sweet, thanks..!

"Wigi" wrote:

Like this?

=IF(A1="very low",1)

--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"Matt" wrote:

When using the IF statement:

IF(logical_test,value_if_true,value_if_false)

Is it possible to reverse the syntax? For example, can =IF(A1=1,"very low")
be written as =IF(A1=very low,"1")?


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Logical IF statements

You may need to explain to the OP that the quote marks are to delimit a text
string. A number doesn't have quote marks. Quote marks around "1" make it
a text string, not a number.
--
David Biddulph

"Wigi" wrote in message
...
Like this?

=IF(A1="very low",1)

--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"Matt" wrote:

When using the IF statement:

IF(logical_test,value_if_true,value_if_false)

Is it possible to reverse the syntax? For example, can =IF(A1=1,"very
low")
be written as =IF(A1=very low,"1")?




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


Similar Threads
Thread Thread Starter Forum Replies Last Post
what formula for summing if two logical statements are true? steve95959 Excel Worksheet Functions 2 April 29th 08 11:07 PM
Logical Test if statements with text--Excel 2002 Matt Excel Discussion (Misc queries) 2 November 2nd 05 11:32 PM
Intervals as logical statements xnadeau Excel Worksheet Functions 3 October 25th 05 08:35 PM
Logical ELSE statements Ruth Excel Discussion (Misc queries) 2 June 23rd 05 03:23 PM
Logical Function - Multiple IF statements vnsrod2000 Excel Worksheet Functions 7 February 4th 05 10:42 PM


All times are GMT +1. The time now is 11:29 AM.

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"