move column headers to multiple rows

StuFr

New Member
Joined
Sep 30, 2008
Messages
13
Hi,

I have a spreadsheet which has an output of order numbers and order details raised by differrent users. The problem with the spreadsheet in its current format is that I am unable to use data filter and choose all orders by a particular users

Column A, B & C are blank.
Rows 1-9 have data in them but are not required

Cell D10 has the User's name in this format "requisitioner: James Jones"

Row 11 has some usefull column headers which i would like to keep
D11=PO Number
G11=PO Date
L11=Order Status
Q11=Receipt Status
S11=Invoice Status
X11=Total Value Not Received

Some columns have no data and could be deleted/stripped out:-
ABC,E,F,I,J,K,M,N,O,P,RT,U,V,W

The following rows below this contain the information regarding orders place by that particular user, except to compicate things further some rows are blank, so we might have order data in row 13 then 17 then 21 - it's not always a 4 row space, sometimes only 2(!)

This would repeat down to say row 49 where we would then get the user details such as "Requisitioner: Jane Smith"

In the next row we would get the same column headers, PO number etc and then row containing the data with some blanks again.

Seems like a bit of a nightmare,I'm wondering if this can this all be done using VBA - or it is too difficult?
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Forum statistics

Threads
1,224,798
Messages
6,181,038
Members
453,014
Latest member
Chris258

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