Lookup dealer number and count same models

foxtrapperscott

New Member
Joined
Oct 4, 2008
Messages
31
Thanks for taking time to help. I have a spreadsheet that has a list of dealer numbers that have different model numbers per dealer location. I need to be able to count the number of similar models per dealer location. Please see below

Thanks in advance or taking time to help. I greatly appreciate it.

-Scott
[TABLE="width: 943"]
<colgroup><col width="103" style="width: 77pt; mso-width-source: userset; mso-width-alt: 3766;"> <col width="88" style="width: 66pt; mso-width-source: userset; mso-width-alt: 3218;"> <col width="109" style="width: 82pt; mso-width-source: userset; mso-width-alt: 3986;"> <col width="77" style="width: 58pt; mso-width-source: userset; mso-width-alt: 2816;"> <col width="94" style="width: 71pt; mso-width-source: userset; mso-width-alt: 3437;"> <col width="76" style="width: 57pt; mso-width-source: userset; mso-width-alt: 2779;"> <col width="92" style="width: 69pt; mso-width-source: userset; mso-width-alt: 3364;"> <col width="102" style="width: 77pt; mso-width-source: userset; mso-width-alt: 3730;"> <col width="97" style="width: 73pt; mso-width-source: userset; mso-width-alt: 3547;"> <col width="75" style="width: 56pt; mso-width-source: userset; mso-width-alt: 2742;"> <col width="90" style="width: 68pt; mso-width-source: userset; mso-width-alt: 3291;"> <col width="109" style="width: 82pt; mso-width-source: userset; mso-width-alt: 3986;"> <col width="75" style="width: 56pt; mso-width-source: userset; mso-width-alt: 2742;"> <col width="68" style="width: 51pt; mso-width-source: userset; mso-width-alt: 2486;"> <tbody>[TR]
[TD="width: 103, bgcolor: transparent"]Dealer Number[/TD]
[TD="width: 88, bgcolor: transparent"]Dealer Name[/TD]
[TD="width: 109, bgcolor: transparent"]District Manager[/TD]
[TD="width: 77, bgcolor: transparent"]Region[/TD]
[TD="width: 94, bgcolor: transparent"]Demand Class[/TD]
[TD="width: 76, bgcolor: transparent"]Order Type[/TD]
[TD="width: 92, bgcolor: transparent"]Factory Order[/TD]
[TD="width: 102, bgcolor: transparent"]Model Number[/TD]
[TD="width: 97, bgcolor: transparent"]Serial Number[/TD]
[TD="width: 75, bgcolor: transparent"]Order Date[/TD]
[TD="width: 90, bgcolor: transparent"]Request Date[/TD]
[TD="width: 109, bgcolor: transparent"]Schedule Arrival[/TD]
[TD="width: 75, bgcolor: transparent"]EBC[/TD]
[TD="width: 68, bgcolor: transparent"]Sequence[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]09757[/TD]
[TD="bgcolor: transparent"]WECO[/TD]
[TD="bgcolor: transparent"]KC[/TD]
[TD="bgcolor: transparent"] Region 500[/TD]
[TD="bgcolor: transparent"]A[/TD]
[TD="bgcolor: transparent"]STOCK[/TD]
[TD="bgcolor: transparent, align: right"]2353625[/TD]
[TD="bgcolor: transparent"]E50 T4[/TD]
[TD="bgcolor: transparent"]BR549[/TD]
[TD="bgcolor: transparent, align: right"]8/7/2014[/TD]
[TD="bgcolor: transparent, align: right"]2/28/2014[/TD]
[TD="bgcolor: transparent, align: right"]1/12/2015[/TD]
[TD="bgcolor: transparent, align: right"]12/17/2015[/TD]
[TD="bgcolor: transparent, align: right"]4[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]09757[/TD]
[TD="bgcolor: transparent"]WECO[/TD]
[TD="bgcolor: transparent"]KC[/TD]
[TD="bgcolor: transparent"] Region 501[/TD]
[TD="bgcolor: transparent"]A[/TD]
[TD="bgcolor: transparent"]STOCK[/TD]
[TD="bgcolor: transparent, align: right"]2353626[/TD]
[TD="bgcolor: transparent"]T550 T4[/TD]
[TD="bgcolor: transparent"]BR550[/TD]
[TD="bgcolor: transparent, align: right"]10/22/2014[/TD]
[TD="bgcolor: transparent, align: right"]1/1/2015[/TD]
[TD="bgcolor: transparent, align: right"]1/15/2015[/TD]
[TD="bgcolor: transparent, align: right"]1/7/2015[/TD]
[TD="bgcolor: transparent, align: right"]170[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]09572[/TD]
[TD="bgcolor: transparent"]BONV[/TD]
[TD="bgcolor: transparent"]KC[/TD]
[TD="bgcolor: transparent"] Region 501[/TD]
[TD="bgcolor: transparent"]A[/TD]
[TD="bgcolor: transparent"]STOCK[/TD]
[TD="bgcolor: transparent, align: right"]2393926[/TD]
[TD="bgcolor: transparent"]T550 T4[/TD]
[TD="bgcolor: transparent"]BR551[/TD]
[TD="bgcolor: transparent, align: right"]10/23/2014[/TD]
[TD="bgcolor: transparent, align: right"]1/1/2015[/TD]
[TD="bgcolor: transparent, align: right"]1/15/2015[/TD]
[TD="bgcolor: transparent, align: right"]1/7/2015[/TD]
[TD="bgcolor: transparent, align: right"]171[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]09572[/TD]
[TD="bgcolor: transparent"]BONV[/TD]
[TD="bgcolor: transparent"]KC[/TD]
[TD="bgcolor: transparent"] Region 501[/TD]
[TD="bgcolor: transparent"]A[/TD]
[TD="bgcolor: transparent"]STOCK[/TD]
[TD="bgcolor: transparent, align: right"]2393926[/TD]
[TD="bgcolor: transparent"]T550 T4[/TD]
[TD="bgcolor: transparent"]BR552[/TD]
[TD="bgcolor: transparent, align: right"]10/23/2014[/TD]
[TD="bgcolor: transparent, align: right"]1/1/2015[/TD]
[TD="bgcolor: transparent, align: right"]1/15/2015[/TD]
[TD="bgcolor: transparent, align: right"]1/7/2015[/TD]
[TD="bgcolor: transparent, align: right"]172[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]09572[/TD]
[TD="bgcolor: transparent"]BONV[/TD]
[TD="bgcolor: transparent"]KC[/TD]
[TD="bgcolor: transparent"] Region 501[/TD]
[TD="bgcolor: transparent"]A[/TD]
[TD="bgcolor: transparent"]STOCK[/TD]
[TD="bgcolor: transparent, align: right"]2393926[/TD]
[TD="bgcolor: transparent"]T550 T4[/TD]
[TD="bgcolor: transparent"]BR553[/TD]
[TD="bgcolor: transparent, align: right"]10/23/2014[/TD]
[TD="bgcolor: transparent, align: right"]1/1/2015[/TD]
[TD="bgcolor: transparent, align: right"]1/15/2015[/TD]
[TD="bgcolor: transparent, align: right"]1/7/2015[/TD]
[TD="bgcolor: transparent, align: right"]173[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]09758[/TD]
[TD="bgcolor: transparent"]BOR[/TD]
[TD="bgcolor: transparent"]JM[/TD]
[TD="bgcolor: transparent"] Region 502[/TD]
[TD="bgcolor: transparent"]A[/TD]
[TD="bgcolor: transparent"]STOCK[/TD]
[TD="bgcolor: transparent, align: right"]2305005[/TD]
[TD="bgcolor: transparent"]S70[/TD]
[TD="bgcolor: transparent"]BR554[/TD]
[TD="bgcolor: transparent, align: right"]5/14/2014[/TD]
[TD="bgcolor: transparent, align: right"]10/1/2014[/TD]
[TD="bgcolor: transparent, align: right"]1/15/2015[/TD]
[TD="bgcolor: transparent, align: right"]1/7/2015[/TD]
[TD="bgcolor: transparent, align: right"]226[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]08948[/TD]
[TD="bgcolor: transparent"]BOF[/TD]
[TD="bgcolor: transparent"]KC[/TD]
[TD="bgcolor: transparent"] Region 503[/TD]
[TD="bgcolor: transparent"]A[/TD]
[TD="bgcolor: transparent"]STOCK[/TD]
[TD="bgcolor: transparent, align: right"]2376704[/TD]
[TD="bgcolor: transparent"]5600T T4[/TD]
[TD="bgcolor: transparent"]BR555[/TD]
[TD="bgcolor: transparent, align: right"]9/22/2014[/TD]
[TD="bgcolor: transparent, align: right"]11/1/2014[/TD]
[TD="bgcolor: transparent, align: right"]1/17/2015[/TD]
[TD="bgcolor: transparent, align: right"]1/8/2015[/TD]
[TD="bgcolor: transparent, align: right"]334[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]09516[/TD]
[TD="bgcolor: transparent"]BOT[/TD]
[TD="bgcolor: transparent"]JM[/TD]
[TD="bgcolor: transparent"] Region 504[/TD]
[TD="bgcolor: transparent"]A[/TD]
[TD="bgcolor: transparent"]STOCK[/TD]
[TD="bgcolor: transparent, align: right"]2284267[/TD]
[TD="bgcolor: transparent"]5600T T4[/TD]
[TD="bgcolor: transparent"]BR556[/TD]
[TD="bgcolor: transparent, align: right"]4/13/2014[/TD]
[TD="bgcolor: transparent, align: right"]4/13/2014[/TD]
[TD="bgcolor: transparent, align: right"]1/22/2015[/TD]
[TD="bgcolor: transparent, align: right"]1/9/2015[/TD]
[TD="bgcolor: transparent, align: right"]857[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: #FFC000, colspan: 4"]Results I am looking for number of models by dealer number[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]09572[/TD]
[TD="bgcolor: transparent"]09516[/TD]
[TD="bgcolor: transparent"]09758[/TD]
[TD="bgcolor: transparent"]08948[/TD]
[TD="bgcolor: transparent"]09757[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Style[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"]BONV[/TD]
[TD="bgcolor: transparent"]BOT[/TD]
[TD="bgcolor: transparent"]BOR[/TD]
[TD="bgcolor: transparent"]BOF[/TD]
[TD="bgcolor: transparent"]WECO[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"]TOTAL[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]E50 T4[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: #FFC000"]1[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent, align: right"]1[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]T550 T4[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: #FFC000"]3[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: #FFC000"]1[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent, align: right"]4[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]S70[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent, align: right"]0[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]5600T T4[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: #FFC000"]1[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: #FFC000"]1[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent, align: right"]2[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
</tbody>[/TABLE]
 
This takes about 2 minutes using a pivot table...

Rows = Model No
Columns = Dealer No & Dealer Name
Values = any field (count, not sum)



Sheet3

*ABCDEFG
*******
*******
Count of District ManagerColumn Labels*****
*Grand Total
Row LabelsBOFBOTBONVWECOBOR*
***
****
****
***

<colgroup><col style="font-weight:bold; width:30px; "><col style="width:168px;"><col style="width:114px;"><col style="width:48px;"><col style="width:48px;"><col style="width:48px;"><col style="width:48px;"><col style="width:79px;"></colgroup><tbody>
[TD="bgcolor: #cacaca, align: center"]1[/TD]

[TD="bgcolor: #cacaca, align: center"]2[/TD]

[TD="bgcolor: #cacaca, align: center"]3[/TD]

[TD="bgcolor: #cacaca, align: center"]4[/TD]

[TD="align: right"]8948[/TD]
[TD="align: right"]9516[/TD]
[TD="align: right"]9572[/TD]
[TD="align: right"]9757[/TD]
[TD="align: right"]9758[/TD]

[TD="bgcolor: #cacaca, align: center"]5[/TD]

[TD="bgcolor: #cacaca, align: center"]6[/TD]
[TD="align: left"]5600T T4[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]

[TD="align: right"]2[/TD]

[TD="bgcolor: #cacaca, align: center"]7[/TD]
[TD="align: left"]E50 T4[/TD]

[TD="align: right"]1[/TD]

[TD="align: right"]1[/TD]

[TD="bgcolor: #cacaca, align: center"]8[/TD]
[TD="align: left"]S70[/TD]

[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]

[TD="bgcolor: #cacaca, align: center"]9[/TD]
[TD="align: left"]T550 T4[/TD]

[TD="align: right"]3[/TD]
[TD="align: right"]1[/TD]

[TD="align: right"]4[/TD]

</tbody>


Excel tables to the web >> Excel Jeanie HTML 4
 
Upvote 0

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