How I get sequential Numbers based on user input in another cell?

37 views
Skip to first unread message

MGP KUMAR

unread,
Oct 29, 2013, 3:34:09 PM10/29/13
to losti...@googlegroups.com
Sir,
I have got  Students DataBase.
In the DataBase for each end every Section of a paricular Class I mention the Gender of the Students Like Boy(B) and Girl(G).
Here is I am attach the file.
With warm regards,



Book2.xlsx

Kevin UK

unread,
Jan 19, 2014, 5:16:45 AM1/19/14
to losti...@googlegroups.com
=COUNTIF(D$2:D2,D2)

Dilip Pandey

unread,
Jan 19, 2014, 8:41:09 AM1/19/14
to losti...@googlegroups.com
Hi MGP,

See the attached file where I have applied below formula to achieve desired results.

=IFERROR(INDEX(B$1:B$8,SMALL(IF($D$1:$D$8=$I$1,ROW($D$1:$D$8),""),ROW(B1))),"")

Enter this formula with key combination: ctrl shift enter


Regards,
DILIPandey
Book2.xlsx
Reply all
Reply to author
Forward
0 new messages