Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dj dj is offline
external usenet poster
 
Posts: 92
Default More if then logic

Here's another one for ya--

I'm creating a calculator that returns a value based on rankings. The top 6
should return X value, 7-12 return Y value, 13-22 should return Z value. X,
Y and Z represent 100% of max, 50% of max and 0% of max respectively. Any
ideas?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 523
Default More if then logic

Not too sure what you mean max of, but this one will return the letter x,y or
z:

=IF(RANK(F4,$F$4:$F$14)<7,"X",IF(RANK(F4,$F$4:$F$1 4)<23,"Y","Z"))

And this one will return the max of the range in question, 50% of it, or 0%
of it

=IF(RANK(F4,$F$4:$F$14)<7,MAX($F$4:$F$14),IF(RANK( F4,$F$4:$F$14)<23,0.5*MAX($F$4:$F$14),0))

You need to change the F4 and your $F$4:$F$14, obviously.

Sam


"DJ" wrote:

Here's another one for ya--

I'm creating a calculator that returns a value based on rankings. The top 6
should return X value, 7-12 return Y value, 13-22 should return Z value. X,
Y and Z represent 100% of max, 50% of max and 0% of max respectively. Any
ideas?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dj dj is offline
external usenet poster
 
Posts: 92
Default More if then logic

the rankings aren't values in the table, rather they are just arbitrary
numbers (1-22)...

"Sam Wilson" wrote:

Not too sure what you mean max of, but this one will return the letter x,y or
z:

=IF(RANK(F4,$F$4:$F$14)<7,"X",IF(RANK(F4,$F$4:$F$1 4)<23,"Y","Z"))

And this one will return the max of the range in question, 50% of it, or 0%
of it

=IF(RANK(F4,$F$4:$F$14)<7,MAX($F$4:$F$14),IF(RANK( F4,$F$4:$F$14)<23,0.5*MAX($F$4:$F$14),0))

You need to change the F4 and your $F$4:$F$14, obviously.

Sam


"DJ" wrote:

Here's another one for ya--

I'm creating a calculator that returns a value based on rankings. The top 6
should return X value, 7-12 return Y value, 13-22 should return Z value. X,
Y and Z represent 100% of max, 50% of max and 0% of max respectively. Any
ideas?

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
More if then logic DJ Excel Worksheet Functions 2 October 8th 09 05:40 PM
LOGIC H0MELY Excel Discussion (Misc queries) 6 June 4th 08 10:41 PM
I Then logic help robnet Excel Worksheet Functions 4 July 13th 07 10:08 PM
If Then logic not enough workerbeeVAB Excel Discussion (Misc queries) 4 January 5th 06 05:24 PM
IRR Logic Carrie Excel Worksheet Functions 2 November 18th 05 08:59 PM


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