Link to home
Start Free TrialLog in
Avatar of inee lee
inee lee

asked on

Large time series file : need to replace #N/A with previous value( value in row above

I have a large time series file.  I have 200,000+  " #N/A ".  I want to take the data point in the row cell directly above.  

so if it's na in  cell d23.  i want to take d22's value and copy it into the n/a cell for the entire spreadsheet.

is there an easy way to do this in vba?  i've no experience using vba.

thanks
ASKER CERTIFIED SOLUTION
Avatar of Rgonzo1971
Rgonzo1971

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of inee lee
inee lee

ASKER

thanks.  one problem though is the case of consecutive N/As  which occurs alot in my file
Shouldn't be a problem see example
EE20180106.xlsx
got this.   thank you so much.
Solution according to author's comment