?
Solved

Excel worksheet Top ten items from list basted on total column

Posted on 2013-01-18
6
Medium Priority
?
330 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
6 Comments
 
LVL 26

Accepted Solution

by:
redmondb earned 1500 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 1500 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 500 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 26

Assisted Solution

by:redmondb
redmondb earned 1500 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This article describes a serious pitfall that can happen when deleting shapes using VBA.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

743 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