Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Michael L
 
Posts: n/a
Default Displaying Percentiles


Hello,
I need to display percentiles based on vlues I input, but I am limited
to 7 nested IF statements. Could somebody show me a way to do this
which will allow me to display the percentiles from 99% to 1%? Here is
what I have right now:

=IF(F3<6.68,"99"%,IF(F3<7.09,"98"%,IF(F3<7.72,"97" %,IF(F3<7.77,"96"%,IF(F3<8.1,"95"%,IF(F3<8.44,"94" %,IF(F3<8.96,"93"%,IF(F3<9.14,J3))))))))

thanks,
Mike


--
Michael L
------------------------------------------------------------------------
Michael L's Profile: http://www.excelforum.com/member.php...o&userid=27787
View this thread: http://www.excelforum.com/showthread...hreadid=538996

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Miguel Zapico
 
Posts: n/a
Default Displaying Percentiles

You can do building a two column list and using VLOOKUP. Following your
formula, you can create a list like this:
[Col A] [Col B]
0 99%
6.68 98%
7.09 97%
7.72 96%
7.77 95%
8.1 94%
....

And then, with the value you want to look at in cell C2, for example, you
can use this formula:
=VLOOKUP(C2,$A2:$B100,2)
The formula will look for the number closer to C2 in column A that is lower
than C2, and return the value on the column B.

Hope this helps,
Miguel.

"Michael L" wrote:


Hello,
I need to display percentiles based on vlues I input, but I am limited
to 7 nested IF statements. Could somebody show me a way to do this
which will allow me to display the percentiles from 99% to 1%? Here is
what I have right now:

=IF(F3<6.68,"99"%,IF(F3<7.09,"98"%,IF(F3<7.72,"97" %,IF(F3<7.77,"96"%,IF(F3<8.1,"95"%,IF(F3<8.44,"94" %,IF(F3<8.96,"93"%,IF(F3<9.14,J3))))))))

thanks,
Mike


--
Michael L
------------------------------------------------------------------------
Michael L's Profile: http://www.excelforum.com/member.php...o&userid=27787
View this thread: http://www.excelforum.com/showthread...hreadid=538996


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
TRIMMEAN with different percentiles? [email protected] Excel Worksheet Functions 4 April 14th 06 06:11 PM
functions are not displaying the results [email protected] Excel Worksheet Functions 1 February 16th 06 01:27 PM
Charting: Displaying cumulative totals at top of stacked columns Jean Charts and Charting in Excel 1 February 14th 06 01:30 PM
Fonts not displaying correctly Carolyn Excel Discussion (Misc queries) 0 June 20th 05 02:33 PM
when displaying formulas, how to start a new line in the same cel. EL Excel Discussion (Misc queries) 1 December 7th 04 07:18 AM


All times are GMT +1. The time now is 02:33 PM.

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"