The row 2 to row 30 of first column of sheet1 contain formula below
=IF(ISBLANK(sheet2!D2),"",sheet2!D2)
=IF(ISBLANK(sheet2!D3),"",sheet2!D3)
.
.
=IF(ISBLANK(sheet2!D30),"",sheet2!D30)
The thing is only row two actually have a value, from row 3 to row 30 is blank based on formula, but when i use below function
lRow = Cells(Rows.Count, 1).End(xlUp).Row
the lRow i got is 30
I want to get 2 in this case.
Anybody can help please?