LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default nested IF without repeating the condition to be tested

hi everyone
is there a nice elegant way to avoid repeating the same test condition when nesting multiple IF?

I mean, my condition is a long formula which must be equal to something. 4 different results are possible. So 3 nested IF. At the moment I write again my long formula to be tested in each IF.
If there is a way to use "OR" instead, I could avoid it
example:
IF(condition=1;true;(if(condition=2;true;(if(condi tion=3;true;....
and so on

is there a way to bring "condition" outside???
thanks a lot in advance
 
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
What are the most important Excel concepts I should know (will be tested soon)? DonaldCX Excel Discussion (Misc queries) 5 May 4th 23 07:41 PM
Please Help Error 400 when running tested code Ditto Excel Discussion (Misc queries) 5 October 15th 07 01:24 PM
Any Nested Function & Condition For Calculating Date & Time Safu Excel Worksheet Functions 3 February 10th 07 03:28 PM
Trouble with condition nested formula wilywayne New Users to Excel 2 August 31st 06 05:26 PM
What are the most important Excel concepts I should know (will be tested soon)? DonaldCX Excel Discussion (Misc queries) 1 April 21st 06 02:05 AM


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