Following is the table in Excel
Sr. No English Hindi Physics Maths
1 1 0 1 0
2 0 1 0 1
3 1 1 1 1
4 0 1 0 1
5 0 0 0 1
6 1 1 1 0
7 0 0 1 1
8 1 0 0 0
9 0 0 1 1
10 1 1 1 1
I want to display all Sr. No where Subject=1. For example if Subject=Physics then display Sr No. 1,3,6,7,9,10