Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 383
Default Embedding operators, IF(x="up",,<)IF..

Hi, have a long formula that is double long for having to repeat for up, or
down conditions. If it is possible to embed the operators <, I can cut
a formula in half / add other conditions: running out of IF's. thanks

basically have / need fix for: (receives an error)
=
IF(IF($M$5="L",M9,IF($M$5="H",N9),IF($M$2="u",,<)
IF($M$5="L",M9,IF($M$5="H",N9))),
IF($M$2="u","U",IF($M$2="d","D")),"-")))
long verson of formula is: (works but double of everything)


Long version that works now, but need to add more variables:

=IF(OR(R9=".",CK9={"",0,"n/a"}),"",IF(AND(E9<"x",OR(BR9={"",0})),"X",

IF(AND($AE$2="u",IF($AS$7="L",DM9,IF($AS$7="M",DN9 ,DO9)
IF($AU$7="M",DN9,IF($AU$7="H",DO9,IF($AU$7="5",BX9 ,BY9))))),"U",

IF(AND($AE$2="d",IF($AS$7="L",DM9,IF($AS$7="M",DN9 ,DO9)<
IF($AU$7="M",DN9,IF($AU$7="H",DO9,BX9)))),"D","-"))))


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 383
Default Embedding operators, IF(x="up",,<)IF..

p.s.: noticed 1 mistake in long formula: needs 2 parenthesis before
greater-than / less-than signs, instead of 1.

"nastech" wrote:

Hi, have a long formula that is double long for having to repeat for up, or
down conditions. If it is possible to embed the operators <, I can cut
a formula in half / add other conditions: running out of IF's. thanks

basically have / need fix for: (receives an error)
=
IF(IF($M$5="L",M9,IF($M$5="H",N9),IF($M$2="u",,<)
IF($M$5="L",M9,IF($M$5="H",N9))),
IF($M$2="u","U",IF($M$2="d","D")),"-")))
long verson of formula is: (works but double of everything)


Long version that works now, but need to add more variables:

=IF(OR(R9=".",CK9={"",0,"n/a"}),"",IF(AND(E9<"x",OR(BR9={"",0})),"X",

IF(AND($AE$2="u",IF($AS$7="L",DM9,IF($AS$7="M",DN9 ,DO9)
IF($AU$7="M",DN9,IF($AU$7="H",DO9,IF($AU$7="5",BX9 ,BY9))))),"U",

IF(AND($AE$2="d",IF($AS$7="L",DM9,IF($AS$7="M",DN9 ,DO9)<
IF($AU$7="M",DN9,IF($AU$7="H",DO9,BX9)))),"D","-"))))


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
Embedding IF: depends on result.. nastech Excel Discussion (Misc queries) 13 July 5th 06 10:11 PM
Can logical operators be used within Conditional Formatting? Rumpa Biswas Excel Discussion (Misc queries) 6 January 2nd 06 10:58 AM
embedding worksheet cells in another worksheet SCW Excel Discussion (Misc queries) 2 April 25th 05 04:29 PM
Operators With Times Michael Link Excel Discussion (Misc queries) 2 March 9th 05 02:46 PM
Unary operators Joe Excel Worksheet Functions 3 February 14th 05 06:09 PM


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