I really need someones help on this
Currently I have this dataset:
Product Expiry
A .
A .
A .
A 20080901
A .
A .
A .
A .
B 20080901
B .
B 20090105
What I want is for all missing values to be filled with the next non-missing value; So we end up with this:
Product Expiry
A 20080901
A 20080901
A 20080901
A 20080901
A 20080901
A 20080901
A 20080901
A 20080901
B 20080901
B 20090105
B 20090105
Does anyone know the code to do this? I really appreciate any help on this.
Currently I have this dataset:
Product Expiry
A .
A .
A .
A 20080901
A .
A .
A .
A .
B 20080901
B .
B 20090105
What I want is for all missing values to be filled with the next non-missing value; So we end up with this:
Product Expiry
A 20080901
A 20080901
A 20080901
A 20080901
A 20080901
A 20080901
A 20080901
A 20080901
B 20080901
B 20090105
B 20090105
Does anyone know the code to do this? I really appreciate any help on this.