Not match criteria: Will using * or + in formulas slow my workbook?

danhendo888

Board Regular
Joined
Jul 15, 2019
Messages
167
Office Version
  1. 365
Platform
  1. Windows
For example, I am extracting Codes from column B that are not WHEEL and TYRE, where:
- Column A must be = TESLA
- Column C must be = R

So the output should be = OIL, GAS

For this desired output, is it possible to not use direct operators or is this an example where it would be necessary/unavoidable?

Book1
ABCDEFGH
1Data:My SheetOutput
2ModelCodeRevenue or ExpenseExclude These -->WHEEL
3TeslaWHEELRTYRE
4FordOILE
5FordTYREEOutput using *TeslaOIL
6TeslaTYRERGAS
7TeslaDEALERE
8TeslaOILR
9TeslaGASR
10Output using +TeslaOIL
11GAS
Sheet1
Cell Formulas
RangeFormula
H5:H6H5=FILTER(FILTER(B3:B9,(A3:A9=G5)*(C3:C9="R")),ISNA(XMATCH(FILTER(B3:B9,(A3:A9=G5)*(C3:C9="R")),G2:G3)))
H10:H11H10=FILTER(FILTER(B3:B9,(A3:A9=G5)+(C3:C9="R")=2),ISNA(XMATCH(FILTER(B3:B9,(A3:A9=G5)+(C3:C9="R")=2),G2:G3)))
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"
I can't see that you will be able to avoid it given the scenario, but you can lessen the impact by not Filtering the whole range multiple times by using Let.
Multiplication:
Excel Formula:
=LET(RevMod,FILTER(B3:B9,(A3:A9=G5)*(C3:C9="R")),
             FILTER(RevMod,ISNA(XMATCH(RevMod,G2:G3))))

Addition:
Excel Formula:
=LET(RevMod,FILTER(B3:B9,(A3:A9=G5)+(C3:C9="R")=2),
             FILTER(RevMod,ISNA(XMATCH(RevMod,G2:G3))))
 
Upvote 1
Another option
Excel Formula:
=FILTER(B3:B9,(A3:A9=G5)*(C3:C9="R")*(ISNA(XMATCH(B3:B9,G2:G3))))
 
Upvote 1
Solution

Forum statistics

Threads
1,224,847
Messages
6,181,332
Members
453,032
Latest member
Pauh

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