Insert row, segregate data, add header and name each of the segregated data with a name on top

Alvinpereira

New Member
Joined
Apr 28, 2015
Messages
19
Hi All,

I have a requirement where from my raw data in excel I have to segregate the report based on product names, insert few rows in between the segregated data and add header to each of the segregated and top of each header i want the the product name to be displayed.


Raw data

Product name

<tbody>
</tbody>
Product number

<tbody>
</tbody>
Scan ID

<tbody>
</tbody>
Headphone

<tbody>
</tbody>
34567

<tbody>
</tbody>
126176EWEW

<tbody>
</tbody>
Headphone

<tbody>
</tbody>
23672

<tbody>
</tbody>
DYST1W1Y12

<tbody>
</tbody>
Headphone

<tbody>
</tbody>
12376

<tbody>
</tbody>
17Y731UJHD

<tbody>
</tbody>
Earphones

<tbody>
</tbody>
12718

<tbody>
</tbody>
1216YTY313

<tbody>
</tbody>
Earphones

<tbody>
</tbody>
23872

<tbody>
</tbody>
21UYUDNJM1

<tbody>
</tbody>
Laptop

<tbody>
</tbody>
12113

<tbody>
</tbody>
121UHJH21

<tbody>
</tbody>
Laptop

<tbody>
</tbody>
12131

<tbody>
</tbody>
121987U8HJ

<tbody>
</tbody>

<tbody>
</tbody>
How i need the data to be segregated,

Headphone

<tbody>
</tbody>

Product number

<tbody>
</tbody>
Scan ID

<tbody>
</tbody>
34567

<tbody>
</tbody>
126176EWEW

<tbody>
</tbody>
23672

<tbody>
</tbody>
DYST1W1Y12

<tbody>
</tbody>

<tbody>
</tbody>
12376

<tbody>
</tbody>
17Y731UJHD

<tbody>
</tbody>

<tbody>
</tbody>



Earphones

<tbody>
</tbody>


Product number

<tbody>
</tbody>
Scan ID

<tbody>
</tbody>
12718

<tbody>
</tbody>
1216YTY313

<tbody>
</tbody>
23872

<tbody>
</tbody>
21UYUDNJM1

<tbody>
</tbody>

<tbody>
</tbody>
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

Forum statistics

Threads
1,213,563
Messages
6,114,332
Members
448,566
Latest member
Nickdozaj

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