count and sum based on a date range

dunst15

New Member
Joined
Apr 21, 2016
Messages
7
hi
i would like to do some count and sum calculations based on a date value in a cell on the same row
to be specific the spreadsheet is used to track the production of widgets. each line shows the detail including delivery date and qty of each order. i have a table set up showing the dates of the next 12 fridays. i wish to show the count and sum values of weeks orders due in each of the following 12 weeks.
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
You could probably do this with SUMIFS() and COUNTIFS()
=SUMIFS(sum-range, date range, ">=start date", date range, "<= start range+84)
 
Upvote 0
thanks ford.
unfortunately you are dealing with a beginner here......

not working for me it does not seem to recognize j1 and k1 as cell references

=SUMIFS(J9:J2000,K9:K2000,>=j1,K9:K2000,<=k1)

the value of the start date is in J9
the finish date is in K9
the date range is in col K
the data to count is in col J
 
Upvote 0
thanks ford.
unfortunately you are dealing with a beginner here......

not working for me it does not seem to recognize j1 and k1 as cell references

=SUMIFS(J9:J2000,K9:K2000,>=j1,K9:K2000,<=k1)

the value of the start date is in J9
the finish date is in K9
the data range is in col K
the data to count is in col J
 
Upvote 0
sorry again. Losing my marbles i think


=SUMIFS(J9:J2000,K9:K2000,>=j1,K9:K2000,<=k1)

the value of the start date is in J1
the finish date is in K1
the date range is in col K
the data to count is in col J
 
Upvote 0
thanks ford.
unfortunately you are dealing with a beginner here......

not working for me it does not seem to recognize j1 and k1 as cell references

=SUMIFS(J9:J2000,K9:K2000,>=j1,K9:K2000,<=k1)

the value of the start date is in J9
the finish date is in K9
the data range is in col K
the data to count is in col J

You may have missed my use of ""...
=SUMIFS(sum-range, date range, ">=start date", date range, "<= start range+84")

If you use < or = or > with a cell ref, you need to wrap them in quotes....
(assuming the datE is in K and the datA is in J)
=SUMIFS(J9:J2000, K9:K2000,">="&j1,K9:K2000,"<="&k1)
 
Upvote 0

Forum statistics

Threads
1,214,923
Messages
6,122,286
Members
449,076
Latest member
kenyanscott

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