Single filtered list from checkbox option grid

AngleseyExcel

New Member
Joined
Feb 4, 2021
Messages
36
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
I'm trying to think of the formula to create 1 single filtered list, showing which checkbox is True from the grid below ? Say the filtered list is in column H ?

1696513906074.png
 

Attachments

  • excel project.jpg
    excel project.jpg
    74.6 KB · Views: 4

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
This may do until a more elegant solution comes along. I've assumed that you link each checkbox with the cell in which it sits. I changed the font in those cells to white to not show the TRUE/FALSE values. The XL2BB doesn't show the checkboxes unfortunately, hence the image, but it does show the formula. You'll need to adjust the ranges to suit.

Book1
BCDEFGH
3
4FALSEL1L18TRUEL35L2
5TRUEL2L19L36L4
6L3L20L37L25
7TRUEL4L21L38L35
8L5L22L39RU15
9L6L23L40L44
10L7L24TRUERU15
11L8TRUEL25L42
12L9L26L43
13L10L27TRUEL44
14L11L28L45
15L12L29L46
16
Sheet1
Cell Formulas
RangeFormula
H4:H9H4=LET(v,VSTACK($C$4:$C$15,$E$4:$E$15,$G$4:$G$15),FILTER(VSTACK($C$4:$C$15,$E$4:$E$15,$G$4:$G$15),VSTACK($B$4:$B$15,$D$4:$D$15,$F$4:$F$15)=TRUE,""))
Dynamic array formulas.


Picture1.png
 
Upvote 0
Here's a simpler formula, with your actual required ranges added.

checkboxes.xlsx
BCDEFGH
3
4FALSEL1L18TRUEL35L2
5TRUEL2L19L36L4
6L3L20TRUEL37L25
7TRUEL4L21L38L35
8L5L22L39L37
9L6L23L40L44
10L7L24FALSERU15
11L8TRUEL25L42
12L9L26L43
13L10L27TRUEL44
14L11L28L45
15L12L29FALSEL46
16
Sheet1
Cell Formulas
RangeFormula
H4:H9H4=FILTER(VSTACK($C$4:$C$18,$E$4:$E$18,$G$4:$G$18),VSTACK($B$4:$B$18,$D$4:$D$18,$F$4:$F$18)=TRUE,"")
Dynamic array formulas.


FALSE​
L1L18
TRUE​
L35L2
TRUE​
L2L19L36L4
L3L20
TRUE​
L37L25
TRUE​
L4L21L38L35
L5L22L39L37
L6L23L40L44
L7L24
FALSE​
RU15
L8
TRUE​
L25L42
L9L26L43
L10L27
TRUE​
L44
L11L28L45
L12L29
FALSE​
L46
 
Upvote 0

Forum statistics

Threads
1,216,028
Messages
6,128,399
Members
449,447
Latest member
M V Arun

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