#1   Report Post  
mick2
 
Posts: n/a
Default If


Hi,

I am trying to use the *IF* function to display *You Passed Both Tests*
when the values in 3 cells are identical (which they are) but I always
get the ubiquitous *TRUE* message.

My formula, is:

::=IF(F48,E56=C1,\"You Passed Both Tests\")::

Regards,
Mick.


--
mick2
------------------------------------------------------------------------
mick2's Profile: http://www.excelforum.com/member.php...o&userid=24143
View this thread: http://www.excelforum.com/showthread...hreadid=472523

  #2   Report Post  
dominicb
 
Posts: n/a
Default


Good morning mick2

=IF(AND(A1="yes",A2="yes",A3="yes")=TRUE,"You Passed Both Tests",0)

You need to use a combination of the If and AND function. You haven't
said which cells you are testing (or what for), so my example tests A1,
A2 and A3 are equal to "yes".

HTH

DominicB


--
dominicb
------------------------------------------------------------------------
dominicb's Profile: http://www.excelforum.com/member.php...o&userid=18932
View this thread: http://www.excelforum.com/showthread...hreadid=472523

  #3   Report Post  
mick2
 
Posts: n/a
Default


Hi DominicB,

I modified your formula to suit my requirements and it works well,
thank you very much!

Kind regards,
Mick2


--
mick2
------------------------------------------------------------------------
mick2's Profile: http://www.excelforum.com/member.php...o&userid=24143
View this thread: http://www.excelforum.com/showthread...hreadid=472523

  #4   Report Post  
dominicb
 
Posts: n/a
Default


Hi Mick

No problem. Appreciate the feedback.

DominicB


--
dominicb
------------------------------------------------------------------------
dominicb's Profile: http://www.excelforum.com/member.php...o&userid=18932
View this thread: http://www.excelforum.com/showthread...hreadid=472523

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



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