Can anyone help me with this? I need to fill the cells(red) in the second column . I have to look at A and when i have a line with * i need to fill all the lines below this with the account written before the star sign. I tried peek function but it doesn't work because i have not a rule...only depends on the star sign. Thank you!