Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-05-2024, 12:28 AM
Marcia's Avatar
Marcia Marcia is offline Filter a row according to a specified value outside of the table Windows 11 Filter a row according to a specified value outside of the table Office 2021
Expert
Filter a row according to a specified value outside of the table
 
Join Date: May 2018
Location: Philippines
Posts: 553
Marcia has a spectacular aura aboutMarcia has a spectacular aura aboutMarcia has a spectacular aura about
Default Filter a row according to a specified value outside of the table

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
Attached Files
File Type: xlsx Dependent Filter.xlsx (9.9 KB, 3 views)

Last edited by Marcia; 09-05-2024 at 04:04 AM.
Reply With Quote
  #2  
Old 09-05-2024, 11:24 PM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Filter a row according to a specified value outside of the table Windows 10 Filter a row according to a specified value outside of the table Office 2021
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,943
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

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
Reply With Quote
  #3  
Old 09-06-2024, 02:23 AM
Marcia's Avatar
Marcia Marcia is offline Filter a row according to a specified value outside of the table Windows 11 Filter a row according to a specified value outside of the table Office 2021
Expert
Filter a row according to a specified value outside of the table
 
Join Date: May 2018
Location: Philippines
Posts: 553
Marcia has a spectacular aura aboutMarcia has a spectacular aura aboutMarcia has a spectacular aura about
Default

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.
Reply With Quote
Reply



Similar Threads
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
Filter a row according to a specified value outside of the table filter using a table list with VBA 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

Other Forums: Access Forums

All times are GMT -7. The time now is 11:20 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft