+ Reply to Thread
Results 1 to 10 of 10

Fixing some bugs

  1. #1
    Registered User
    Join Date
    06-01-2006
    Posts
    36

    Fixing some bugs

    Another user helped me with some of the functions in this file, and the problem is that I have one bug I can't fix. There are four sheets. The first two sheets contain different types of scores.
    The fourth sheet ranks each of the different types of scores on both first sheets. The third sheet reports out on the bottom five scores in each category. If one of the scores is missing, the whole thing gets screwed up.

    I have attached the file and removed a some of the scores to illustrate. If anyone is willing to take a look and recommend a fix, I would be so appreciative.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    06-16-2006
    Location
    Sydney, Australia
    MS-Off Ver
    2013 64bit
    Posts
    1,394
    I can't access the VBA code in the attachements

  3. #3
    Biff
    Guest

    Re: Fixing some bugs

    Hi!

    On the Ranking sheet, cell C2, modify this portion of the formula:

    SUM(IF('Math CST'!E2>'Math CST'!E$2:E$36

    Change to:

    SUM(IF(('Math CST'!E2>'Math CST'!E$2:E$36)*('Math CST'!E$2:E$36<>"")

    Make sure you re-enter as an array!

    Copy across F2

    Biff

    "daddioja" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Another user helped me with some of the functions in this file, and the
    > problem is that I have one bug I can't fix. There are four sheets. The
    > first two sheets contain different types of scores.
    > The fourth sheet ranks each of the different types of scores on both
    > first sheets. The third sheet reports out on the bottom five scores in
    > each category. If one of the scores is missing, the whole thing gets
    > screwed up.
    >
    > I have attached the file and removed a some of the scores to
    > illustrate. If anyone is willing to take a look and recommend a fix, I
    > would be so appreciative.
    >
    >
    > +-------------------------------------------------------------------+
    > |Filename: RSDSS v7.xls.zip |
    > |Download: http://www.excelforum.com/attachment.php?postid=4900 |
    > +-------------------------------------------------------------------+
    >
    > --
    > daddioja
    > ------------------------------------------------------------------------
    > daddioja's Profile:
    > http://www.excelforum.com/member.php...o&userid=35024
    > View this thread: http://www.excelforum.com/showthread...hreadid=552887
    >




  4. #4
    Biff
    Guest

    Re: Fixing some bugs

    > Copy across F2

    Copy across to F2 then down to row 36.

    Biff

    "Biff" <[email protected]> wrote in message
    news:[email protected]...
    > Hi!
    >
    > On the Ranking sheet, cell C2, modify this portion of the formula:
    >
    > SUM(IF('Math CST'!E2>'Math CST'!E$2:E$36
    >
    > Change to:
    >
    > SUM(IF(('Math CST'!E2>'Math CST'!E$2:E$36)*('Math CST'!E$2:E$36<>"")
    >
    > Make sure you re-enter as an array!
    >
    > Copy across F2
    >
    > Biff
    >
    > "daddioja" <[email protected]> wrote in
    > message news:[email protected]...
    >>
    >> Another user helped me with some of the functions in this file, and the
    >> problem is that I have one bug I can't fix. There are four sheets. The
    >> first two sheets contain different types of scores.
    >> The fourth sheet ranks each of the different types of scores on both
    >> first sheets. The third sheet reports out on the bottom five scores in
    >> each category. If one of the scores is missing, the whole thing gets
    >> screwed up.
    >>
    >> I have attached the file and removed a some of the scores to
    >> illustrate. If anyone is willing to take a look and recommend a fix, I
    >> would be so appreciative.
    >>
    >>
    >> +-------------------------------------------------------------------+
    >> |Filename: RSDSS v7.xls.zip |
    >> |Download: http://www.excelforum.com/attachment.php?postid=4900 |
    >> +-------------------------------------------------------------------+
    >>
    >> --
    >> daddioja
    >> ------------------------------------------------------------------------
    >> daddioja's Profile:
    >> http://www.excelforum.com/member.php...o&userid=35024
    >> View this thread:
    >> http://www.excelforum.com/showthread...hreadid=552887
    >>

    >
    >




  5. #5
    Registered User
    Join Date
    06-01-2006
    Posts
    36

    My savior

    Biff, I think I already indicated you are the man--you have proved it once again. I appreciate your help beyond words.

  6. #6
    Biff
    Guest

    Re: Fixing some bugs

    You're welcome. Thanks for the feedback!

    Biff

    "daddioja" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Biff, I think I already indicated you are the man--you have proved it
    > once again. I appreciate your help beyond words.
    >
    >
    > --
    > daddioja
    > ------------------------------------------------------------------------
    > daddioja's Profile:
    > http://www.excelforum.com/member.php...o&userid=35024
    > View this thread: http://www.excelforum.com/showthread...hreadid=552887
    >




  7. #7
    Registered User
    Join Date
    06-01-2006
    Posts
    36

    One other thing...

    I am in the home stretch on this, but I have one more thing (I think). If someone--hopefully Biff--could take a look at the sheet called Math RC2. I am having the same type of problem in a different part of the workbook. I want the sheets to order the data based on the ranking sheet. It works except when there are empty fields. Any advice will be greatly appreciated. Thanks for the help. Jason
    Attached Files Attached Files

  8. #8
    Biff
    Guest

    Re: Fixing some bugs

    In sheet Math RC2, cell A2, change the formula to:

    =IF(ROWS($1:1)<=COUNT(Ranking!C$2:C$36),INDEX('Math
    CST'!$A$2:$A$36,MATCH(LARGE(Ranking!C$2:C$36,ROWS($1:1)),Ranking!C$2:C$36,0)),"")

    Copy down.

    That'll correct the errors in the other columns as well.

    I also see that you need to do the same thing on a few other sheets.

    Biff

    "daddioja" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I am in the home stretch on this, but I have one more thing (I think).
    > If someone--hopefully Biff--could take a look at the sheet called Math
    > RC2. I am having the same type of problem in a different part of the
    > workbook. I want the sheets to order the data based on the ranking
    > sheet. It works except when there are empty fields. Any advice will be
    > greatly appreciated. Thanks for the help. Jason
    >
    >
    > +-------------------------------------------------------------------+
    > |Filename: RSDSS Janice v1.xls.zip |
    > |Download: http://www.excelforum.com/attachment.php?postid=4904 |
    > +-------------------------------------------------------------------+
    >
    > --
    > daddioja
    > ------------------------------------------------------------------------
    > daddioja's Profile:
    > http://www.excelforum.com/member.php...o&userid=35024
    > View this thread: http://www.excelforum.com/showthread...hreadid=552887
    >




  9. #9
    Registered User
    Join Date
    06-01-2006
    Posts
    36

    Thanks Again

    Thanks Biff. Perfecto!

  10. #10
    Biff
    Guest

    Re: Fixing some bugs

    You're welcome!

    Biff

    "daddioja" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks Biff. Perfecto!
    >
    >
    > --
    > daddioja
    > ------------------------------------------------------------------------
    > daddioja's Profile:
    > http://www.excelforum.com/member.php...o&userid=35024
    > View this thread: http://www.excelforum.com/showthread...hreadid=552887
    >




+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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