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
Solved

Excel worksheet Top ten items from list basted on total column

Posted on 2013-01-18
6
314 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
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

838 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