Moving Average function combined with difference does not give wanted results

Please post image what this empty cell looks like

Maybe you can convert empty cells to 0