ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   IF Statement, including AND (https://www.excelbanter.com/excel-worksheet-functions/93751-if-statement-including.html)

Louise

IF Statement, including AND
 
Dear all

I am trying to create an IF statement but am struggling to include the AND
function with it.

How can I say 'if' A1 = 1000 'and' A2="yes", return one result for true,
and return another result for false? I can Create IF statements but have
never used AND before.

Thank you.
Louise

Arvi Laanemets

IF Statement, including AND
 
Hi

=AND(A1=1000,A2="yes")

(No need for IF's, when the result must be boolean)


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


"Louise" wrote in message
...
Dear all

I am trying to create an IF statement but am struggling to include the AND
function with it.

How can I say 'if' A1 = 1000 'and' A2="yes", return one result for true,
and return another result for false? I can Create IF statements but have
never used AND before.

Thank you.
Louise




Beege

IF Statement, including AND
 
Try =IF(AND(A1=100,A2="yes")"one result", "other result")
Beege

"Louise" wrote in message
...
Dear all

I am trying to create an IF statement but am struggling to include the AND
function with it.

How can I say 'if' A1 = 1000 'and' A2="yes", return one result for true,
and return another result for false? I can Create IF statements but have
never used AND before.

Thank you.
Louise




Paul Mathews

IF Statement, including AND
 
=IF(AND(A1=1000,A2="yes"),True Result, False Result)

"Louise" wrote:

Dear all

I am trying to create an IF statement but am struggling to include the AND
function with it.

How can I say 'if' A1 = 1000 'and' A2="yes", return one result for true,
and return another result for false? I can Create IF statements but have
never used AND before.

Thank you.
Louise


Jessica

IF Statement, including AND
 
Hi Louise,

=IF(AND(A11000,A2="yes"),"Match","xx")

~Jess

"Louise" wrote:

Dear all

I am trying to create an IF statement but am struggling to include the AND
function with it.

How can I say 'if' A1 = 1000 'and' A2="yes", return one result for true,
and return another result for false? I can Create IF statements but have
never used AND before.

Thank you.
Louise


Louise

IF Statement, including AND
 
that's great, thank you.
Louise

"Paul Mathews" wrote:

=IF(AND(A1=1000,A2="yes"),True Result, False Result)

"Louise" wrote:

Dear all

I am trying to create an IF statement but am struggling to include the AND
function with it.

How can I say 'if' A1 = 1000 'and' A2="yes", return one result for true,
and return another result for false? I can Create IF statements but have
never used AND before.

Thank you.
Louise



All times are GMT +1. The time now is 01:36 AM.

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