How do I add the total of multiple columns based on date and the department?

ibruzzi

New Member
Joined
Jun 25, 2021
Messages
26
Office Version
  1. 365
  2. 2013
Platform
  1. Windows
Hello guys,

I'm trying to add the total of multiple columns based on the given date and department. There are 8 tables on one sheet and I need the totals of all 8 (separate) columns on another sheet if the date and departments are a match and I want the totals to be in a table on another sheet. I feel like this should be pretty easy, but it confuses me as I try to come up with the formula.

The top table is where the totals should come. I copied only 3 tables because putting all 8 seemed redundant.

Any help will be much appreciated.

MACHINE OPERATING REPORT-1.XLSM
ABCDEFGHIJ
3HOUSEKEEPINGF&BUNIFORMSPERSONAL CLOTHESSPAFRONT OFFICEGTSEADIVE CENTER
401-Jul
502-Jul
603-Jul
704-Jul
805-Jul
906-Jul
1007-Jul
1108-Jul
1209-Jul
1310-Jul
1411-Jul
1512-Jul
1613-Jul
1714-Jul
1815-Jul
Washers by Dept



Tables where data lies.

MACHINE OPERATING REPORT-1.XLSM
ABCDEF
1DATEDETAILDURATIONWEIGHTTYPEDEPARTMENT
203-07-21BATH TOWEL1:302HK REGULAR LINENHOUSEKEEPING
303-07-21BATH TOWEL1:302HK REGULAR LINENHOUSEKEEPING
403-07-21BATH TOWEL1:302HK REGULAR LINENHOUSEKEEPING
503-07-21BATH TOWEL1:302HK REGULAR LINENHOUSEKEEPING
603-07-21BATH TOWEL1:302HK REGULAR LINENHOUSEKEEPING
703-07-21BATH TOWEL1:302HK REGULAR LINENHOUSEKEEPING
803-07-21BATH TOWEL1:302HK REGULAR LINENHOUSEKEEPING
903-07-21BATH TOWEL1:302HK REGULAR LINENHOUSEKEEPING
1003-07-21BATH TOWEL1:302HK REGULAR LINENHOUSEKEEPING
1103-02-21BATH TOWEL1:302HK REGULAR LINENHOUSEKEEPING
1204-07-21BATH TOWEL1:302HK REGULAR LINENHOUSEKEEPING
1304-07-21BATH TOWEL1:302HK REGULAR LINENHOUSEKEEPING
1404-07-21BATH TOWEL1:302HK REGULAR LINENHOUSEKEEPING
1504-07-21BATH TOWEL1:302HK REGULAR LINENHOUSEKEEPING
1604-07-21BATH TOWEL1:302HK REGULAR LINENHOUSEKEEPING
1704-07-21BATH TOWEL1:302HK REGULAR LINENHOUSEKEEPING
1804-07-21BATH TOWEL1:302HK REGULAR LINENHOUSEKEEPING
Washing

MACHINE OPERATING REPORT-1.XLSM
IJKLMN
1DATEDETAILDURATIONWEIGHTTYPEDEPARTMENT
206-05-21NAPKINS1:303F&B MAINF&B
306-05-21NAPKINS1:303F&B MAINF&B
406-05-21NAPKINS1:303F&B MAINF&B
506-05-21NAPKINS1:303F&B MAINF&B
607-06-22BATH TOWEL1:003GT MAINGUEST TRANSPORT
707-06-22BATH TOWEL1:003GT MAINGUEST TRANSPORT
807-06-22BATH TOWEL1:003GT MAINGUEST TRANSPORT
907-06-22BATH TOWEL1:003GT MAINGUEST TRANSPORT
1007-06-22BATH TOWEL1:003GT MAINGUEST TRANSPORT
1107-06-22BATH TOWEL1:003GT MAINGUEST TRANSPORT
1207-06-22BATH TOWEL1:003GT MAINGUEST TRANSPORT
13
14
15
16
17
18
Washing

MACHINE OPERATING REPORT-1.XLSM
QRSTUV
1DATEDETAILDURATIONWEIGHTTYPEDEPARTMENT
204-07-21NAPKINS1:2055F&B MAINF&B
304-07-21NAPKINS1:2055F&B MAINF&B
404-07-21NAPKINS1:2055F&B MAINF&B
504-07-21NAPKINS1:2055F&B MAINF&B
606-07-21NAPKINS1:2055F&B MAINF&B
706-07-21NAPKINS1:2055F&B MAINF&B
806-07-21NAPKINS1:2055F&B MAINF&B
906-07-21NAPKINS1:2055F&B MAINF&B
1010-07-21NAPKINS1:2055F&B MAINF&B
1110-07-21NAPKINS1:2055F&B MAINF&B
1210-07-21NAPKINS1:2055F&B MAINF&B
1310-07-21NAPKINS1:2055F&B MAINF&B
14
15
16
17
18
Washing
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Hi,

Take a look at this. Didn't include all tables but just 2 to give the xample:

Cell Formulas
RangeFormula
B2:J16B2=SUMIFS(washing!$C$2:$C$18,washing!$F$2:$F$18,B$1,washing!$A$2:$A$18,$A2)+SUMIFS(washing!$K$2:$K$18,washing!$N$2:$N$18,B$1,washing!$I$2:$I$18,$A2)
 
Upvote 0

Forum statistics

Threads
1,214,884
Messages
6,122,082
Members
449,064
Latest member
MattDRT

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