Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
andyp161
 
Posts: n/a
Default If Function - Multiple Arguements?


Is it possible to write the IF FUNCTION with more than 1 arguement e.g.

If A1=zzz and A2=yyy then enter True/False in B2

Or:

If A1=zzz and A2=yyy and A3=xxx then enter True/False in B3

Many thanks

Andy


--
andyp161
------------------------------------------------------------------------
andyp161's Profile: http://www.excelforum.com/member.php...o&userid=11654
View this thread: http://www.excelforum.com/showthread...hreadid=507138

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
daddylonglegs
 
Posts: n/a
Default If Function - Multiple Arguements?


You don't even need an IF function for that :)

Try this in B3

=AND(A1=zzz,A2=yyy,A3=xxx)


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=507138

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Niek Otten
 
Posts: n/a
Default If Function - Multiple Arguements?

In B3:

=AND(A1="zzz",A2="yyy",A3="xxx"

--
Kind regards,

Niek Otten

"andyp161" wrote in
message ...

Is it possible to write the IF FUNCTION with more than 1 arguement e.g.

If A1=zzz and A2=yyy then enter True/False in B2

Or:

If A1=zzz and A2=yyy and A3=xxx then enter True/False in B3

Many thanks

Andy


--
andyp161
------------------------------------------------------------------------
andyp161's Profile:
http://www.excelforum.com/member.php...o&userid=11654
View this thread: http://www.excelforum.com/showthread...hreadid=507138



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max
 
Posts: n/a
Default If Function - Multiple Arguements?

"andyp161" wrote:
Is it possible to write the IF FUNCTION with more than 1 arguement
e.g. If A1=zzz and A2=yyy then enter True/False in B2
Or:
If A1=zzz and A2=yyy and A3=xxx then enter True/False in B3


Just use AND(..) within the IF, something like:
=IF(AND(A1="zzz",A2="yyy"),"Yes","No")
=IF(AND(A1="zzz",A2="yyy",A3="xxx"),"Yes","No")
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Arvi Laanemets
 
Posts: n/a
Default If Function - Multiple Arguements?

Hi

=AND(A1="zzz",A2="yyy")
=AND(A1="zzz",A2="yyy"",A3="zzz")
You have to write the passende formula into according cell (B2 or B3)


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


"andyp161" wrote in
message ...

Is it possible to write the IF FUNCTION with more than 1 arguement e.g.

If A1=zzz and A2=yyy then enter True/False in B2

Or:

If A1=zzz and A2=yyy and A3=xxx then enter True/False in B3

Many thanks

Andy


--
andyp161
------------------------------------------------------------------------
andyp161's Profile:
http://www.excelforum.com/member.php...o&userid=11654
View this thread: http://www.excelforum.com/showthread...hreadid=507138



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
Index Match function for multiple linked variables Bob Excel Worksheet Functions 13 November 23rd 05 12:56 AM
multiple results display after filter function Morphyus C via OfficeKB.com Excel Worksheet Functions 1 August 11th 05 03:17 PM
Logical Function - Multiple IF statements vnsrod2000 Excel Worksheet Functions 7 February 4th 05 10:42 PM
SumIf Function using multiple criteria Jamie A Miller Excel Worksheet Functions 1 February 4th 05 05:14 PM
Need Function for adding rows on multiple sheets... struggling rookie ;) Thanks. Steve Excel Worksheet Functions 6 November 24th 04 12:10 AM


All times are GMT +1. The time now is 03:04 PM.

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"