Using filter function to filter based on more than one criteria

dommeehan

New Member
Joined
Aug 10, 2020
Messages
15
Office Version
  1. 365
Platform
  1. Windows
Hi,

I've been using the filter function to filter values from an array I have (as can be seen in cells L3, N3, and P3). I now want to use the filter function in cell R3 to filter active projects, that is, those projects which satisfy the criteria of being both "Closed Won" and that have start and end dates that encapsulate today's date (using the today() function). Is there a way to do this? Any help would be much appreciated!

kanban.xlsx
ABCDEFGHIJKLMNOPQRS
1Opportunity OwnerCompanyFiscal PeriodStatusLead SourceIndustryFeeAnticipated Start DateAnticipated End DateSuspectQualifiedClosed WonActive
2Steve BaggsGreen CompanyQ1-2021Closed WonGLGEntertainment£20,00007/10/202031/11/2020CompanyFeeCompanyFeeCompanyFeeCompanyFee
3Gem PowellBlue CompanyQ4-2020SuspectGLGFinance£100,00003/05/202008/08/2020Blue Company100000Red Company57000Green Company20000
4Ricky BlizzardRed CompanyQ3-2020QualifiedECBioTech£57,00019/04/202019/05/2020Purple Company55000Silver Company29000Yellow Company88000
5Woody WickYellow CompanyQ3-2020Closed WonOtherRetail£88,00004/05/202029/09/2020Pink Company40000Black Company37000
6Gem PowellWhite CompanyQ3-2020Closed LostCCManufacturing£67,00020/04/202007/06/2020Gold Company77000Brown Company91000
7David HughesBlack CompanyQ4-2020Closed WonECUtilities£37,00006/06/202030/07/2020Grey Company48000
8Steve BaggsBrown CompanyQ4-2020Closed WonOtherBanking£91,00020/05/202028/09/2020
9Steve BaggsPurple CompanyQ3-2020SuspectOtherFinance£55,00017/08/202017/12/2020
10Woody WickPink CompanyQ3-2020SuspectCCRetail£40,00011/11/202009/12/2020
11Gem PowellOrange CompanyQ2-2020Closed LostGLGManufacturing£22,00005/01/202030/02/2020
12Ricky BlizzardSilver CompanyQ1-2020QualifiedECUtilities£29,00002/02/202017/04/2020
13Steve BaggsGold CompanyQ4-2020SuspectOtherEntertainment£77,00020/09/202010/12/2020
14Woody WickGrey CompanyQ2-2020Closed WonOtherFinance£48,00017/11/201931/12/2019
Sheet3
Cell Formulas
RangeFormula
L3:M6L3=FILTER(FILTER(B2:G14,D2:D14=L1),COUNTIF(L2:M2,B1:G1))
N3:O4N3=FILTER(FILTER(B2:G14,D2:D14=N1),COUNTIF(N2:O2,B1:G1))
P3:Q7P3=FILTER(FILTER(B2:G14,D2:D14=P1),COUNTIF(P2:Q2,B1:G1))
Dynamic array formulas.
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
How about
Excel Formula:
=FILTER(FILTER(B2:G14,(D2:D14=P1)*(H2:H14<=TODAY())*(I2:I14>=TODAY())),COUNTIF(R2:S2,B1:G1))
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,170
Members
453,021
Latest member
Justyna P

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