Hi, i have a spreadsheet that is composed of multiple individual sheets. i want to make a graph of some of the data but want to include different individual sheets at a time. is there a way to do this?

for example, two individual sheets may read as

a: 1 a: 1
b: 5 b: 2
c: 3 c: 2
d: 5 d: 3

and i only want to use the data from all sheets that have 5 in the 'b' slot. I then want to be able to quickly and easily switch the viewing to all sheets that have 2 in the 'b' slot. is this possible?