Sum total filtered data only, with multiple criteria

1988craig

New Member
Joined
Aug 17, 2019
Messages
14
Office Version
  1. 365
Platform
  1. Windows
Hello Excel Gurus,

Any assistance with this is greatly appreciated.
I am trying to obtain the total of column L, when the data is filtered by column R.
using the criteria of anything that contains the letter "*E*", in column E, anything "ongoing", or "complete" in column O.

look forward to any assistance thank you!


TEST 1.xlsx
ABCDEFGHIJKLMNOPQRS
1MMF Planned WO'sEEI Planned WO'sEEI Man Hrs Planned worksplanned Man Hrs
2244275700.52134.5281
3Planned Start Date (JDE)Actual Execution DateLOPA Due DateWork Order NumberLEAD CraftOperation CraftFunction LocationWork Order DescriptionEOperation Number #Craft NumberLabour HoursDurationWO TypeStatusNon Completion ReasonActioned Y/NMonthtrade
4Jul-2023Mon 10 Jul1515018MMFMMFReplace Broken Lower Shaft214.07.0OngoingYesJulM
5Jul-2023Mon 10 Jul1531982MMFMMFPSV INSPECTION RETEST12.02.0OngoingYesJulM
6Jul-2023Mon 10 Jul1516676MMFMMFPSV INSPECTION RETEST24.02.0OngoingYesJulM
7Jul-2023Mon 10 Jul1539989MMFMMFPSV INSPECTION RETEST24.02.0OngoingYesJulM
8Jul-2023Mon 10 Jul1538665MMFMMFOil still PSV passing#DIV/0!0.00.0OngoingYesJulM
9Jul-2023Mon 10 Jul1512778MMFMMFPSV INSPECTION RETEST24.02.0OngoingYesJulM
10Jul-2023Mon 10 Jul1524792MMFMMF1Y Maintenance & Oil Change16.06.0CompleteJulM
11Jul-2023Mon 10 Jul1524840EATEAT1W Calibrate Analyser12.02.0CompleteJulE
12Jul-2023Mon 10 Jul1523793EEIEEI2M Sump Electrical Inspection12.02.0CompleteJulE
13Jul-2023Mon 10 JulLOP1524818EEIEEI2W Calibrate pH Transmitter12.02.0CompleteJulE
14Jul-2023Mon 10 JulLOP1525384EEIEEI1M Calibrate Analyser12.02.0CompleteJulE
15Jul-2023Mon 10 Jul1470128EEIEEIRepairTemp reading IOP14.04.0PushoutproductionYesJulE
16Jul-2023Mon 10 JulENV1525404EEIEEI2W Calibrate pH Transmitter12.02.0CompleteJulE
17Jul-2023Mon 10 JulENV1525405EEIEEI2W Calibrate Condy Transmitter12.02.0CompleteJulE
18Jul-2023Mon 10 JulLEN1524099EEIEEI1W Check Analyser11.01.0CompleteJulE
19Jul-2023Mon 10 JulLEN1524100EEIEEI1W Check Analyser11.01.0CompleteJulE
20Jul-2023Mon 10 JulENV1524104EEIEEI1W Check Analyser12.02.0CompleteJulE
21Jul-2023Mon 10 JulLEN1524837EEIEEI1W Check Analyser11.01.0CompleteJulE
22Jul-2023Mon 10 JulLEN1524838EEIEEI1W Check Analyser11.01.0CompleteJulE
23Jul-2023Mon 10 Jul1524112EEIEEI2W Calibrate Analyser12.02.0CompleteJulE
24Jul-2023Mon 10 JulENV1524839EEIEEI1W Check Analyser12.02.0CompleteJulE
25Jul-2023Mon 10 JulLEN1524085EEIEEI1W Check Analyser11.01.0CompleteJulE
26Jul-2023Mon 10 JulLEN1524095EEIEEI1W Check Analyser11.01.0CompleteJulE
27Jul-2023Mon 10 JulENV1524091EEIEEI1W Check Analyser12.02.0CompleteJulE
28Jul-2023Mon 10 Jul1524824EEIEEI1W Check Analyser12.02.0CompleteJulE
29Jul-2023Mon 10 Jul1324419EIFEIFMajor Motor Inspection12.52.5CompleteJulE
30Jul-2023Mon 10 Jul1498140EIFEIFCalibrate Level TX13.03.0CompleteJulE
31Jul-2023Mon 10 Jul1498141EIFEIFCalibrate Level TX13.03.0CompleteJulE
32Jul-2023Mon 10 Jul1518690EIFEIF1Y Calibrate Tx 1161TIT065514.04.0CompleteJulE
33Jul-2023Mon 10 Jul1534555EEIEEIReplace the exisiting analyser18.08.0PushoutEngineeringYesJulE
34Jul-2023Mon 10 Jul5S1524808MTAMTA1W Maintain Stores Area14.04.0CompleteJulM
35Jul-2023Mon 10 Jul1524807MTAMTA3M Oil Sampling C Analysis16.06.0CompleteJulM
36Jul-2023Mon 10 Jul1524090MMFMMF6M Inspect Pump Cooler Fins11.01.0CompleteJulM
37Jul-2023Mon 10 Jul1521119MMFMMF6M Inspect Hose Fitting14.04.0CompleteJulM
Sheet1
Cell Formulas
RangeFormula
F2F2=SUMPRODUCT(SUBTOTAL(3,OFFSET(E4:E23363,ROW(E4:E23363)-MIN(ROW(E4:E23363)),,1)),ISNUMBER(SEARCH("*M*",E4:E23363))+0)
G2G2=SUMPRODUCT(SUBTOTAL(3,OFFSET(E4:E23363,ROW(E4:E23363)-MIN(ROW(E4:E23363)),,1)),ISNUMBER(SEARCH("*E*",E4:E23363))+0)
I2I2=SUMPRODUCT(SUBTOTAL(9,OFFSET(L4:L23363,ROW(L4:L23363)-MIN(ROW(L4:L23363)),,1)),--(E4:E23363="EEI"))
L2L2=SUBTOTAL(9,L3:L23363)
O2O2=COUNTIFS(O4:O23363,"complete")+COUNTIF(O4:O23363,"ongoing")
R4:R37R4=TEXT(A4,"MMM")
S4:S37S4=VLOOKUP(E4,$V$4:$W$46,2,FALSE)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B4:B521Cell Value<TODAY()textYES
B4:B521Dates OccurringtodaytextYES
B4:B521Dates OccurringtomorrowtextYES
B4:B521Cell Value="today"textYES
Cells with Data Validation
CellAllowCriteria
O4:O37ListComplete,Ongoing,Pushout
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Not sure if what I am requesting is possible, if anyone could advise that would be greatly appreciated, thank you.
 
Upvote 0

Forum statistics

Threads
1,215,073
Messages
6,122,970
Members
449,095
Latest member
Mr Hughes

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