Classifying Data In Horizontal

d2pren

New Member
Joined
Mar 29, 2017
Messages
13
Hi guys! Help me...
I have a table like the left image. And I want group it like right above image. So the result is like a Bottom Right image.
ac492fdeed794029bf5a8b9fa7ba4ff7.png

Please help me how to do it.
Thank You!!
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
something like....

D2=IFERROR(INDEX($A$2:$A$8,SMALL(IF(FREQUENCY(IF($A$2:$A$8<>"",MATCH($A$2:$A$8,$A$2:$A$8,0)),ROW($A$2:$A$8)-ROW($A$2)+1),ROW($A$2:$A$8)-ROW($A$2)+1),ROWS($D$2:D2))),"") Control Shift Enter

E2=IFERROR(INDEX($B$2:$B$8,SMALL(IF($A$2:$A$8=$D2,ROW($A$2:$A$8)-ROW($A$2)+1),COLUMNS($E2:E2))),"") Control Shift Enter

Row\Col
A​
B​
C​
D​
E​
F​
G​
2​
apel
1​
apel
1​
3​
3​
apel
3​
jeruk
6​
2​
5​
4​
jeruk
6​
mangga
4​
7​
5​
jeruk
2​
6​
jeruk
5​
7​
mangga
4​
8​
mangga
7​

<tbody>
</tbody>
 
Upvote 0
CDEFGHIJKreftable
apel11apel4
apel31313apel132613apeljeruk5
jeruk66mangga6
jeruk262
jeruk5625625jeruk62538625jeruk
mangga44
mangga74747mangga472847mangga
col C concatenate the scores
col D separate out the concatenated scores
col E concatenate the name to col D
col F the length of column A minus the length of the name
col G how many numerals
col H first numeral
col I second numeral
col J third numeral
col K the name
easy now to work with cols H:K to make desired table
all these columns can be located out of sight
if you choose to go this way I will post formulas

<colgroup><col width="64" span="17" style="width:48pt"> </colgroup><tbody>
</tbody>
 
Upvote 0
something like....

D2=IFERROR(INDEX($A$2:$A$8,SMALL(IF(FREQUENCY(IF($A$2:$A$8<>"",MATCH($A$2:$A$8,$A$2:$A$8,0)),ROW($A$2:$A$8)-ROW($A$2)+1),ROW($A$2:$A$8)-ROW($A$2)+1),ROWS($D$2:D2))),"") Control Shift Enter

E2=IFERROR(INDEX($B$2:$B$8,SMALL(IF($A$2:$A$8=$D2,ROW($A$2:$A$8)-ROW($A$2)+1),COLUMNS($E2:E2))),"") Control Shift Enter

Row\Col
A​
B​
C​
D​
E​
F​
G​
2​
apel
1​
apel
1​
3​
3​
apel
3​
jeruk
6​
2​
5​
4​
jeruk
6​
mangga
4​
7​
5​
jeruk
2​
6​
jeruk
5​
7​
mangga
4​
8​
mangga
7​

<tbody>
</tbody>

Amazing, This work to me. Thank you so much.
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,279
Members
449,075
Latest member
staticfluids

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