Copy a column when a if logic in adjacent cell is TRUE.Copied column should start from TRUE

Copper Contributor

hai,

Background: 2columns, 1column is already coded to identify (date, as an input) in which month and year it falls and calculates the remaining days in that month and the no. of days in following months....

problem: the second column ( a set of values in a column) is required to start from where the days in first column starts....

PS: without vba is appreciated... (i'm a novice in vba :D)

 

Thanks in advance

1 Reply

@junni92 , that could be

=IF(LEN(B5)=0,"",OFFSET($D5,-COUNTBLANK($B$5:$B5),0))

if I understood your logic correctly