Using Advanced Filter, Filter for Cells that Only include "x"

Kurtin

New Member
Joined
Jan 20, 2021
Messages
27
Office Version
  1. 365
Platform
  1. Windows
Hey all,

I'm using an advanced filter to filter through a list based off of a certain cell, but its filtering the list for things that include whatever is in that certain cell. I need it to filter for rows that ONLY include the certain cell criteria in a certain column.

this is the sheet I am filtering
and i'm filtering by "1" the column I am filtering is "Group #"

Test Doc Good.xlsm
ABCDEF
1Group ##1#2Pair #Length ftLaps
21MarkLukeP00115003
313MikePhilipP00225005
412CatherineLaceyP00310002
511BillLouiseP00410002
621MaryKateP00515003
715LawrenceCarlP00615003
82BlakeGwenP00710002
93HaroldMoeP00815003
104SamAdamP00925005
115MattLinkP01020004
126HaileyIsabelleP01115003
1310PeteKenP01210002
1416JeffRyanP01315003
1517BrentSteveP01410002
1618TrevorShaneP01515003
REF


This is how the filter is coming out, its including all of the rows that include 1, but I need it to filter for the cells that ONLY contain 1.

Test Doc Good.xlsm
ABCDEF
1Group ##1#2Pair #Length ftLaps
21MarkLukeP00115003
313MikePhilipP00225005
412CatherineLaceyP00310002
511BillLouiseP00410002
621MaryKateP00515003
715LawrenceCarlP00615003
810PeteKenP01210002
916JeffRyanP01315003
1017BrentSteveP01410002
1118TrevorShaneP01515003
Filter
Cell Formulas
RangeFormula
A2:F11A2=FILTER(REF!A2:F16,ISNUMBER(SEARCH(FIN!$C$1,REF!A2:A16)),"")
Dynamic array formulas.



I have watched some youtube videos, and I tried using the LEFT function with LEN but that was just giving me the #CALC! error.

Test Doc Good.xlsm
ABCDEF
1Group ##1#2Pair #Length ftLaps
2#CALC!
Filter
Cell Formulas
RangeFormula
A2A2=FILTER(REF!A2:F16,LEFT(REF!A2:A16,LEN(FIN!C1))=(FIN!C1))
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Forum statistics

Threads
1,224,823
Messages
6,181,183
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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