Hi, sa.1985!
Download this file and check out if it does what you asked for:
http://www.4shared.com/file/E1DViLzb/test_-_Upload_a_excel_file_her.html
I only modified D grayed formulas from:
=SI(FILA()-1<=$A$2;FILA()-1;"") -----> in english: =IF(ROW()-1<=$A$2,ROW()-1,""))
to:
=SI(ESBLANCO(A$2);D2;SI(FILA()-1<=$A$2;FILA()-1;"")) -----> in english: =IF(ISBLANK(A$2),D2,IF(ROW()-1<=$A$2,ROW()-1,""))
I too set up the calculation iteration to 1, so as to avoid circular references.
Regards!
EDIT: 22/08/2012
Hi!
New download link since 4shared became only available with registration:
https://dl.dropbox.com/u/60558749/test%20-%20Upload%20a%20excel%20file%20here%20%28for%20sa.1985%20at%20chandoo.org%29.xlsm
Regards!