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 » Setting up and Configuration
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

2 IF STATEMENTS WITH DIFFERENT VALUES.



 
 
Thread Tools Display Modes
  #1  
Old February 18th, 2005, 06:31 PM
Mindie
external usenet poster
 
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  
Old February 19th, 2005, 03:47 AM
Nick B
external usenet poster
 
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.

 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Zero values in a log chart Joelle_Smith Charts and Charting 1 December 23rd, 2004 07:58 PM
How to calculate values from 2 tables Luke Running & Setting Up Queries 2 December 9th, 2004 03:55 PM
average, eliminating zero values Chris Worksheet Functions 6 May 14th, 2004 11:36 PM
Look up values in one column based on values in another without repeating fbarbie Worksheet Functions 0 April 8th, 2004 09:38 PM
Conditional sum based on values in one or more columns Mario Worksheet Functions 13 December 23rd, 2003 09:38 PM


All times are GMT +1. The time now is 05:34 AM.


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