Listing Top 10 with multiple same name entries

vjsarma

New Member
Joined
Jun 14, 2012
Messages
1
I have an worksheet with expenses for different items with name, date, receipt no., total etc.

I need to create a top 10 list of expenses but when I sort I get only the Top 10 INDIVIDUAL receipts while I need all receipts under the same name to be added together and then listed.

For eg.
Name of expense(Column A) Cost (Col.B)

Transport $1000
Gas $2000
Transport $800
Food $1100
Transport $500
Electricity $700

I have 100 lines per sheet like this with many more names, when I do a top 10 I get -

1.Gas - $2000
2.Food - $1100
3.Transport - $1000
etc.
Whereas Transport should be on top as it costs added up is more than the others.

It will help monitor the highest cost which is done manually right now. The data is sorted but not able to get a top 10 list!
Your help is much appreciated in advance!

Thank you!
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

Sal Paradise

Well-known Member
Joined
Oct 23, 2006
Messages
2,457
I have an worksheet with expenses for different items with name, date, receipt no., total etc.

I need to create a top 10 list of expenses but when I sort I get only the Top 10 INDIVIDUAL receipts while I need all receipts under the same name to be added together and then listed.

For eg.
Name of expense(Column A) Cost (Col.B)

Transport $1000
Gas $2000
Transport $800
Food $1100
Transport $500
Electricity $700

I have 100 lines per sheet like this with many more names, when I do a top 10 I get -

1.Gas - $2000
2.Food - $1100
3.Transport - $1000
etc.
Whereas Transport should be on top as it costs added up is more than the others.

It will help monitor the highest cost which is done manually right now. The data is sorted but not able to get a top 10 list!
Your help is much appreciated in advance!

Thank you!

Given Data:

<b>Excel 2003</b><table cellpadding="2.5px" rules="all" style=";background-color: #FFFFFF;border: 1px solid;border-collapse: collapse; border-color: #A6AAB6"><colgroup><col width="25px" style="background-color: #E0E0F0" /><col /><col /></colgroup><thead><tr style=" background-color: #E0E0F0;text-align: center;color: #161120"><th></th><th>A</th><th>B</th></tr></thead><tbody><tr ><td style="color: #161120;text-align: center;">1</td><td style="font-weight: bold;;">Item</td><td style="font-weight: bold;;">Expense</td></tr><tr ><td style="color: #161120;text-align: center;">2</td><td style=";">Transport</td><td style="text-align: right;;">$1,000 </td></tr><tr ><td style="color: #161120;text-align: center;">3</td><td style=";">Gas</td><td style="text-align: right;;">$2,000 </td></tr><tr ><td style="color: #161120;text-align: center;">4</td><td style=";">Transport</td><td style="text-align: right;;">$800 </td></tr><tr ><td style="color: #161120;text-align: center;">5</td><td style=";">Food</td><td style="text-align: right;;">$1,100 </td></tr><tr ><td style="color: #161120;text-align: center;">6</td><td style=";">Transport</td><td style="text-align: right;;">$500 </td></tr><tr ><td style="color: #161120;text-align: center;">7</td><td style=";">Electricity</td><td style="text-align: right;;">$700 </td></tr><tr ><td style="color: #161120;text-align: center;">8</td><td style=";">Travel</td><td style="text-align: right;;">$4,000 </td></tr><tr ><td style="color: #161120;text-align: center;">9</td><td style=";">Food</td><td style="text-align: right;;">$600 </td></tr><tr ><td style="color: #161120;text-align: center;">10</td><td style=";">Household Goods</td><td style="text-align: right;;">$2,700 </td></tr><tr ><td style="color: #161120;text-align: center;">11</td><td style=";">Electricity</td><td style="text-align: right;;">$100 </td></tr><tr ><td style="color: #161120;text-align: center;">12</td><td style=";">Electronics</td><td style="text-align: right;;">$3,500 </td></tr><tr ><td style="color: #161120;text-align: center;">13</td><td style=";">Household Goods</td><td style="text-align: right;;">$2,800 </td></tr><tr ><td style="color: #161120;text-align: center;">14</td><td style=";">Electronics</td><td style="text-align: right;;">$1,300 </td></tr><tr ><td style="color: #161120;text-align: center;">15</td><td style=";">Gas</td><td style="text-align: right;;">$3,500 </td></tr><tr ><td style="color: #161120;text-align: center;">16</td><td style=";">Transport</td><td style="text-align: right;;">$1,500 </td></tr><tr ><td style="color: #161120;text-align: center;">17</td><td style=";">Electricity</td><td style="text-align: right;;">$2,800 </td></tr><tr ><td style="color: #161120;text-align: center;">18</td><td style=";">Electronics</td><td style="text-align: right;;">$300 </td></tr><tr ><td style="color: #161120;text-align: center;">19</td><td style=";">Water</td><td style="text-align: right;;">$3,100 </td></tr><tr ><td style="color: #161120;text-align: center;">20</td><td style=";">Food</td><td style="text-align: right;;">$400 </td></tr><tr ><td style="color: #161120;text-align: center;">21</td><td style=";">Transport</td><td style="text-align: right;;">$300 </td></tr><tr ><td style="color: #161120;text-align: center;">22</td><td style=";">Water</td><td style="text-align: right;;">$3,400 </td></tr><tr ><td style="color: #161120;text-align: center;">23</td><td style=";">Water</td><td style="text-align: right;;">$1,200 </td></tr><tr ><td style="color: #161120;text-align: center;">24</td><td style=";">Gas</td><td style="text-align: right;;">$300 </td></tr><tr ><td style="color: #161120;text-align: center;">25</td><td style=";">Food</td><td style="text-align: right;;">$3,300 </td></tr><tr ><td style="color: #161120;text-align: center;">26</td><td style=";">Gas</td><td style="text-align: right;;">$1,600 </td></tr><tr ><td style="color: #161120;text-align: center;">27</td><td style=";">Transport</td><td style="text-align: right;;">$900 </td></tr><tr ><td style="color: #161120;text-align: center;">28</td><td style=";">Gas</td><td style="text-align: right;;">$800 </td></tr><tr ><td style="color: #161120;text-align: center;">29</td><td style=";">Travel</td><td style="text-align: right;;">$700 </td></tr><tr ><td style="color: #161120;text-align: center;">30</td><td style=";">Household Goods</td><td style="text-align: right;;">$1,800 </td></tr><tr ><td style="color: #161120;text-align: center;">31</td><td style=";">Gas</td><td style="text-align: right;;">$2,200 </td></tr><tr ><td style="color: #161120;text-align: center;">32</td><td style=";">Electricity</td><td style="text-align: right;;">$3,400 </td></tr><tr ><td style="color: #161120;text-align: center;">33</td><td style=";">Water</td><td style="text-align: right;;">$3,200 </td></tr><tr ><td style="color: #161120;text-align: center;">34</td><td style=";">Household Goods</td><td style="text-align: right;;">$2,900 </td></tr><tr ><td style="color: #161120;text-align: center;">35</td><td style=";">Water</td><td style="text-align: right;;">$2,100 </td></tr><tr ><td style="color: #161120;text-align: center;">36</td><td style=";">Household Goods</td><td style="text-align: right;;">$3,600 </td></tr><tr ><td style="color: #161120;text-align: center;">37</td><td style=";">Travel</td><td style="text-align: right;;">$2,200 </td></tr><tr ><td style="color: #161120;text-align: center;">38</td><td style=";">Electronics</td><td style="text-align: right;;">$700 </td></tr><tr ><td style="color: #161120;text-align: center;">39</td><td style=";">Transport</td><td style="text-align: right;;">$3,700 </td></tr><tr ><td style="color: #161120;text-align: center;">40</td><td style=";">Gas</td><td style="text-align: right;;">$3,500 </td></tr><tr ><td style="color: #161120;text-align: center;">41</td><td style=";">Entertainment</td><td style="text-align: right;;">$1,000 </td></tr><tr ><td style="color: #161120;text-align: center;">42</td><td style=";">Electronics</td><td style="text-align: right;;">$1,000 </td></tr><tr ><td style="color: #161120;text-align: center;">43</td><td style=";">Food</td><td style="text-align: right;;">$3,700 </td></tr><tr ><td style="color: #161120;text-align: center;">44</td><td style=";">Other</td><td style="text-align: right;;">$2,900 </td></tr><tr ><td style="color: #161120;text-align: center;">45</td><td style=";">Water</td><td style="text-align: right;;">$900 </td></tr><tr ><td style="color: #161120;text-align: center;">46</td><td style=";">Household Goods</td><td style="text-align: right;;">$2,600 </td></tr><tr ><td style="color: #161120;text-align: center;">47</td><td style=";">Gas</td><td style="text-align: right;;">$2,700 </td></tr><tr ><td style="color: #161120;text-align: center;">48</td><td style=";">Household Goods</td><td style="text-align: right;;">$500 </td></tr><tr ><td style="color: #161120;text-align: center;">49</td><td style=";">Other</td><td style="text-align: right;;">$700 </td></tr><tr ><td style="color: #161120;text-align: center;">50</td><td style=";">Travel</td><td style="text-align: right;;">$2,900 </td></tr><tr ><td style="color: #161120;text-align: center;">51</td><td style=";">Other</td><td style="text-align: right;;">$1,800 </td></tr></tbody></table><p style="width:3.6em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid #A6AAB6;border-top:none;text-align: center;background-color: #E0E0F0;color: #161120">Sheet1</p><br /><br />

You can select the data, and make a pivot table, then sort by total expenses. That's probably easiest I'd think.
 

Watch MrExcel Video

Forum statistics

Threads
1,129,754
Messages
5,638,170
Members
417,011
Latest member
Amaden95

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top