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

Can I use the "if" function to determine if a cell contains a value that is
"greater than 1 but equal to or less than 5"?

eg....

if b4 1 <=5
IF TRUE....
IF FALSE...

Thanks in advance.
Phil
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default IF function

Use AND()

=IF(AND(B41,B4<=5),"condition is true","is false")

If this post helps click Yes
---------------
Jacob Skaria


"Phil" wrote:

Can I use the "if" function to determine if a cell contains a value that is
"greater than 1 but equal to or less than 5"?

eg....

if b4 1 <=5
IF TRUE....
IF FALSE...

Thanks in advance.
Phil

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

Jacob, many thanks, that certainly shows the result but when I do the final
enter it tells me I am missing a parenthesis or the like....apologies for
being such a dummy.

"Jacob Skaria" wrote:

Use AND()

=IF(AND(B41,B4<=5),"condition is true","is false")

If this post helps click Yes
---------------
Jacob Skaria


"Phil" wrote:

Can I use the "if" function to determine if a cell contains a value that is
"greater than 1 but equal to or less than 5"?

eg....

if b4 1 <=5
IF TRUE....
IF FALSE...

Thanks in advance.
Phil

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default IF function

Why dont you post your formula..

'the below returns B4 if true else return blank
=IF(AND(B41,B4<=5),B4,"")

If this post helps click Yes
---------------
Jacob Skaria


"Phil" wrote:

Jacob, many thanks, that certainly shows the result but when I do the final
enter it tells me I am missing a parenthesis or the like....apologies for
being such a dummy.

"Jacob Skaria" wrote:

Use AND()

=IF(AND(B41,B4<=5),"condition is true","is false")

If this post helps click Yes
---------------
Jacob Skaria


"Phil" wrote:

Can I use the "if" function to determine if a cell contains a value that is
"greater than 1 but equal to or less than 5"?

eg....

if b4 1 <=5
IF TRUE....
IF FALSE...

Thanks in advance.
Phil

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default IF function

In which case, please enter the formula with matching sets of parentheses,
as Jacob did.
--
David Biddulph

"Phil" wrote in message
...
Jacob, many thanks, that certainly shows the result but when I do the
final
enter it tells me I am missing a parenthesis or the like....apologies for
being such a dummy.

"Jacob Skaria" wrote:

Use AND()

=IF(AND(B41,B4<=5),"condition is true","is false")

If this post helps click Yes
---------------
Jacob Skaria


"Phil" wrote:

Can I use the "if" function to determine if a cell contains a value
that is
"greater than 1 but equal to or less than 5"?

eg....

if b4 1 <=5
IF TRUE....
IF FALSE...

Thanks in advance.
Phil




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
Excel Data Validation/Lookup function does function correcty Kirkey Excel Worksheet Functions 2 May 25th 09 09:22 PM
copy of excel file not showing formulal/function in the function b oaallam Excel Discussion (Misc queries) 4 September 6th 07 01:20 PM
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM


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