to make a matrix

sajancr

New Member
Joined
Jul 18, 2012
Messages
2
hello experts,

i have a question, i never used advanced formulas in excel. Hope you guys will help me.
I want to make a matrix like table (below) from the raw data table

my answer table is this

[TABLE="width: 500"]
<tbody>[TR]
[TD][TABLE="width: 567"]
<colgroup><col><col span="5"></colgroup><tbody>[TR]
[TD] [/TD]
[TD="align: center"] ABC[/TD]
[TD="align: center"]XYZ[/TD]
[TD="align: center"]JKD[/TD]
[TD="align: center"]ASD[/TD]
[TD="align: center"]ABD[/TD]
[/TR]
[TR]
[TD="align: center"]james[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]johnson[/TD]
[TD="align: center"][/TD]
[TD="align: center"]1[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]david[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]rahul[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"][/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]andrews[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]jacob[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]davinci[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]

and my raw data table is this given below. i want to count the column B and duplicates. and to make a table like matrix. Hope you understand my question.

my raw data table
ColA ColB​
[TABLE="width: 311"]
<colgroup><col style="text-align: left; "><col style="text-align: left; "></colgroup><tbody>[TR]
[TD="align: left"]james[/TD]
[TD="align: left"]ABC[/TD]
[/TR]
[TR]
[TD="align: left"]johnson[/TD]
[TD="align: left"]XYZ[/TD]
[/TR]
[TR]
[TD="align: left"]david[/TD]
[TD="align: left"]JKD[/TD]
[/TR]
[TR]
[TD="align: left"]rahul[/TD]
[TD="align: left"]ABC[/TD]
[/TR]
[TR]
[TD="align: left"]andrews[/TD]
[TD="align: left"]ASD[/TD]
[/TR]
[TR]
[TD="align: left"]jacob[/TD]
[TD="align: left"]XYZ[/TD]
[/TR]
[TR]
[TD="align: left"]david[/TD]
[TD="align: left"]ASD[/TD]
[/TR]
[TR]
[TD="align: left"]rahul[/TD]
[TD="align: left"]ASD[/TD]
[/TR]
[TR]
[TD="align: left"]andrews[/TD]
[TD="align: left"]JKD[/TD]
[/TR]
[TR]
[TD="align: left"]davinci[/TD]
[TD="align: left"]JKD[/TD]
[/TR]
[TR]
[TD="align: left"]jacob[/TD]
[TD="align: left"]ABC[/TD]
[/TR]
[TR]
[TD="align: left"]james[/TD]
[TD="align: left"]ABD[/TD]
[/TR]
[TR]
[TD="align: left"]johnson[/TD]
[TD]ASD




[/TD]
[/TR]
</tbody>[/TABLE]
thanks in advance....

sajan raju
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Welcome to MrExcel.

If your data has headings you can create a pivot table with column Aame in the row area, column B in the column area and count of column B in the data area. Example:

Excel Workbook
DEFGHI
1Count of ColBColB****
2ColAABCABDASDJKDXYZ
3andrews**11*
4david**11*
5davinci***1*
6jacob1***1
7james11***
8johnson**1*1
9rahul1*1**
Sheet1
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,988
Members
452,373
Latest member
TimReeks

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