![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Location: USA
Posts: 1
|
Warning : Newbie
I have a list of numbers, from which I want to select the smallest n of x numbers of where n will equal 60% of the total numbers in the list. Or simply, I want the smallest 6 values out of a list of 10 numbers. I am familiar with the SMALL function and it works fine IF I have the requisite 10 numbers, but if I only have 5 then I get an error. Thanks |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Columbus, OH, USA
Posts: 3,519
|
How about using the RANK function in the Analysis Toolpak?
EDIT:: No that wont work. Sorry. _________________ [b] Mark O'Brien [ This Message was edited by: Mark O'Brien on 2002-04-12 12:11 ] |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Feb 2002
Location: WA state
Posts: 332
|
With your #'s in A1:A10, it sounds like you're using SMALL(A1:A10,6).
Try SMALL(A1:A10,.6*COUNT(A1:A10)). |
|
|
|
|
|
#4 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Bogota, Colombia
Posts: 11,927
|
You could use the AutoFilter. AutoFilter the range, and in the column you want to select the numbers, use "The top 10..."
Once in there, choose "Lower", "6", "elements" you should get the lower six elements of the list. |
|
|
|
|
|
#5 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
Do you want the results listed, summed, or what? Aladin |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|