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 » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

IF function



 
 
Thread Tools Display Modes
  #1  
Old November 18th, 2009, 02:35 AM posted to microsoft.public.excel.misc
Phil
external usenet poster
 
Posts: 606
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  
Old November 18th, 2009, 02:45 AM posted to microsoft.public.excel.misc
Jacob Skaria
external usenet poster
 
Posts: 5,952
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  
Old November 18th, 2009, 03:20 AM posted to microsoft.public.excel.misc
Phil
external usenet poster
 
Posts: 606
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  
Old November 18th, 2009, 05:26 AM posted to microsoft.public.excel.misc
Jacob Skaria
external usenet poster
 
Posts: 5,952
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  
Old November 18th, 2009, 07:27 AM posted to microsoft.public.excel.misc
David Biddulph
external usenet poster
 
Posts: 8,714
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




 




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


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