Hi!
What you are looking for is called “Facet Filters.” This post will get you started, but an alternative method (which I like better because the filters are simpler) is here. Either version has a lengthy explanation in the attached file.
Note that since I am no longer able to update the first post, be sure to download the latest sample file, located here.
Please let me know if you run into any snags.