Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Louise
 
Posts: n/a
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Arvi Laanemets
 
Posts: n/a
Default 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



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Beege
 
Posts: n/a
Default 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



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Paul Mathews
 
Posts: n/a
Default 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

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jessica
 
Posts: n/a
Default 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



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Louise
 
Posts: n/a
Default 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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
IF statement including BETWEEN simmerdown Excel Worksheet Functions 17 April 3rd 06 03:56 PM
reconcile two months statement? achilles Excel Discussion (Misc queries) 0 March 17th 06 03:47 AM
SET statement tutorial Daminc Excel Discussion (Misc queries) 13 January 17th 06 04:47 PM
If statement Matt Montagliano Excel Discussion (Misc queries) 1 September 8th 05 08:47 PM
Do I need a sumif or sum of a vlookup formula? PeterB Excel Worksheet Functions 0 June 1st 05 12:23 PM


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