Hi-
I am trying to write a formula that will give me the top 10 names as a percentage of my overall portfolio. The % are in column C, and they can change daily.
Thankstest.xlsx
Hi-
I am trying to write a formula that will give me the top 10 names as a percentage of my overall portfolio. The % are in column C, and they can change daily.
Thankstest.xlsx
I assume you don't want "Cash" to be included in the list, so put this formula in D3:
=RANK(C3,C$3:C$28)+COUNTIF(C$3:C3,C3)-1
and copy down to D28. Then put this formula in, say, F2:
=INDEX(A:A,MATCH(ROWS($1:1),D:D,0))
and copy down to F11.
Hope this helps.
Pete
Would this work fir you??
=INDEX($A$3:$A$28,MATCH(LARGE($C$3:$C$28,ROW(A1)),$C$3:$C$28,0))
If you arehappy with the results, please add to the contributor's
reputation by clicking the reputation icon (star icon).
If you are satisfied with the solution(s) provided, please mark your thread as Solved.
Select Thread Tools-> Mark thread as Solved.
To undo, select Thread Tools-> Mark thread as Unsolved.
http://www.excelaris.co.uk
Rob-
What does the row() do? It's not $, so if I copy down, I don't understand the significance of it?
Hi
For names
=INDEX($A$2:$A$28,MATCH(LARGE($B$2:$B$28,ROW()-1),$B$2:$B$28,0)) Ctrl+Shift+Enter
For numbers you can use vlookup
Appreciate the help? CLICK *
You do not need $.
A1 stands for 1.Dragging down you have A2 for 2.....
Have you tried a pivot table?
Willem
English is not my native language sorry for errors
Please correct me if I'm completely wrong
Using ROWS is more robust.![]()
Biff
Microsoft MVP Excel
Keep It Simple Stupid
Let's Go Pens. We Want The Cup.
@Tony
You are right:
=INDEX($A$4:$A$29,MATCH(LARGE($C$4:$C$29,ROWS($A$22:A2)),$C$4:$C$29,0))
(to mention this will fail on duplicates)
@AZ_XL
There is not no need for CSE
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks