Solved

Excel worksheet Top ten items from list basted on total column

Posted on 2013-01-18
6
308 Views
Last Modified: 2013-01-19
Hello everyone!
I'm attaching a sample file of what I am trying to accomplish. I have a list that of expenses that is generated from an accounting program, we want to show a list of Top 10 or 20 biggest expenses. Is there a formula that would allow me to automatically go through the list in Sheet 1 and then give me at the bottom or in a Sheet the same information by month but only capture the top 10 Expenses. I know I can sort this every time I re-run the worksheet but I was hoping to automate this process as much as possible.

Thank you!!
Sample.xlsx
0
Comment
Question by:joeserrone
  • 4
6 Comments
 
LVL 26

Accepted Solution

by:
redmondb earned 375 total points
ID: 38795413
Hi, joeserrone.

Please see the attached. I'm afraid the formulas aren't exactly straightforward (each column's formulas are array-entered), so please ask if you want an explanation.

Regards,
Brian.
Sample--2----V2.xlsx
0
 
LVL 26

Assisted Solution

by:redmondb
redmondb earned 375 total points
ID: 38795602
joeserrone,

The attached is much more straightforward, if somewhat less elegant.

Regards,
Brian.
Sample--2----V3.xlsx
0
 
LVL 1

Assisted Solution

by:cben
cben earned 125 total points
ID: 38796375
joeserrone

In addition to redmond's great solution you might want to define the category of the expenses in the list.

See attached.

Regards
10-highest-from-list.xlsx
0
ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

 
LVL 26

Assisted Solution

by:redmondb
redmondb earned 375 total points
ID: 38796415
Excellent idea, cben!

A small point - if two categories are for the same amount then the first category is shown twice.  That's most likely to occur for zero amounts so, I've made the following changes in the attached...
(1) Don't show a category for zero amounts.
(2) On the extremely rare (I assume) cases where a non-zero amount is duplicated, just highlight the problem. (If these clashes are not "extremely rare" then a proper solution is required!)

Regards,
Brian.10-highest-from-list-V2.xlsx
0
 

Author Closing Comment

by:joeserrone
ID: 38796481
Thank you for your help
0
 
LVL 26

Expert Comment

by:redmondb
ID: 38797751
Thanks, joeserrone.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question