Welcome to the Excel Forum

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.

Please Register to Remove these Ads

Please Register to Remove these Ads



Reply
  #1  
Old 06-23-2005, 11:05 AM
Colin F
Guest
 
Posts: n/a
If (cell a2 is greater than 1, but less than B2 - C2, "X") how do

Please Register to Remove these Ads


Reply With Quote
  #2  
Old 06-23-2005, 11:47 AM
greg7468 greg7468 is offline
Forum Contributor
 
Join Date: 03 May 2004
Location: England
MS Office Version:2003 Excel
Posts: 115
greg7468 is becoming part of the community
=IF(AND(A2>1,A2<(B2-C2)),"x")
__________________
Greg.

"The most overlooked advantage of owning a computer is that if they foul up there's no law against whacking them around a bit."
Reply With Quote
  #3  
Old 06-23-2005, 12:43 PM
BenjieLop BenjieLop is offline
Forum Guru
 
Join Date: 23 Jun 2004
Location: Houston, TX
Posts: 567
BenjieLop is becoming part of the community
Quote:
Originally Posted by greg7468
=IF(AND(A2>1,A2<(B2-C2)),"x")
Technically, there should be another argument in the above formula, i.e., the ELSE argument in the IF/THEN statement. One way is


=IF(AND(A2>1,A2<(B2-C2)),"x","")

which will return a blank cell if the A2 conditions are not met.

Regards.
__________________
BenjieLop
Houston, TX
Reply With Quote


Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump