# Average Question, based on 2 to 3 sets of criteria.

#### ExcelDude

##### New Member
OK, I have a promotion begin date, and a promotion end date in 2 columns. I also have, say 50 columns with weekly sales data and a date heading. What I need to do is to average this data in 3 different areas. Avg before promo, during promo, and after promo. I also need it to average data that does not have a zero, which I believe I know how to do(=AVERAGE(IF(A2:A7<>0, A2:A7,""). Right now I'm manually averaging this data based on the different beg. and end dates, but it's a very manual process as the beg. and end dates very from title to title. Any ideas?

### Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

#### NBVC

##### Well-known Member
Can't you use a similar Average(if formula and make the criteria <= cell with reference begin date, etc..?

Replies
4
Views
261
Replies
3
Views
263
Replies
1
Views
279
Replies
4
Views
408
Replies
2
Views
132

1,181,680
Messages
5,931,378
Members
436,788
Latest member
er19

### 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