
I also would like to know of a function that does this and also have macros disabled at the organization level. current solution is enabling iterative formulas and have an if statement that returns current value
go to file - options - formulas and click enable iterative formulas
then insert statement similar to below as part of your formula
=if(a2<>"", a2, "")
if a2 is not blank keep a2 else leave blank