Hi
try this.
Sub aaa()
nocols = Range("IV1").End(xlToLeft).Column
For Each ce In Range("a2:a" & Range("a65536").End(xlUp).Row)
If Not IsEmpty(ce.Offset(0, 6)) Then
For i = 8 To nocols
If IsEmpty(ce.Offset(1, i - 1)) Then ce.Offset(0, i - 1) = "No Record"
Next i
End If
Next ce
End Sub
There is a difference in the output due to the "super headings". From the sample, the super heading should only have No Record if all the sub heading items have No Record (as in J003). However, the only thing that seemed to define a super heading was the Yellow background, or a leading 3 chars of TV: Are these valid ways of defining a super heading???
Tony