I am having trouble with the attached. I need to sort the data in table on the right based on the total column into the blank table on the left. Im sure INDEX and VLOOKUP is what I should be using, however can't seem to get the right formular nor find the answer in the forum. Any ideas?
Thanks in advance
What (if anything) determines who should appear first in the case of duplicate points - eg Ronald & Mildred - given these are tied is the order then determined by other point values ?
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
My appologies, I neglected to mention this. In the event of total scores being equal, thier place should be determined by alphabetical order of names.
Hmm... alphabetical actually makes things a little messy...
What you could do - based on your sample file and assuming XL2007:
then for your left tableCode:V3: =1+COUNTIFS($O$3:O$9,$O3,$N$3:$N$9,"<"&$N3) copied down
Does that help ?Code:C3: =INDEX($N$3:$N$9,MATCH(1,INDEX(($O$3:$O$9=$D3)*($V$3:$V$9=COUNTIF($D$3:$D3,$D3)),0),0)) copied down to C9 D3: =LARGE($O$3:$O$9,$B3) copied down to D9 E3: =INDEX(P$3:P$9,MATCH($C3,$N$3:$N$9,0)) copied across to J3 copied down to E9:J9
(there will be better methods I'm sure...)
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
Actually, in hindsight, if you opt to use helper formulae in column V you could just use:
ThenCode:V3: =1+COUNTIF($O$3:$O$9,">"&$O3)+COUNTIFS($O$3:$O$9,$O3,$N$3:$N$9,"<"&$N3) copied down to V9
Code:C3: =INDEX(N$3:N$9,MATCH($B3,$V$3:$V$9,0)) applied to entire matrix C3:J9
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
This works a treat! thank you for your help![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks