![]() |
#1
|
||||
|
||||
![]()
Hi all. I have a table (B3:C13) where the first named range ($B3:$B13) is "No.", the second named range ($C3:$C13) is "Name". In C2, I enter a number found in named range "No." of the table. I would like Excel to filter the data containing the number that I entered in C2. Is it possible?
It is quite a hassle clicking the dropdown button and selecting the desired number to be filtered. Thank you. I found a vba solution. Excel VBA AutoFilter: 19 Step-by-Step Examples to Filter Data with Macros Last edited by Marcia; 09-05-2024 at 04:04 AM. |
#2
|
||||
|
||||
![]()
Like this ?
Code:
=FILTER(Name,No.=$C$2)
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#3
|
||||
|
||||
![]()
Thank you for the formula. I have spent an hour trying to make this work in a vba code but I keep receiving error messages.
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Turn off auto filter in a table | Marcia | Excel Programming | 2 | 10-16-2020 10:05 PM |
Pivot Table Filter Issue | mikeinli | Excel | 1 | 09-23-2020 01:26 PM |
[VBA] Filter Pivot Table by dates | Levi92 | Excel Programming | 0 | 11-14-2018 07:43 PM |
![]() |
trevorc | Excel Programming | 5 | 11-12-2018 12:41 PM |
Use a cell value as a table filter? (VBA) | s1rueegg | Excel Programming | 0 | 12-20-2016 06:11 AM |