Create Different variables for the same underlying component

Video is really succinct i promise!

But basically i want a ‘select all’ checkbox to work. How can I make all the checkboxes addressable in a conditional if/else statement when the bulk-selection box is clicked. thx!!!