#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default IF statements

Can you have 2 If statements in a formula without having to do Visual Basic?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default IF statements

Sure, you can nest them one within the other:

=IF(Condition1,True1,IF(Condition2,True2,False2))

or

=IF(Condition1,IF(Condition2,True2,False2),IF(Cond ition3,True3,False3))

In Excel 2003 you can have up to 7 nested levels. I don't remember what it
is for either earlier versions or Excel 2007. Look up Nested functions in
help for details on your release
--
Kevin Backmann


"oatjes" wrote:

Can you have 2 If statements in a formula without having to do Visual Basic?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 40
Default IF statements

Yes, Excel will allow you do include up to 7 nested "IF-THEN-ELSE" statements
within a formula

--

Joe Mac


"oatjes" wrote:

Can you have 2 If statements in a formula without having to do Visual Basic?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default IF statements

Would this also work with Excel 2000 version??

"oatjes" wrote:

Can you have 2 If statements in a formula without having to do Visual Basic?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default IF statements

Sure would...
--
Kevin Backmann


"oatjez" wrote:

Would this also work with Excel 2000 version??

"oatjes" wrote:

Can you have 2 If statements in a formula without having to do Visual Basic?

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 statements Dwain Kincaid Excel Worksheet Functions 6 January 8th 08 01:04 AM
IF Statements (Mutliple Statements) Deezel Excel Worksheet Functions 3 October 19th 06 06:13 AM
IF and MAX statements bob Excel Worksheet Functions 5 April 2nd 06 04:33 AM
if statements, and statements Sum Limit and marking Excel Worksheet Functions 3 March 29th 06 03:25 PM
If-Then Statements sbruner Excel Worksheet Functions 2 June 7th 05 11:09 PM


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