Sorting Data

FALLSILENT

New Member
Joined
Oct 5, 2017
Messages
9
I'm trying to use this table to feed to a second sheet that will break down how many times customers had each unit, and how many times of what type. Everything I've done has resulted in counting every instance of a name. Sometimes a customer has a unit for a few days, sometimes just a day. I tried a pivot table, but if CUST 1 had the unit first, every customer after fell into a sub-group of that first.

UNITTYPE10/1/1710/1/1710/2/1710/2/1710/3/17
12V1223BOX
CUST 1CUST 1CUST 2CUST 3CUST 4
15V1245BOXCUST 1CUST 1CUST 2CUST 3CUST 4
16V1250BOXCUST 1CUST 1CUST 2CUST 3CUST 4
15F1244FLATBEDCUST 1CUST 1CUST 2CUST 4CUST 4
7751408FLATBEDCUST 1CUST 1CUST 2CUST 3CUST 4
7751458REEFERCUST 1CUST 1CUST 2CUST 3CUST 4
142525SADCUST 1CUST 1CUST 2CUST 3CUST 4
7751404SADCUST 1CUST 1CUST 2CUST 3CUST 4
133515TADCUST 1CUST 1CUST 2CUST 3CUST 4
163536TADCUST 1CUST 1CUST 2CUST 3CUST 4

<colgroup><col><col><col span="5"></colgroup><tbody>
</tbody>
 
Within Excel hit Alt F8, a dialogue box will appear called Macro.
Is there anything in it?
 
Upvote 0

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Alt-F11-Insert-Module-Paste Formula. Get Out and F8 and the box is empty. I did notice that when I paste the formula "Sub Unwind()Dim ws As Worksheet" Is in red.
 
Upvote 0
It should be
Code:
Sub Unwind()
Dim ws As Worksheet
 
Upvote 0

Forum statistics

Threads
1,215,457
Messages
6,124,941
Members
449,197
Latest member
k_bs

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