Data Segregation based on name criteria slide by slide in the selected sheet

Status
Not open for further replies.

harinsh

Active Member
Joined
Feb 7, 2012
Messages
273
Hi Team,

I'm looking for the below requirement can anyone help on this...

[TABLE="width: 263"]
<colgroup><col><col><col span="2"></colgroup><tbody>[TR]
[TD]Name[/TD]
[TD]Date[/TD]
[TD]Sales1[/TD]
[TD]Sales2[/TD]
[/TR]
[TR]
[TD]Daniel[/TD]
[TD="align: right"]01/18/11[/TD]
[TD] 4,907.00[/TD]
[TD] 2,038.00[/TD]
[/TR]
[TR]
[TD]Daniel[/TD]
[TD="align: right"]12/23/11[/TD]
[TD] 3,527.00[/TD]
[TD] 2,985.00[/TD]
[/TR]
[TR]
[TD]Daniel[/TD]
[TD="align: right"]05/14/12[/TD]
[TD] 1,495.00[/TD]
[TD] 1,529.00[/TD]
[/TR]
[TR]
[TD]Daniel[/TD]
[TD="align: right"]09/12/12[/TD]
[TD] 4,527.00[/TD]
[TD] 2,777.00[/TD]
[/TR]
[TR]
[TD]Daniel[/TD]
[TD="align: right"]10/24/12[/TD]
[TD] 4,980.00[/TD]
[TD] 2,061.00[/TD]
[/TR]
[TR]
[TD]Johnson[/TD]
[TD="align: right"]09/17/10[/TD]
[TD] 3,713.00[/TD]
[TD] 2,939.00[/TD]
[/TR]
[TR]
[TD]Johnson[/TD]
[TD="align: right"]03/29/12[/TD]
[TD] 1,912.00[/TD]
[TD] 4,025.00[/TD]
[/TR]
[TR]
[TD]Johnson[/TD]
[TD="align: right"]10/21/12[/TD]
[TD] 1,170.00[/TD]
[TD] 3,631.00[/TD]
[/TR]
[TR]
[TD]Johnson[/TD]
[TD="align: right"]11/09/12[/TD]
[TD] 2,641.00[/TD]
[TD] 2,651.00[/TD]
[/TR]
[TR]
[TD]Johnson[/TD]
[TD="align: right"]01/01/13[/TD]
[TD] 1,829.00[/TD]
[TD] 3,998.00[/TD]
[/TR]
[TR]
[TD]Mary[/TD]
[TD="align: right"]09/20/10[/TD]
[TD] 1,614.00[/TD]
[TD] 3,668.00[/TD]
[/TR]
[TR]
[TD]Mary[/TD]
[TD="align: right"]07/20/11[/TD]
[TD] 2,303.00[/TD]
[TD] 4,939.00[/TD]
[/TR]
[TR]
[TD]Mary[/TD]
[TD="align: right"]01/06/12[/TD]
[TD] 2,103.00[/TD]
[TD] 1,701.00[/TD]
[/TR]
[TR]
[TD]Mary[/TD]
[TD="align: right"]03/04/12[/TD]
[TD] 2,003.00[/TD]
[TD] 3,570.00[/TD]
[/TR]
[TR]
[TD]Mary[/TD]
[TD="align: right"]06/06/12[/TD]
[TD] 2,925.00[/TD]
[TD] 2,608.00
[/TD]
[/TR]
</tbody>[/TABLE]

Required output....
[TABLE="width: 903"]
<colgroup><col><col><col span="2"><col><col><col><col span="2"><col><col><col><col span="2"></colgroup><tbody>[TR]
[TD]Name[/TD]
[TD]Date[/TD]
[TD]Sales1[/TD]
[TD]Sales2[/TD]
[TD][/TD]
[TD]Name[/TD]
[TD]Date[/TD]
[TD]Sales1[/TD]
[TD]Sales2[/TD]
[TD][/TD]
[TD]Name[/TD]
[TD]Date[/TD]
[TD]Sales1[/TD]
[TD]Sales2[/TD]
[/TR]
[TR]
[TD]Daniel[/TD]
[TD="align: right"]01/18/11[/TD]
[TD] 4,907.00[/TD]
[TD] 2,038.00[/TD]
[TD][/TD]
[TD]Johnson[/TD]
[TD="align: right"]09/17/10[/TD]
[TD] 3,713.00[/TD]
[TD] 2,939.00[/TD]
[TD][/TD]
[TD]Mary[/TD]
[TD="align: right"]09/20/10[/TD]
[TD] 1,614.00[/TD]
[TD] 3,668.00[/TD]
[/TR]
[TR]
[TD]Daniel[/TD]
[TD="align: right"]12/23/11[/TD]
[TD] 3,527.00[/TD]
[TD] 2,985.00[/TD]
[TD][/TD]
[TD]Johnson[/TD]
[TD="align: right"]03/29/12[/TD]
[TD] 1,912.00[/TD]
[TD] 4,025.00[/TD]
[TD][/TD]
[TD]Mary[/TD]
[TD="align: right"]07/20/11[/TD]
[TD] 2,303.00[/TD]
[TD] 4,939.00[/TD]
[/TR]
[TR]
[TD]Daniel[/TD]
[TD="align: right"]05/14/12[/TD]
[TD] 1,495.00[/TD]
[TD] 1,529.00[/TD]
[TD][/TD]
[TD]Johnson[/TD]
[TD="align: right"]10/21/12[/TD]
[TD] 1,170.00[/TD]
[TD] 3,631.00[/TD]
[TD][/TD]
[TD]Mary[/TD]
[TD="align: right"]01/06/12[/TD]
[TD] 2,103.00[/TD]
[TD] 1,701.00[/TD]
[/TR]
[TR]
[TD]Daniel[/TD]
[TD="align: right"]09/12/12[/TD]
[TD] 4,527.00[/TD]
[TD] 2,777.00[/TD]
[TD][/TD]
[TD]Johnson[/TD]
[TD="align: right"]11/09/12[/TD]
[TD] 2,641.00[/TD]
[TD] 2,651.00[/TD]
[TD][/TD]
[TD]Mary[/TD]
[TD="align: right"]03/04/12[/TD]
[TD] 2,003.00[/TD]
[TD] 3,570.00[/TD]
[/TR]
[TR]
[TD]Daniel[/TD]
[TD="align: right"]10/24/12[/TD]
[TD] 4,980.00[/TD]
[TD] 2,061.00[/TD]
[TD][/TD]
[TD]Johnson[/TD]
[TD="align: right"]01/01/13[/TD]
[TD] 1,829.00[/TD]
[TD] 3,998.00[/TD]
[TD][/TD]
[TD]Mary[/TD]
[TD="align: right"]06/06/12[/TD]
[TD] 2,925.00[/TD]
[TD] 2,608.00[/TD]
[/TR]
</tbody>[/TABLE]


Need macro code to segregate the data...kindly do the needful.

Thanks,
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Status
Not open for further replies.

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

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