+ Reply to Thread
Results 1 to 6 of 6

Wrong output for 'F6' students

  1. #1
    Forum Contributor
    Join Date
    12-15-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    672

    Wrong output for 'F6' students

    Dear friends,
    I have remark in column ‘BB’ based on the total in column ‘AN’. In column ‘BD’ there is a rank of the students in the class. The formula is working fine but it’s not giving serial numbers to ‘F6’ remark students. It should be as per their occurrence in the result sheet. I have inserted a expected output in column ‘BE’. The ‘F6’ students should have the numbers from 10 to 13 but now it’s showing 10 for all 4 ‘F6’ students which I don’t want. ‘F’ stands for ‘Fail’. ‘F1’ means fail in 1 subject and so on …

    Please see the attached file and give me a solution.

    Thanking you in anticipation.

    Sincerely,

    Mukesh
    Attached Files Attached Files

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Wrong output for 'F6' students

    In BC8:
    =SUBSTITUTE(SUBSTITUTE(BB8,"F",""),"P all",0)+COUNTIF($AN$8:AN8,AN8)*10^-10
    BD8:
    =RANK(BC8,$BC$8:$BC$20,1)+SUMPRODUCT(--($AN$8:$AN$20>AN8)*--($BC$8:$BC$20=BC8))
    Drag down
    Quang PT

  3. #3
    Forum Contributor
    Join Date
    12-15-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    672

    Re: Wrong output for 'F6' students

    Thank a lot!

  4. #4
    Forum Contributor
    Join Date
    12-15-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    672

    Re: Wrong output for 'F6' students

    Hi bebo021999,
    Excellent! It's working fine but I have one little problem after entering it in my original file. The number of students are not fixed in each class. It varies from class to class. So this formula gives error after the given range in the formula. Is it possible to give not fixed range so that this formula will work all the classes without error ignoring the number of students.

    You have the idea of this formula so I posted it on this a solved thread . Sorry for that.

    Thankinng you in anticipation.

    Regards,

    Mukesh

  5. #5
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Wrong output for 'F6' students

    Can you upload your real file?

  6. #6
    Forum Contributor
    Join Date
    12-15-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    672

    Re: Wrong output for 'F6' students

    Here is a file. Why the color of column 'bc and bd' change to blue? I want it black. In column 'bc' there is some numbers with decimals, why? In column 'bd' there is output 'n/a' which I want '0' for blank student entries. In short if there is '0' output in column total 'an' then the output in column 'bb' should be '0'.

    Thank you.

    Mukesh
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Remove the Absent Students from the List of Failing Students
    By alyaahmed in forum Excel General
    Replies: 2
    Last Post: 03-28-2013, 01:40 PM
  2. Quotation marks in formula giving wrong output
    By pcfreakshow in forum Excel General
    Replies: 1
    Last Post: 10-11-2012, 03:00 PM
  3. Getting false when i should be getting true in (=INT(CELL)=CELL)
    By phbryan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-28-2012, 09:51 AM
  4. Wrong Date Format in output userform
    By ABBOV in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-28-2010, 06:58 AM
  5. Wrong Output after first run
    By vijay2482 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-16-2009, 04:20 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1