# calculating the last 56 days of sales

#### Gun123

##### New Member
Hi All, was wondering if someone can help me. I have some data that consists of sales data by site and day. I need to workout the last 56 days of sales excluding the days with zero sales. I am not sure how I can do that where each sites has different days of sales.

Please see attached a mini sample below: if I want to work out the last 4 days of sales but as you can see from below each site has different days of sales, but I want to find the last 5 says (regardles of date). My actual data is over 3 months and accross 350 site. I need to work out the last 56 days of sales starting from the earliest date i.e 12/01/2021. Can some one help

 Site 101 Site 102 Site 103 Site 104 Site 105 Site 106 Site 107 12/01/21 100 200 0 200 300 0 520 11/01/21 0 0 100 150 50 200 100 10/01/21 50 0 522 0 25 100 0 09/01/21 50 100 0 100 0 0 100

### Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

#### Gun123

##### New Member
Hi All, was wondering if someone can help me. I have some data that consists of sales data by site and day. I need to workout the last 56 days of sales excluding the days with zero sales. I am not sure how I can do that where each sites has different days of sales.

Please see attached a mini sample below: if I want to work out the last 4 days of sales but as you can see from below each site has different days of sales, but I want to find the last 5 says (regardles of date). My actual data is over 3 months and accross 350 site. I need to work out the last 56 days of sales starting from the earliest date i.e 12/01/2021. Can some one help

 Site 101 Site 102 Site 103 Site 104 Site 105 Site 106 Site 107 12/01/21 100 200 0 200 300 0 520 11/01/21 0 0 100 150 50 200 100 10/01/21 50 0 522 0 25 100 0 09/01/21 50 100 0 100 0 0 100
What I need to work out is for each stors the last 56 days, the actual dates and the sales

Replies
3
Views
105
Replies
5
Views
79
Replies
3
Views
194
Replies
2
Views
53
Replies
4
Views
60

1,127,529
Messages
5,625,352
Members
416,096
Latest member
forevans

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back