Lookup based on check box

David W 123

New Member
Joined
May 14, 2020
Messages
9
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
Hello!

I have a database listing 150+ countries and their geographical habitats (cells A1:H6 as an example).

I would like to have a check box look up (cells A9:B15) and depending on selection choice the output would list all countries that match the criteria (Australia and Ethiopia in the example). Depending on how many boxes are ticked, the number of countries returned could be between 1 and perhaps 100 in number, ideally listed in a nicely formatted list.

Is this even possible?!?

Many thanks in advance for your time / support!

David

Excel.JPG
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
What do you need to do with the list? If its just for reference, add a column next to snow "Meets Criteria" that will return TRUE if all conditions are met. Format as table and then filter by TRUE. Are your checkboxes linked to a cell? For example the city checkbox can be linked to B9, which gives you the comparison for the city column.
 
Upvote 0
1596142338933.png

Uses true or false instead of y and n
conditions met formula
=SUMPRODUCT((checkboxcells=TRUE)*(Table5[@[City]:[Snow]]=TRUE))=COUNTIF(checkboxcells,TRUE)
 
Upvote 0

Forum statistics

Threads
1,214,819
Messages
6,121,729
Members
449,049
Latest member
MiguekHeka

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