Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Sum and Rank
I was trying to figure this out and posted a question in "Worksheet
Functions" but not getting an answer I thought perhaps I should write a VBA macro to acomplish the task. With a macro I can use filtering to select all entries (rows) that fit the criteria, and fall in the report month, but I am still having some trouble. I have 400 rows of entries. And a person may have one or more entries. My first task is to figure out how to add (sum) their points and then rank the results. Bob 100 Bob 25 Jim 75 Bob 15 Jim 100 George 150 Should yield: 175 Jim 150 George 140 Bob =====Here is what I worte under Functions========== I don't ever seem to ask the obvious. I have a table made up in part of the following: Col A - Area (there are 8 areas so I am trying to get a top ten for each area) Col C - Names (this is what I want returned) Col H - Points (a person may have multiple lines so I want to total their points and base the rank on the total). Col G - Date (there is a date when the points were scored so I want to total the points for the month selected) And I want the top ten for each area to appear on a different page from the data! (I am not asking for much, I know) So on tab2 I have a Spinner selecting the Area, and a Spinner selecting the month. SO I want to return the top ten scorers for the selected month. Thank you for even taking the time to read down this far! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
rank the numbers / range of data using 'RANK' and 'ABS' | Excel Worksheet Functions | |||
RANK, duplicate ranking but no gaps in rank | Excel Worksheet Functions | |||
Rank where lowest value is highest rank | Excel Worksheet Functions | |||
Does Correl/Rank combo work eg CORREL(cols E & H) where E&H=RANK(. | Excel Worksheet Functions | |||
Rank items, select one start date, have remaining dates follow based on rank | Excel Discussion (Misc queries) |