Ignore missing data

If there is no data for a day I’d prefer to omit it in calculations of average, deficit, etc. So if I have data for only one day in a week, the average would be that one day’s value. That’s more useful to me than values that indicate I slept only one day of seven and hence have a huge deficit.