Results 1 to 8 of 8

Thread: [RESOLVED] conditional formatting in excel

  1. #1

    Thread Starter
    Fanatic Member merhaba's Avatar
    Join Date
    Sep 2002
    Location
    Istanbul,Bartin-Gallipoli(Gelibolu-Canakkale)
    Posts
    601

    Resolved [RESOLVED] conditional formatting in excel

    hi, I have an excel page as seen in the attachment below.
    What I need is to write a formule so that it can display the number of the formatted cells in each row...I did it manually but the page is not that small..I have 3000 rows on my excel page

    thanks for any help in advance..
    Attached Images Attached Images  

  2. #2
    I don't do your homework! opus's Avatar
    Join Date
    Jun 2000
    Location
    Good Old Europe
    Posts
    3,863

    Re: conditional formatting in excel

    -1- This is a question for the Office Development forum, not for the Math Forum!
    You're welcome to rate this post!
    If your problem is solved, please use the Mark thread as resolved button


    Wait, I'm too old to hurry!

  3. #3
    I don't do your homework! opus's Avatar
    Join Date
    Jun 2000
    Location
    Good Old Europe
    Posts
    3,863

    Re: conditional formatting in excel

    -2- Why don't you use the EXCEL command "countif" (I hoe that's the correct englisch name for the german "ZählenWenn"), as the criteria yo should use the same as in the conditional format.
    You're welcome to rate this post!
    If your problem is solved, please use the Mark thread as resolved button


    Wait, I'm too old to hurry!

  4. #4

    Thread Starter
    Fanatic Member merhaba's Avatar
    Join Date
    Sep 2002
    Location
    Istanbul,Bartin-Gallipoli(Gelibolu-Canakkale)
    Posts
    601

    Arrow Re: conditional formatting in excel

    Hi,
    I know that function but not sure how to write the whole statement..
    =COUNTIF(........????)..if the Selection Range(A1:J25) is coloured in red THEN
    counter=counter+1...
    ....
    so will you please help me for what im tring to achive..?

    Thanks

  5. #5
    I don't do your homework! opus's Avatar
    Join Date
    Jun 2000
    Location
    Good Old Europe
    Posts
    3,863

    Re: conditional formatting in excel

    for cell M1
    Code:
    =COUNTIF("A1:J1";your formatting condition here!)
    copy/paste this code for al cells below!
    You're welcome to rate this post!
    If your problem is solved, please use the Mark thread as resolved button


    Wait, I'm too old to hurry!

  6. #6
    Addicted Member Rassis's Avatar
    Join Date
    Jun 2004
    Location
    Lisbon
    Posts
    248

    Re: conditional formatting in excel

    See the attached Excel spreadsheet. Random numbers between 10 and 100 are input in cells B5 to G28. Cell I5 down to cell I28 yield the number of formatted cells in each row. They all match the same condition, that is, in this particular example, to be between 10 and 20. Of course you can change these values or change the condition.

    Hope it helps but, please, next time use any Excel forum; this for instance: http://www.ozgrid.com/forum/
    Attached Files Attached Files
    Last edited by Rassis; Jul 12th, 2007 at 03:14 PM.
    ...este projecto dos Deuses que os homens teimam em arruinar...

  7. #7

    Thread Starter
    Fanatic Member merhaba's Avatar
    Join Date
    Sep 2002
    Location
    Istanbul,Bartin-Gallipoli(Gelibolu-Canakkale)
    Posts
    601

    Re: conditional formatting in excel

    Thanks Rassis..
    you did a great job...It took me days to solve the problem.. finally I gave up conditional formatting....and did the same task using a
    =SUM(COUNTIF(A1:J1,{8,14,25,37,75....}))

    THANKS

  8. #8

    Thread Starter
    Fanatic Member merhaba's Avatar
    Join Date
    Sep 2002
    Location
    Istanbul,Bartin-Gallipoli(Gelibolu-Canakkale)
    Posts
    601

    Re: conditional formatting in excel

    Hi,
    Is it possible to format the numbers indicated
    in the formule below(8,14,25,37,75...) without using "conditional formatting"
    =SUM(COUNTIF(A1:J1,{8,14,25,37,75....}))

    Thanks.

Posting Permissions

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



Click Here to Expand Forum to Full Width