+ Reply to Thread
Results 1 to 5 of 5

How to know if a cell have colour? exist a formula?

  1. #1
    Registered User
    Join Date
    02-14-2006
    Posts
    75

    How to know if a cell have colour? exist a formula?

    hi friends i add a image, how to put something on B2: =ifcolour(A2,yellow,1,0) if color = yellow put on B2 a 1 otherwhise a 0.?

    is easy? or need some VB Code?

    i explore the forumla: =CELL but not help me.




    thanks
    Attached Images Attached Images
    Last edited by jamiguel77; 01-30-2013 at 02:56 AM.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: How to know if a cell have colour? exist a formula?

    Confirm us how the colors are added to those cells? Is it done manually or using conditional formatting?


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    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
    53,048

    Re: How to know if a cell have colour? exist a formula?

    you will need VBA for this (and my VBA sucks). There is no formula that I know of that will determine if a cell has color and what that color is
    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

  4. #4
    Registered User
    Join Date
    02-14-2006
    Posts
    75

    Re: How to know if a cell have colour? exist a formula?

    Manually Formated.... i am see this VBA Code but count, not return me a value of 1:

    http://www.ozgrid.com/VBA/sum-count-cells-by-color.htm

    Any advice?

    thanks

  5. #5
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: How to know if a cell have colour? exist a formula?

    Or filter the data using colors and enter the values

+ 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