To filter a list by drop down condition by using data validation list

srehman

Board Regular
Joined
Jan 4, 2020
Messages
210
Office Version
  1. 2016
Platform
  1. Windows
Drop Down List Based on Conditions ( By data validation list of conditions)
Condition 1means between 1 to 100>=1,<=100
Condition 2means between -1 to -100<=-1,>=100
aim to filter below list by above drop down condition
10
-20
30
40
-76
-18
-9
200
99
-150
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
You can filter using Data Filter \ Number filter \ Custom Filter

NumberFilter1.jpg


NumberFilter2.jpg
 
Upvote 0
Please read the conditions again you are on basic level approach.
 
Upvote 0
If you want to use data validation in one column based on a condition in another column

B2.jpg


C2.jpg



Data validation in B2 copied down
with source formula: ::: =IF(A2="A",POSITIVE,IF(A2="B",NEGATIVE,"XXX"))


DataValidationInB2.jpg


POSITIVE and NEGATIVE are 2 named ranges containing a LIST of valid values (1 to 100 and -1 to -100)

2 named ranges.jpg
 
Upvote 0
You got it , i will try your approach & will come back with results.
Thanks for your time and support much appreciated

Thanks
Take care
 
Upvote 0

Forum statistics

Threads
1,215,641
Messages
6,125,982
Members
449,276
Latest member
surendra75

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