Hi,
I have data from all different weeks of the month. Attached is a screenshot of the format. I want to sum the columns from sunday to saturday and store the summation in total column. However, the totals for first and last week of the month dont contain the summation from sunday to saturday (usually not complete weeks).
For example,
Week1 of June starts on 1st June (Thursday) and ends on 3rd June (Saturday) so total = Thursday +Friday +Saturday
Week2 of June starts on 4th June (Sunday) so total = Sunday + Monday + Tuesday + Wednesday+ Thursday +Friday +Saturday
Usually Week 2,3,4 dont give any problem.
Week5 of June starts on 25th (Sunday) but ends on 30th (Friday) so total = Sunday + Monday + Tuesday + Wednesday+ Thursday +Friday
I have to do the summations for any random month. looking for a logic or a tool which is flexible enough to do this.