Copy down into another column

Corleone

Well-known Member
Joined
Feb 2, 2003
Messages
841
Office Version
  1. 365
Hi - I have a large import of raw data which looks like the attachment below
This issue i have is that it has the project name at the top of each of the groups which makes it impossible to then be able to filter at project level - so ideally i would like the project id (highlighted in yellow
to exist against every line for that project.


Is there a way of making this work by performing some sort of code that recognises any instance in column B where the entry starts with "Project" it then goes into column A and copies that cell entry down
until the next entry in Column B occurs where the start is "Project" and then repeats the process? all the way down to row 10000


Thanks
 

Attachments

  • LINB.png
    LINB.png
    41 KB · Views: 5

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).
This is what I would like it to end up as after the code is run
 

Attachments

  • LINB.png
    LINB.png
    109.2 KB · Views: 4
Upvote 0

Forum statistics

Threads
1,214,951
Messages
6,122,442
Members
449,083
Latest member
Ava19

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