I assume that your empty values points to upper cell that is not empty. If I correctly understand your data looks like columns below and you want to fill empty cells.
Name Value N1 V1 N2 N3 N4 V2 N5 N6 N7 V3 N8
Select column2 (values) cells
Home > Editing section > Find and replace sub menu > Go to special: that will select all blank lines.
When all blank cells are selected click to formula bar and enter top cell name. In my columns it is B2. Type "=$B2" and press Ctrl + Enter
All blank lines will be replaced with the top cell values. Now you can do whatever you want with your data. If this is not you want then visualize your data to make it clear.