+ Reply to Thread
Results 1 to 9 of 9

remain cell counting

  1. #1
    Registered User
    Join Date
    08-09-2009
    Location
    Thailand
    MS-Off Ver
    Excel 2003
    Posts
    23

    remain cell counting

    I want to automatic count the "background color" after my table is " True " criteria condition each cell in the table will change from white color to gray color if not true the background no change than countting.(see pict.)

    10713032.gif

    my formula criteria Format condition already is "TRUE"
    (CF : formula is =COUNTIF(array,cell)>1 ,font color=gray, pattern color =gray.)
    and some of cell aready automatic change the backgroud color to "Gray color".
    accept condition of my sheet.

    becuase if my table not TRUE the my table count cell = 100 cell
    than if each cell is TRUE my table will remain or balance counting between white color with gray color to show total remain how many cell.
    In my picture show for exsample remain = 19 cell from total 100 cell is mean " TRUE " total 81 cell.

    BSG.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: remain cell counting

    just use the same criteria in a formula
    =COUNTIF(A1:D10,">="&0)
    or
    =COUNTIF(A1:D10,">="&1)
    depending on whether or not uou want to count 0
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    08-09-2009
    Location
    Thailand
    MS-Off Ver
    Excel 2003
    Posts
    23

    Re: remain cell counting

    thank for answer
    But can't counting correct on you formula alway show = 90
    becuase my table is Fix show 100 cell and i'm fix the number in table also.

    I use critiria for compair data with other sheet if match number than Condition Format with action hidden number by use
    CF : font & background setting to " Gray color "
    If some cell not match data.The font&background not be change.
    than counting remain cell how many cell not match or How many cell match.

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: remain cell counting

    post a work book with example

  5. #5
    Registered User
    Join Date
    08-09-2009
    Location
    Thailand
    MS-Off Ver
    Excel 2003
    Posts
    23

    Re: remain cell counting

    ok i make sample file for you help.
    sample.xls
    thank you in advance
    Last edited by 9khonnei; 09-24-2009 at 12:36 AM.

  6. #6
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: remain cell counting

    Based on your sample file it appears that grey cells are determined by the fact that the numbers in the cells appear in your 2nd table, in which case isn't the count of grey cells simply the count of numbers in the 2nd table ?

    Please Login or Register  to view this content.
    or if you need to check for duplicity of numbers (ie entering 84 twice in that 2nd table)

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    08-09-2009
    Location
    Thailand
    MS-Off Ver
    Excel 2003
    Posts
    23

    Re: remain cell counting

    Thanks DonKeyOte
    is WORK
    Last edited by 9khonnei; 09-24-2009 at 03:53 AM.

  8. #8
    Registered User
    Join Date
    08-09-2009
    Location
    Thailand
    MS-Off Ver
    Excel 2003
    Posts
    23

    Re: remain cell counting

    Thank you every one
    and "DonkeyOte"



    BSG.
    Last edited by 9khonnei; 09-24-2009 at 04:58 AM.

  9. #9
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: remain cell counting

    This is a different question so please ask in an entirely new thread.

+ 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