copy down a cell value in a different column with a specific text in until a new cell with the same specific text is seen then copy that down

Blackpanfer

New Member
Joined
Mar 19, 2019
Messages
4
Hi All,

I believe a macro is the only way to resolve this. I need to copy a cell with the text "Account" in column B and copy that in column A next to the numbers in column B until I reach the next cell with text "Account" in column B and then copy that cell down next to the numbers in column B, like you can see in the image from A6 to A8

Thanks
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Is this what you're after


Excel 2013/2016
AB
2Account1Account1
3Account11
4Account12
5Account13
6Account14
7Account15
8Account16
9Account2Account2
10Account21
11Account22
12Account23
13Account4Account4
14Account45
15Account46
16Account47
Sheet1
Cell Formulas
RangeFormula
A2=IF(LEFT(B2,7)="Account",B2,A1)
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,693
Members
448,979
Latest member
DET4492

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