• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

need help to search on cell value from below row

chiragdesai884

New Member
I am not able to find this help me to do it.

what I need to do is in row 2 what I type below row should be filtered.
check sample file I have attached. In row c2 and d2 I will write any number and below row should be filtered. how can I do it with VBA or any other way?
 

Attachments

  • Sample.xlsx
    20.1 KB · Views: 7

Why creating a superfluous code needing a keyboard input
when just with an Excel inner feature you just have to click
on the filter arrow and select an item ?!
Why creating a code for what already exists ? …
 
Does this help?
See attached.
Yes, Sir, your excel solve my problem and this is same I was looking for it. Thank you so much for the solution, but another problem comes because I have given sample file and now I need to do it in my original file so how can I do it? can you give me instruction of it? also, I notice that your extension is .xlsb and my original extension is .xlsm is it possible in my extension?
 
Yes whatever in .xlsb or .xlsm …

Can be done also with your original attachment like it is
but instead of using cells C2:D2
- as too easy with few codelines at beginner level for a futile need -
this can be directly done with headers row in C1:D1
like for the normal use of the Excel feature !
 
agree I am trying to do the same thing but getting an error. can you help me to solve it out?
 

Attachments

  • Error.png
    Error.png
    146.1 KB · Views: 3
Last edited by a moderator:
Have a look at my example formulas -> defined name ranges you will see a table named numfilter, my quess is that you don't have that in your original file.
 
I have used the same but error still occur. kindly check attached original file.
 

Attachments

  • Color Ston.xlsm
    105.4 KB · Views: 1
Last edited by a moderator:
Back
Top