Complex array formula

Spraggs

Well-known Member
Joined
Jan 19, 2007
Messages
704
This is way out of my league.....
In the table shown the formula below counts the number of times "QSE" or "CHO" appear in column F when 1042 appears in column D. What I want to do is modify this formula so it counts as above but only the data in column B is within the last 7 days.(TODAY-7).
I then want another formula that counts as above but only the date in column B is older than 7 days.
Array formula
=SUMPRODUCT(--ISNUMBER(MATCH(MID($F$2:$F$1000,6,3),{"QSE","CHO"},0)),--($D$2:$D$1000="1042")).
TEST SHEET.xls
ABCDEFGH
1Created byCreated onNotificationPlanning plantDescriptionFunctLocationSystem statusRoom
2UKFAIRCLKE02/07/2007108121081001unit on line U/S spare unit faulty1001-MIN-MAN-M11-MXP111NOPRLINE 11
3UKMCCAMBR05/07/2007108192431042faulty av 3251042-QSJ-MAN-L02-EC206JOSNOHANDLGJ
4UKPEARMATB10/07/2007108243571001(service) steam leak, T/P1001-MIN-MAN-FON-CNN103NOPRFONDANT
5UKJLEWIS16/07/2007108337481042Toffo sterilant pump1042-TFO-SRV-L01-PZ030OSNOGENKFACT
6UKNAWROCTO19/07/2007108391041042air con leaking water1042-GSV-HEN-CLG-AC094NOPRGENSITE
7UKBROWNRPA20/07/2007108404511042bulbs need replacing on panel1042-QSH-PCK-27F-EC042HOSNOSMALLTIN
8UKPEARMATB25/07/2007108464731001(mech) Drive shaft. T/P1001-MIN-PKW-OUT-TGW146NOPRF/ROOM
9UKELLISDE01/08/2007108563531042lowerator interlock on guard1042-QSH-PCK-26E-EC052HNOPRBULKQSH
10UKFORSTEMA06/08/2007108630251042worn exit belt on lid unscrambler1042-QSH-PCK-27F-EC085HNOPRSMALLTIN
11UKMYERSNI07/08/2007108636371042MB009 Shows 9kgs when vessel is empty1042-QSJ-MAN-L01-MB009OSNOPR26
12UKWISNIERA07/08/2007108637391042Worn drive belts needs replacing1042-QSH-PCK-26E-EC010HNOPRBULKQSH
13UKBETTERIA29/08/2007108909231001(Mech) Conveyor bearing collapsed ?1001-MIN-PKW-OUT-TGW146NOPRF/ROOM
14UKMYERSNI05/09/2007108996841042unable to caustic Clean MB0091042-QSJ-MAN-L01-MB009OSNOPR26
15UKSMITHGA106/09/2007109019561042Place Text Here1042-QSJ-MAN-12A-CS061OSNORNDMFR
16UKWOODMI109/09/2007109047021042Pneumatic tubing trailing on floor1042-QSJ-MAN-13D-EN085NOPROVALMFR
17UKMYERSNI12/09/2007109099921042HK133 Shows 12kgs when vessel is empty1042-QSJ-MAN-13A-HK133OSNOOVALMFR
Job List


Thanks Jase
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Forum statistics

Threads
1,214,589
Messages
6,120,416
Members
448,960
Latest member
AKSMITH

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