Average within date range for a given sales person (Excel 2003)

DPARDY

New Member
Joined
Dec 3, 2009
Messages
41
Office Version
  1. 365
Platform
  1. Windows
Hello, I need to get the sum & average of a sales rep commission within a given date range.

A column dates, B column sales rep id, C column commission. I would enter the starting date in A1 and the ending date in B1, and the sales rep id in C1. And with Excel 2003

I know this is a easy one for someone, just not me right now.

Thanks.
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Hi, assuming you have a recent version of office try


Book1
ABCD
111/12/201723/12/201725000
2
3
4
5DateSales RepCash Value
610/12/201721000
711/12/201726000
812/12/201726000
918/12/201724000
1019/12/201736000
1120/12/201737000
1221/12/201722000
1321/12/201737000
1422/12/201727000
1523/12/201739000
1625/12/201734000
1726/12/201733000
1827/12/201717000
1927/12/201722000
2028/12/201711000
2129/12/201711000
2229/12/201718000
2330/12/201716000
2430/12/201716000
Sheet3
Cell Formulas
RangeFormula
D1=AVERAGEIFS(C6:C24, A6:A24, ">="&A1, A6:A24, "<="&B1, B6:B24, C1)
 
Upvote 0
Apologies, I missed your version in the title

Try


Book1
ABCD
111/12/201723/12/201725000
2
3
4
5DateSales RepCash Value
610/12/201721000
711/12/201726000
812/12/201726000
918/12/201724000
1019/12/201736000
1120/12/201737000
1221/12/201722000
1321/12/201737000
1422/12/201727000
1523/12/201739000
1625/12/201734000
1726/12/201733000
1827/12/201717000
1927/12/201722000
2028/12/201711000
2129/12/201711000
2229/12/201718000
2330/12/201716000
2430/12/201716000
Sheet3
Cell Formulas
RangeFormula
D1{=AVERAGE(IF((A6:A24>=A1)*(A6:A24<=B1)*(B6:B24=C1), C6:C24))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Back
Top