#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 172
Default Nested IF

I'm trying to write a nested if but I'm getting a "FALSE" result.

Here is the statement I wrote.

=IF(O379=0,IF(Q379="TRUE",IF(Z379="TRUE","")),X379 )

What I'm trying to say is this:

If O379=0 and Q379=TRUE and Z379=TRUE then "" otherwise if X379

Where am I going wrong here?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Nested IF

You can try
=if(and(o379=0,Q379=true, Z379=true),"",X379)

"Secret Squirrel" ...
I'm trying to write a nested if but I'm getting a "FALSE" result.

Here is the statement I wrote.

=IF(O379=0,IF(Q379="TRUE",IF(Z379="TRUE","")),X379 )

What I'm trying to say is this:

If O379=0 and Q379=TRUE and Z379=TRUE then "" otherwise if X379

Where am I going wrong here?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 618
Default Nested IF

You wanted the logical value TRUE but your formula looks for the text string
"TRUE". Ditch the quotes.
--
David Biddulph

"Secret Squirrel" wrote in
message ...
I'm trying to write a nested if but I'm getting a "FALSE" result.

Here is the statement I wrote.

=IF(O379=0,IF(Q379="TRUE",IF(Z379="TRUE","")),X379 )

What I'm trying to say is this:

If O379=0 and Q379=TRUE and Z379=TRUE then "" otherwise if X379

Where am I going wrong here?



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
Nested Sub-Totals in Excel NC Yoko Excel Discussion (Misc queries) 5 October 4th 06 10:44 PM
Nested IF statement with VLOOKUP James Hamilton Excel Discussion (Misc queries) 1 August 16th 06 07:46 AM
Nested Subtotals in Excel 2002 KG Excel Discussion (Misc queries) 2 September 10th 05 11:51 AM
Why are my nested sub-totals are displaying incorrectly? chiefdean13 Excel Discussion (Misc queries) 1 July 20th 05 05:45 AM
Nested IF statements John Simons Excel Worksheet Functions 14 February 16th 05 06:17 AM


All times are GMT +1. The time now is 06:41 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"