I've got daily data, which I want to convert into weekly. However, the data are not for every day. In some cases, it could be from Monday to Sunday, in other it could be only, say, Tuesday and Thursday. Basically any combination. I have a table with a date and a number for that day. I need to single out any week and sum up the numbers for this week to present it as weekly data. Could anyone suggest any method for doing it?