+ Reply to Thread
Results 1 to 8 of 8

sum values that are coloured in red

  1. #1
    Forum Contributor
    Join Date
    08-10-2006
    Posts
    723

    sum values that are coloured in red

    hi,

    i am sure this will be a silly question but
    is it possible to sum all the values within a range that are in red.

    thanks steve

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097

    Thumbs up

    Quote Originally Posted by stevekirk
    hi,

    i am sure this will be a silly question but
    is it possible to sum all the values within a range that are in red.

    thanks steve
    hi stevekirk,

    Take a look at this link, it may help you

    http://www.xldynamic.com/source/xld.ColourCounter.html

    oldchippy

  3. #3
    Forum Contributor
    Join Date
    08-10-2006
    Posts
    723

    Sum Values That Are Coloured Red

    Hi,

    thanks for link when i put the formular in i get the #name? error

    any idea why

    steve

  4. #4
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Quote Originally Posted by stevekirk
    Hi,

    thanks for link when i put the formular in i get the #name? error

    any idea why

    steve
    Hi steve,

    It sounds like you need to paste the code in.
    Copy the sample of code given on the link (towards the bottom of the page)and paste it into a module.
    Do this by right clicking on the small xl icon next to file at the top left hand corner, select view code.
    This will open the Visual Basic window, click Insert > Module
    then click on Module1 in the project window
    then click the large window on the right and paste the code in here
    then click the X (close) top right hand corner.
    Now with the code in place the formula should work
    Select A1 and colour the cell, then in A2 =ColorIndex(A1)

    Ok now?

  5. #5
    Forum Contributor
    Join Date
    08-10-2006
    Posts
    723

    Sum Values That Are Coloured Red

    HI,

    i am still getting the #name? error please see sample file
    thanks steve
    Attached Files Attached Files

  6. #6
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    See attached
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    08-10-2006
    Posts
    723

    Sum Values That Are Coloured Red

    HI,

    Thank you very much for your help

    why did mine not work?

    steve

  8. #8
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097

    Thumbs up

    Quote Originally Posted by stevekirk
    HI,

    Thank you very much for your help

    why did mine not work?

    steve
    Hi steve,

    You put it in the wrong place, open the one I returned and you will see there is a Module, that is where the code is.

    See attached link, this will explain more

    http://www.mcgimpsey.com/excel/modules.html

    oldchippy

+ 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