Search Filter or Slicer

ManUBlueJay

Active Member
Joined
Aug 30, 2012
Messages
304
Office Version
  1. 2016
Platform
  1. Windows
I have a fairly large table that I built for a commercial Gardener where he keeps records for all his crops.
I have a Column for Bed Name, where he records which crop was planted in a Bed.
However the crop is the main field and we allow multiple Beds for a given cop.
Example Cabbage got planted in Bed A1,A2 and the Cell would say exatcly that. "A1, A2"
5 months later Beans were planted only in A1

Is there a way eith through filtering the table or create a Pivot report where I can choose Bed A1, and it will show all lines where A1 is used even if it is part of a group as described above.
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
This is the closest I could get, using the text filter Contains feature.
Code is
VBA Code:
Sub Macro1()
    ActiveSheet.ListObjects("DiaryTable").Range.AutoFilter Field:=10, Criteria1 _
        :="=*A01*"
End Sub

I created a pivot table/Slice with a list of my beds.
The Filtered Slicer is in a Range I named "Test"
How would I replace the *A01* in the code above with the value of Range("Test")
 
Upvote 0

Forum statistics

Threads
1,215,312
Messages
6,124,192
Members
449,147
Latest member
sweetkt327

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