+ Reply to Thread
Results 1 to 3 of 3

Modify count color function. Help

  1. #1
    Registered User
    Join Date
    05-27-2014
    Posts
    5

    Question Modify count color function. Help

    Hi all:

    I have a custom function that count a range of cells by a specific color that works great, but i need to modify it, so it doesn't count more than one cell in a row. This is the code:

    Please Login or Register  to view this content.
    And this is the formula: "=colorfunction(A362,AP357:AV360,FALSE)"
    were the first cell 'A362' is used as color reference.

    For example, using the formula as reference, we will use cell 'A362' that is RED, to count from 'AP357:AV360', that means we have 7 columns and 4 rows, and we have 'AP357, AT357, AQ358 and AV360' marked with RED. So the new Formula should count only 3, because there are 2 marked cells in a same row. I have been trying this for weeks without results Any help out there will be appreciated. Thanks

  2. #2
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Modify count color function. Help

    A sample of data or workbook you are working with .. is all we need..
    Regards,
    Vikas Gautam
    Excel-buzz.blogspot.com

    Excel is not a matter of Experience, its a matter of Application.

    Say Thanks, Click * Add Reputation

  3. #3
    Registered User
    Join Date
    05-27-2014
    Posts
    5

    Re: Modify count color function. Help

    Thanks for the fast reply, appreciate that, i joust pasted the wrong code.
    This is the Function code
    Please Login or Register  to view this content.
    Thanks

+ 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. cell color after modify
    By flyingmunky25 in forum Excel General
    Replies: 1
    Last Post: 04-09-2008, 04:08 PM
  2. [SOLVED] Can I modify cell attributes (font,color etc.) based on function .
    By TicklePig in forum Excel General
    Replies: 4
    Last Post: 12-04-2005, 12:30 AM
  3. Macro to Modify Pivot Table for Color and Bold
    By Bernie Deitrick in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 07:05 AM
  4. Macro to Modify Pivot Table for Color and Bold
    By Cheryl B. in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  5. [SOLVED] Macro to Modify Pivot Table for Color and Bold
    By Cheryl B. in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-07-2005, 11:05 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