Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
ela ela is offline
external usenet poster
 
Posts: 16
Default nested function limitation

yesterday Bob taught me to use function sumif to help count:

decision Base <50 50-60 60-70 70
FN 20.632 1 0 0 0
FN 34.492 1 0 0 0
FN 37.398 1 0 0 0
FP 65.422 0 0 1 0
FP 161.897 0 0 0 1
FP 102.764 0 0 0 1
FP 90.76 0 0 0 1
FN 10.738 1 0 0 0
FP 151.7 0 0 0 1

to derive the statistics just below

decision <50 50-60 60-70 70
FN 4 0 0 0
FP 0 0 1 4

when I tried to add one more group (column),

e.g.
TRUE FN 20.632 1 0 0 0
FALSE FN 34.492 1 0 0 0

I use the following formula to derive the class (total 6, i.e. TRUE FN, FP,
FALSE FN, FP and null FN, FP):

I found the if cannot let me write a "long" one because the level is limited
to 7
=IF(M2="TRUE",IF(N2="FN",1,IF(N2="FP",2,99)))

anybody has a solution? Thanks a lot!!!!!


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 133
Default nested function limitation

You can use :
=(M2="TRUE")*(N2="FN")+(M2="TRUE")*(N2="FP")*2
to avoid nested ifs.
HTH
Daniel

yesterday Bob taught me to use function sumif to help count:

decision Base <50 50-60 60-70 70
FN 20.632 1 0 0 0
FN 34.492 1 0 0 0
FN 37.398 1 0 0 0
FP 65.422 0 0 1 0
FP 161.897 0 0 0 1
FP 102.764 0 0 0 1
FP 90.76 0 0 0 1
FN 10.738 1 0 0 0
FP 151.7 0 0 0 1

to derive the statistics just below

decision <50 50-60 60-70 70
FN 4 0 0 0
FP 0 0 1 4

when I tried to add one more group (column),

e.g.
TRUE FN 20.632 1 0 0 0
FALSE FN 34.492 1 0 0 0

I use the following formula to derive the class (total 6, i.e. TRUE FN, FP,
FALSE FN, FP and null FN, FP):

I found the if cannot let me write a "long" one because the level is limited
to 7
=IF(M2="TRUE",IF(N2="FN",1,IF(N2="FP",2,99)))

anybody has a solution? Thanks a lot!!!!!



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 function limitation miteeka Excel Worksheet Functions 3 February 2nd 07 08:37 AM
percetile function limitation Greg Excel Worksheet Functions 1 April 15th 06 12:19 AM
IRR FUNCTION LIMITATION ?? Mike Excel Discussion (Misc queries) 1 March 24th 06 04:07 AM
The 7 nested If() function Limitation. Is there anouther way? DMB Excel Worksheet Functions 9 January 15th 06 12:06 AM
Function limitation JayL Excel Worksheet Functions 1 March 4th 05 04:51 PM


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