Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default If Function - two conditions?

Is it possble to make two conditions (logical test) in the IF statement.

For example IF A1 = ("Rejected" or "Denied",A2+90,A2+30)

I tried this but it was not accepted - invalid. What is the correct way to
do this?

Thanks!




  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default If Function - two conditions?

Try this:

=IF(OR(A1={"Rejected","Denied"}),A2+90,A2+30)

Biff

"TypeType" wrote in message
...
Is it possble to make two conditions (logical test) in the IF statement.

For example IF A1 = ("Rejected" or "Denied",A2+90,A2+30)

I tried this but it was not accepted - invalid. What is the correct way
to
do this?

Thanks!






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
Use IF function for two conditions wuwu Excel Worksheet Functions 3 April 29th 23 11:42 AM
If function with more than 7 conditions joie Excel Worksheet Functions 3 January 4th 07 08:38 AM
Multiple Conditions within an IF Function Will Excel Worksheet Functions 2 October 7th 06 02:06 AM
SUMIF function with 2 conditions rlandlin Excel Worksheet Functions 4 September 28th 05 05:50 PM
Two Conditions Function Freshman Excel Worksheet Functions 2 August 1st 05 03:43 PM


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