+ Reply to Thread
Results 1 to 4 of 4

Need help creating a formula that would help me color rows if they meet a over 50% value.

  1. #1
    Registered User
    Join Date
    03-07-2012
    Location
    Los Angeles, California
    MS-Off Ver
    Excel 2007
    Posts
    1

    Need help creating a formula that would help me color rows if they meet a over 50% value.

    Hello all, I need help with excel.

    I really don't know what I'm doing.

    I need to create a formula that would highlight rows yellow if there is a grade posted in at least 50% columns D-S. Please see attachment for example.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,598

    Re: Need help creating a formula that would help me color rows if they meet a over 50% val

    Select the block of cells (D2:S11) you wish to CF and enter:
    =COUNTA($D2:$S2)/16>=0.5
    Ben Van Johnson

  3. #3
    Forum Contributor Russell Dawson's Avatar
    Join Date
    03-01-2012
    Location
    Yorkshire, England
    MS-Off Ver
    2007
    Posts
    608

    Re: Need help creating a formula that would help me color rows if they meet a over 50% val

    =COUNTA($D$2:$S$11)/16<=0.5

    Make sure you delete the dashes in each empty cell as the Counta function looks for any cell that is not blank.

  4. #4
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Need help creating a formula that would help me color rows if they meet a over 50% val

    If you are always going to have "-" when there is no grade entered then
    Please Login or Register  to view this content.
    If the cells with no entry could be either blank or "-"
    Please Login or Register  to view this content.
    If you choose to leave all cells with no entry blank then
    Please Login or Register  to view this content.
    In all cases COLUMNS($D$1:$S$1)/2 could be replaced with 8 i.e. the number of columns in D:S divided by 2.
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

+ 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