#1   Report Post  
Posted to microsoft.public.excel.misc
EDDY GOULD
 
Posts: n/a
Default Excel If/and


In the formula, =IF(AND(M3/301, M3/30<2),C3, I am trying to get the
numerical value in C3 to print in the cell with the formula. But
instead of printing the numerical value, it prints "false". Is there a
way to make it print the numerical value?


--
EDDY GOULD
------------------------------------------------------------------------
EDDY GOULD's Profile: http://www.excelforum.com/member.php...o&userid=34791
View this thread: http://www.excelforum.com/showthread...hreadid=545467

  #2   Report Post  
Posted to microsoft.public.excel.misc
Bernie Deitrick
 
Posts: n/a
Default Excel If/and

Eddy,

It will show the numerical value if M3 is between 30 and 60:

=IF(AND(M3/301, M3/30<2),C3,"M3 wasn't between 30 and 60")

HTH,
Bernie
MS Excel MVP


"EDDY GOULD" wrote in message
...

In the formula, =IF(AND(M3/301, M3/30<2),C3, I am trying to get the
numerical value in C3 to print in the cell with the formula. But
instead of printing the numerical value, it prints "false". Is there a
way to make it print the numerical value?


--
EDDY GOULD
------------------------------------------------------------------------
EDDY GOULD's Profile: http://www.excelforum.com/member.php...o&userid=34791
View this thread: http://www.excelforum.com/showthread...hreadid=545467



  #3   Report Post  
Posted to microsoft.public.excel.misc
Dave O
 
Posts: n/a
Default Excel If/and

That happens when your IF function doesn't have a FALSE option to
return. In an IF, you provide a logical test, and tell Excel what to
return when that logical test is TRUE and what to return when that
logical test is FALSE. Your IF tells Excel to return the value in C3
when the logical test is TRUE but there is no instruction for FALSE, so
Excel simply returns the word FALSE.

As a fix, you need to provide Excel an instruction for what to do when
the argument is FALSE.

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
Stop excel from dropping the 0 in the beginning of a number? Rosewood Setting up and Configuration of Excel 12 April 4th 23 02:12 PM
Open Excel 2003 from Windows Explorer pmpjr Excel Discussion (Misc queries) 9 September 11th 06 03:58 PM
Opening two separate instances of Excel Ron Bishop Excel Discussion (Misc queries) 2 August 4th 05 05:30 PM
Excel Range Value issue (Excel 97 Vs Excel 2003) Keeno Excel Discussion (Misc queries) 2 June 13th 05 02:01 PM
VBA for Excel 2000 file is corrupt nkamp Excel Discussion (Misc queries) 0 May 26th 05 03:37 PM


All times are GMT +1. The time now is 01:36 AM.

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"