+ Reply to Thread
Results 1 to 7 of 7

Help require to get perfect output if there is a 'H' remark

  1. #1
    Forum Contributor
    Join Date
    06-29-2014
    Location
    India
    MS-Off Ver
    2010 Windows 10 64 bits
    Posts
    1,269

    Help require to get perfect output if there is a 'H' remark

    Hi friends,
    If there is a ‘H’ remark in column ‘AY’ then I’m getting wrong output in column ‘CI’. All other conditions are working fine except this ‘H’ remark condition. I want to find out in how many subjects the student is fail.

    Any help will be appreciated.

    Thanking you in anticipation.
    Attached Files Attached Files
    Sincerely,

    mso3

  2. #2
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: Help require to get perfect output if there is a 'H' remark

    So is H only going to appear in AY column and not any other columns?

    Your formula is double counting when H is in AY, that is it counts the number of fails below the threshold values you've put in each column then if column AY has a H in it it then counts all those values again. From your expected results it looks like you only want it to count once. Is that right?
    Happy with my advice? Click on the * reputation button below

  3. #3
    Forum Contributor
    Join Date
    06-29-2014
    Location
    India
    MS-Off Ver
    2010 Windows 10 64 bits
    Posts
    1,269

    Re: Help require to get perfect output if there is a 'H' remark

    Hi Crooza,
    Thank you. Now I have amended the formula as below. The 'H' remark is in column 'Ay' only.

    Please see the formula and suggest me a proper amendment in it. It's giving perfect output now.

    Please Login or Register  to view this content.
    Thank you.

  4. #4
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: Help require to get perfect output if there is a 'H' remark

    This seems to be easier though

    Please Login or Register  to view this content.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Help require to get perfect output if there is a 'H' remark

    I think that can be simplified to this...
    ="F"&
    COUNTIF(I8:AM8,"<35")+
    COUNTIF(AS8:BF8,"<18")+
    COUNTIF(AY8,"H")+
    COUNTIF(I8:BF8,"Ab")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  6. #6
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: Help require to get perfect output if there is a 'H' remark

    Ford,

    While his present worksheet has blank columns between the relevant cells in his formula I suspect he's cleaned data out of those 'in between' columns that contains other information relevant to the particular subject. If it is text I can't see it being a problem but I was worried that if there is a number in those columns then that will jigger the result up.

  7. #7
    Forum Contributor
    Join Date
    06-29-2014
    Location
    India
    MS-Off Ver
    2010 Windows 10 64 bits
    Posts
    1,269

    Re: Help require to get perfect output if there is a 'H' remark

    Hi Crooza,
    Excellent! Nice approach with a shorten formula.

    Hi Ford,
    Thank you for a simplest form of formula but there is a data in between the hidden cells. So the formula will give a wrong output.

    No matter. Thank you to both of you for suggesting me a amendment in the formula to get the perfect output.

+ 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] Help require to get image in output
    By mso3 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-23-2014, 06:46 AM
  2. Replies: 17
    Last Post: 10-14-2014, 08:21 AM
  3. Help require to modify the remark formula
    By mso3 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-21-2014, 11:49 PM
  4. Require correct format of output
    By mukeshbaviskar in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-12-2014, 08:49 AM
  5. Is VBA possible on this output or does this require just a SUMIF formula?
    By geng in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-31-2010, 03:24 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