MS Excel - 如果对应的单元格在另一列中不为空,则向下填充列单元格

MS Excel - Down fill a column cells if the corresponding cells are not empty in another column

如果第 'A' 列中的相应单元格不为空,我需要向下填充第 'B' 列。

Here's a screenshot of what I need done

这是 link to the above screenshot spreadsheet

感谢您的帮助。

假设您在 A1:A10 中的数据如下:

A1: asd
A2: (blank)
A3: ddtgf
A4: yufjg
A5: (blank)
A6: gjfhgf
A7: (blank)
A8: fgn
A9: ghn
A10: awsfg

B1中,公式复制下来:

=IF(A1="","","image"&TEXT(COUNTA(A:A1),"000000000")&".png")