Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Pat
 
Posts: n/a
Default Desplay zero if yes

=I29-J29

If the above formula returns a value greater than "0" (zero) and S29
contains the value "Yes" return "0" On the otherhand if S29 contains nothing
return whtaever value =I29-J29 returns.

Is this possible?

Thank you if you know.

Pat


  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
=IF(AND(I29-J290,S29,"Yes"),0,I29-J29)

--
Regards
Frank Kabel
Frankfurt, Germany

Pat wrote:
=I29-J29

If the above formula returns a value greater than "0" (zero) and S29
contains the value "Yes" return "0" On the otherhand if S29 contains
nothing return whtaever value =I29-J29 returns.

Is this possible?

Thank you if you know.

Pat



  #3   Report Post  
Ian P
 
Posts: n/a
Default

Should be: =IF(AND(I29-J290,S29="Yes"),0,I29-J29)

Ian P

"Frank Kabel" wrote:

Hi
=IF(AND(I29-J290,S29,"Yes"),0,I29-J29)

--
Regards
Frank Kabel
Frankfurt, Germany

Pat wrote:
=I29-J29

If the above formula returns a value greater than "0" (zero) and S29
contains the value "Yes" return "0" On the otherhand if S29 contains
nothing return whtaever value =I29-J29 returns.

Is this possible?

Thank you if you know.

Pat




  #4   Report Post  
Pat
 
Posts: n/a
Default

Hello Frank,

I am getting a #VALUE! error returned.

Pat


"Frank Kabel" wrote in message
...
Hi
=IF(AND(I29-J290,S29,"Yes"),0,I29-J29)

--
Regards
Frank Kabel
Frankfurt, Germany

Pat wrote:
=I29-J29

If the above formula returns a value greater than "0" (zero) and S29
contains the value "Yes" return "0" On the otherhand if S29 contains
nothing return whtaever value =I29-J29 returns.

Is this possible?

Thank you if you know.

Pat





  #5   Report Post  
JE McGimpsey
 
Posts: n/a
Default

one way:

=IF(ISBLANK(S29),I29-J29,IF(AND(I29J29,S29="Yes"),0,"Undefined"))



In article ,
"Pat" wrote:

=I29-J29

If the above formula returns a value greater than "0" (zero) and S29
contains the value "Yes" return "0" On the otherhand if S29 contains nothing
return whtaever value =I29-J29 returns.

Is this possible?

Thank you if you know.

Pat



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 10:52 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"