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

Hi,

I have this IF function on one of my cell in my excel sheet
IF(G2=327,1,IF(G2=423,2)) - this is my logical test



what would the formula for value_if_true?

thanks for any help
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Logical Function excel 2003

=IF(G2=327,"value if true","value if false")

=IF(G2=327,1,IF(G2=423,2,"both conditions are false"))

In your formula if value is true returns 1
and if false it works on the next condition

IF(G2=423,2,"false")

If this post helps click Yes
---------------
Jacob Skaria


"Denver" wrote:

Hi,

I have this IF function on one of my cell in my excel sheet
IF(G2=327,1,IF(G2=423,2)) - this is my logical test



what would the formula for value_if_true?

thanks for any help

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Logical Function excel 2003

IF(G2=327,1,IF(G2=423,2))
with this formula it gives me a result of 1
but when i change G2 to 423 the result remains 1.

how would i correct my formula

thanks for any help

"Jacob Skaria" wrote:

=IF(G2=327,"value if true","value if false")

=IF(G2=327,1,IF(G2=423,2,"both conditions are false"))

In your formula if value is true returns 1
and if false it works on the next condition

IF(G2=423,2,"false")

If this post helps click Yes
---------------
Jacob Skaria


"Denver" wrote:

Hi,

I have this IF function on one of my cell in my excel sheet
IF(G2=327,1,IF(G2=423,2)) - this is my logical test



what would the formula for value_if_true?

thanks for any help

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Logical Function excel 2003

=IF(G2=327,1,IF(G2=423,2))

The above formula should return 1 for 327 and 2 for 423. Try this in a fresh
workbook. Your current cell may be having some formatting. Check whether
there are any decimals formatted (not to display)...like 423.01 or so....

If this post helps click Yes
---------------
Jacob Skaria


"Denver" wrote:

IF(G2=327,1,IF(G2=423,2))
with this formula it gives me a result of 1
but when i change G2 to 423 the result remains 1.

how would i correct my formula

thanks for any help

"Jacob Skaria" wrote:

=IF(G2=327,"value if true","value if false")

=IF(G2=327,1,IF(G2=423,2,"both conditions are false"))

In your formula if value is true returns 1
and if false it works on the next condition

IF(G2=423,2,"false")

If this post helps click Yes
---------------
Jacob Skaria


"Denver" wrote:

Hi,

I have this IF function on one of my cell in my excel sheet
IF(G2=327,1,IF(G2=423,2)) - this is my logical test



what would the formula for value_if_true?

thanks for any help

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Logical Function excel 2003

Hi,

I don't think non-displaying decimals could change 423 into 327.

The problem you are describing would be a bug if it were try. Feel free to
send me a copy of the offending workbook and I will take a look. combine the
three last three lines of my salutation.
--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire
shanedevenshire.
@sbcglobal
..net


"Denver" wrote:

IF(G2=327,1,IF(G2=423,2))
with this formula it gives me a result of 1
but when i change G2 to 423 the result remains 1.

how would i correct my formula

thanks for any help

"Jacob Skaria" wrote:

=IF(G2=327,"value if true","value if false")

=IF(G2=327,1,IF(G2=423,2,"both conditions are false"))

In your formula if value is true returns 1
and if false it works on the next condition

IF(G2=423,2,"false")

If this post helps click Yes
---------------
Jacob Skaria


"Denver" wrote:

Hi,

I have this IF function on one of my cell in my excel sheet
IF(G2=327,1,IF(G2=423,2)) - this is my logical test



what would the formula for value_if_true?

thanks for any help

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
Help!!! - logical function for someone not very logical ECH123 Excel Worksheet Functions 3 May 11th 09 04:14 PM
EXCEL 2000 - IF function returns wrong result from logical test Sean Duffy Excel Worksheet Functions 8 October 15th 08 09:58 PM
Logical function Lavanya Excel Discussion (Misc queries) 1 January 25th 07 06:20 AM
logical function [email protected] Excel Worksheet Functions 4 July 27th 06 04:43 AM
Logical Function vnsrod2000 Excel Worksheet Functions 2 January 28th 05 04:03 AM


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

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

About Us

"It's about Microsoft Excel"