Dynamic Top 10 and Bottom 10 List with unconventional dataset

SBAlexanian

New Member
Joined
May 30, 2013
Messages
22
I have a bit of a dilemma... Once again, upper management mistook my degree of mechanical engineering for software engineering and has assigned me a task a bit beyond the scope of my abilities. I've struggled through and figured out most of it, but I have hit a dead end on this last bit of functionality.

I am developing a workbook that captures all the data of used cars sold from a local dealership. I need to create a top 10 and bottom 10 list of the vehicles sold (I.E. They sell more used Chevy Malibus than Ford Rangers)

The raw data does not support conventional top 10 and bottom 10 list methods in excel. Here is a sample of the workbook data formatting:

Data SoldStock #Vehicle Desc.
03/01/201412342008 Buick LaCrosse CXL
03/01/201423452007 Saturn Outlook
03/01/201434562008 Mazda Mazda3 i
03/01/201445671997 Ford Mustang GT

<tbody>
</tbody>

The table has much more data, and over 1000 vehicles.... But that's a sample of the data being looked at to illustrate the challenge. I need a the top 10 and bottom 10 to reflect the 10 best and worst sellers (based on how many of a particular model we have sold). This cannot be year dependent! So if they sold a 2009, 2010, and 2011 Mustang, I need the top 10 and bottom 10 lists to strictly see that they sold more mustangs than any other vehicle.

I don't know if I am verbalizing this the right way to make sense to everyone else...

The problem I run into here is that I need the lists to be dynamic, and on a different sheet within the workbook. I can't think of a good way to do this... VBA or not, any help would be appreciated.
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
SBAlexanian,

Here is one way:
1. Create a field/column of the data on which you want to summarize. If column C is a Vehicle Desc., you could use Text To Columns feature to break out model to column D.
2. Create a PivotTable based on your data. It has filters that you can set to list the Top or Bottom number of items.

Bonus. With a PivotTable and your data that has Date Sold, you can slice, dice, and summarize your data based on months and/or year of sale. Also, if in your data you have a column of the vehicle year (use Text To Columns feature to create), you can summarize on this field as well.

Best of luck,

G/L
 
Upvote 0

Forum statistics

Threads
1,214,515
Messages
6,119,970
Members
448,933
Latest member
Bluedbw

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
Back
Top