Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Mindie
 
Posts: n/a
Default 2 IF STATEMENTS WITH DIFFERENT VALUES.

I am trying to display a value only if one of these items is true. For
example -
IF(F6 =TRUE,"X",MONDAY!F5),IF(G6=TRUE,"Y",MONDAY!F5). The problem that I am
having is that it is displaying both fields and I only want it to display the
field that is true.
  #2   Report Post  
Nick B
 
Posts: n/a
Default

What if both are true, then what do you want it to do?

If you want to return Monday!F5 if neither are true OR both are false,
otherwise return X if F6 = TRUE or return Y if G6 = True then use
=IF(OR(AND(F6=TRUE,G6=TRUE),AND(F6=FALSE,G6=FALSE) ),Monday!F5,IF(F6=TRUE,"X","Y"))

"Mindie" wrote:

I am trying to display a value only if one of these items is true. For
example -
IF(F6 =TRUE,"X",MONDAY!F5),IF(G6=TRUE,"Y",MONDAY!F5). The problem that I am
having is that it is displaying both fields and I only want it to display the
field that is true.

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
Zero values in a log chart Joelle_Smith Charts and Charting in Excel 2 May 8th 23 03:42 AM
Hiding Values Below Z Axis Minimum Value on Axis Charts TryingToExcel Charts and Charting in Excel 1 February 18th 05 03:55 AM
Second serie doesn't use X-as values JackRnl Charts and Charting in Excel 1 January 20th 05 01:04 AM
Save External Link Values Stephane Excel Discussion (Misc queries) 0 January 3rd 05 11:01 AM
2 If Statements between 2 values Q John Excel Worksheet Functions 4 December 13th 04 03:37 PM


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