Sum between date range

BIGGAZ

New Member
Joined
May 16, 2022
Messages
9
Office Version
  1. 365
Platform
  1. Windows
Hi,

I have a spreadsheet of data which includes date and day. I have a summary page that i would like to have the consolidated results of weekly jobs on.

Data page is like below

DATEDAYMACHINENAMESTITCHESRUNSCOMPLETEDTOTAL STITCHES
11/1TUESDAY8 HEADJOE ELECTRICS8000322176,000
11/1TUESDAY8 HEADCAKEBIZ3500648168,000
11/1TUESDAYSINGLE HEADLUSHIOUS4800535168,000
12/1WEDNESDAYSINGLE HEADSCOTT FREE170064881,600

Summary page
DATESINGLE HEAD6 HEAD8 HEAD
STARTENDCOMPLETEDSTITCHESCOMPLETEDSTITCHESCOMPLETEDSTITCHES
9/113/193249,600--70344,000

I need a formula to go in C3 and onwards to will look at the data spreadsheet see if the date falls between the dates listed in A3 and B3 and is "single head" then add those together.

Secondly I need a formula for an average on the same summary page. Combine all the Tuesdays of 1 date on each machine then average that number against other Tuesday on the same machine. So i can predict what we can get through on each given day.

I have been told this can be done with power query but I would prefer a formula as others will be viewing this and teaching them to update PQ each time is an issue its self.
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Hi,

I have figured out part of the question with this formula.

=IF(TODAY()<=B13,"",SUMIFS(DATA!$H$2:$H$2000,DATA!$D$2:$D$2000,"SINGLE HEAD",DATA!$B$2:$B$2000,">="&B13,DATA!$B$2:$B$2000,"<="&C13))

Still need a solution for the averages.
 
Upvote 0

Forum statistics

Threads
1,214,516
Messages
6,119,976
Members
448,934
Latest member
audette89

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