Copy & paste based on section title

Grange2

New Member
Joined
Mar 31, 2021
Messages
14
Office Version
  1. 2013
  2. 2011
Platform
  1. Windows
Hi all,

I'm facing an issue where data comes in sections according to title and then has items associated with that header.

Book1
ABCDEFG
1CodeDescriptionQTYPriceGSTTotal
2Section1
316875Paper 3242341234
416876Paper 3242341234
516877Paper 3242341234
616878Paper 3242341234
716879Paper 3242341234
816880Paper 3242341234
9Section 2
1016876Paper423845481
1157532Rock12307168
1256621Rock12358259
13Section3
145412Scissors51215645
152132Scissors212122521
1654Scissors54858331
Sheet1


I would like to paste it into a table as follows with spaces in between.

Book1
ABCDEFGHI
1SectionCodeQTYPriceGSTTotal
2Section 1168751234
3Section 1168761234
4Section 1168771234
5Section 1168781234
6Section 1168791234
7Section 1168801234
Sheet2


Is there also any way to concatenate the headers with a space in between?

I would greatly appreciate any assistance with this.

Thank you.
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Sorry, The section separations also have a * in column A of that row if that helps.


1620180254289.png


Thank you.
 
Upvote 0

Forum statistics

Threads
1,214,614
Messages
6,120,533
Members
448,969
Latest member
mirek8991

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