SUM data IF criteria AND within a bounded date range

rodrigje

New Member
Joined
Nov 2, 2005
Messages
9
Hi All,

I am trying to collect data within a week (Summary tab) period for another worksheet (List tab) that I am adding info to on a daily basis. I am trying to sum up for each salesperson (col. E); the total time (Col. J) spent on calls for a week ending date. I have the Summary sheet containing Date (col. A), Day (Col. C), and Weekending date (Col. B) in 3 separate columns but what I need is a cell formula that will give me the sum of time for a given salesperson (set up in a column A for List tab) within the boundary of a 7 day week from the latest Weekending Date available from the List Tab. I hope the details help, I am still very new to nesting thanks for any help provided.

If it is hairy- I can also work with just sum if salesperson- time and with weekending date criteria (without considering within 7 days). :oops:
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
rodrigje said:
Hi All,

I am trying to collect data within a week (Summary tab) period for another worksheet (List tab) that I am adding info to on a daily basis. I am trying to sum up for each salesperson (col. E); the total time (Col. J) spent on calls for a week ending date. I have the Summary sheet containing Date (col. A), Day (Col. C), and Weekending date (Col. B) in 3 separate columns but what I need is a cell formula that will give me the sum of time for a given salesperson (set up in a column A for List tab) within the boundary of a 7 day week from the latest Weekending Date available from the List Tab. I hope the details help, I am still very new to nesting thanks for any help provided.

If it is hairy- I can also work with just sum if salesperson- time and with weekending date criteria (without considering within 7 days). :oops:

=SUMPRODUCT(--(SalesPersonRange=SalesPerson),--(DateRange>=StartDate),--(DateRange<=EndDate),SumRange)

Alternatively: Construct a pivot table where dates are grouped by weeks.
 
Upvote 0
That is too cool, do the ",--" allow me further sub-criteria? Just curious to know. Thanks a bunch!
 
Upvote 0

Forum statistics

Threads
1,215,724
Messages
6,126,485
Members
449,316
Latest member
sravya

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