I have a specific row header as below where i need to copy the range of value at E:E referencing to the header and paste to sheet 2 as below until it was blank and no more data. is a dynamic worksheet where the number of items may increase or decrease on daily extracts, but i do not know how to declare the information below so to instruct to copy the ID88888 by referencing only the Items (header name), and using which looping function. I really need some help here to get started.
Key point is there are gaps from the below info
at sheet1:
D7:E7
Item : ID88888
date purchase:18.1.16
expiry date: 20.1.16
cost: 10
D20:E20
Item : ID99999
date purchase:18.1.16
expiry date: 20.1.16
cost: 15
at sheet 2:
expected VBA results:
Apple|date purchase|expiry date|cost|
ID88888|18.1.16|20.1.16|10|
ID99999|18.1.16|20.1.16|15|
----------------------------------------------------------------------------
Mod Edit: Question moved to VBA section
Key point is there are gaps from the below info
at sheet1:
D7:E7
Item : ID88888
date purchase:18.1.16
expiry date: 20.1.16
cost: 10
D20:E20
Item : ID99999
date purchase:18.1.16
expiry date: 20.1.16
cost: 15
at sheet 2:
expected VBA results:
Apple|date purchase|expiry date|cost|
ID88888|18.1.16|20.1.16|10|
ID99999|18.1.16|20.1.16|15|
----------------------------------------------------------------------------
Mod Edit: Question moved to VBA section
Last edited by a moderator: