ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   if/then statement that results in Yes/No (https://www.excelbanter.com/excel-discussion-misc-queries/38454-if-then-statement-results-yes-no.html)

Patty via OfficeKB.com

if/then statement that results in Yes/No
 
I want either a Yes or No given this if/then statement:

If cell A1 is greater than x AND cell B1 is greater than Y, then YES
otherwise NO. AND, the sum of A1+B1 must be greater than z. All conditions
must be met. How do I do this?

Thanks.


--
Message posted via http://www.officekb.com

Arvi Laanemets

Hi

=AND(A1x,B1y,A1+B1z)

--
Arvi Laanemets
( My real mail address: arvil<attarkon.ee )


"Patty via OfficeKB.com" wrote in message
...
I want either a Yes or No given this if/then statement:

If cell A1 is greater than x AND cell B1 is greater than Y, then YES
otherwise NO. AND, the sum of A1+B1 must be greater than z. All conditions
must be met. How do I do this?

Thanks.


--
Message posted via http://www.officekb.com




bj

=if(and(A1x,B1y,A1+B1z),"Yes","NO")

"Patty via OfficeKB.com" wrote:

I want either a Yes or No given this if/then statement:

If cell A1 is greater than x AND cell B1 is greater than Y, then YES
otherwise NO. AND, the sum of A1+B1 must be greater than z. All conditions
must be met. How do I do this?

Thanks.


--
Message posted via http://www.officekb.com


Patty via OfficeKB.com

Thanks. How do I get a YES/NO to appear instead of a true/false?

Arvi Laanemets wrote:
Hi

=AND(A1x,B1y,A1+B1z)

I want either a Yes or No given this if/then statement:

[quoted text clipped - 3 lines]

Thanks.



--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200508/1


All times are GMT +1. The time now is 02:43 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com