• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

to put next column value if row become blank

paramveer

Member
i problem in attached sheet. pls solve this issue.
thanks in advance
 

Attachments

  • question 1.xlsx
    9.9 KB · Views: 11
Try,

In B14, formula copied down :

=IF(A14="","",OFFSET($C$6,MOD(ROW(A1)-1,6),INT((ROW(A1)-1)/6)+1))

Regards
Bosco
 
This is a variation on a cross-tab unpivoting exercise.
The parameter and column field are given by
= INDEX(header,[@Row])
= INDEX(grid,[@Row],[@Col])

where the row and column numbers are
=1 + MOD([@k]-1,6)
= CEILING( [@k], 6 ) / 6

60362
 

Attachments

  • Unpivoting (PB).xlsx
    22.2 KB · Views: 7
Back
Top