So I got something like this (all in column A, seperate rows):
Title01
atext atext atext atext atext
btext btext btext btext btext
ctext ctext ctext ctext ctext
title02
atext atext atext atext atext
btext btext btext btext btext
ctext ctext ctext ctext ctext
title03
atext atext atext atext atext
btext btext btext btext btext
ctext ctext ctext ctext ctext
And I need solution to change it like this:
Title01
Title01 – atext atext atext atext atext
Title01 – btext btext btext btext btext
Title01 – ctext ctext ctext ctext ctext
Title02
Title02 – atext atext atext atext atext
Title02 – btext btext btext btext btext
Title02 – ctext ctext ctext ctext ctext
Title03
Title03 – atext atext atext atext atext
Title03 – btext btext btext btext btext
Title03 – ctext ctext ctext ctext ctext
**Basicaly – adding prefix (of title) to each column A row until next title…
Is there any ideas how can i accomplish this having about 3000 line totaly and they are not the same amout under each title…
Thank you!**
B1put the formula=A1B2put the formula=IF(MID(A2, 1,5)="Title", A2, B1)C1put the formula=IF(MID(A1, 1,5)="Title", A1, B1 & " - " & A1)Now you have what you want in column C. You can copy, then paste special > values to get rid of the formulas.