+ Reply to Thread
Results 1 to 2 of 2

Color Index to sum up cells based on background color

  1. #1
    Registered User
    Join Date
    04-30-2012
    Location
    Missouri
    MS-Off Ver
    Excel 2013
    Posts
    59

    Color Index to sum up cells based on background color

    I referenced a thread yesterday for this forum but I could not locate again today after giving it another go.

    I found a thread that used some code to count the number of instances a cell has a certain background color using this formula: =SUMPRODUCT(--(ColorIndex(B5:B37,TRUE)=3))

    Does anyone know how I can take it a step further and sum the numbers in the cells with that background fill?
    Last edited by jph89; 04-16-2013 at 03:24 PM.

  2. #2
    Registered User
    Join Date
    04-30-2012
    Location
    Missouri
    MS-Off Ver
    Excel 2013
    Posts
    59

    Re: Color Index to sum up cells based on background color

    =SUMPRODUCT(--(ColorIndex(B5:B37,TRUE)=3),$B$5:$B$37)


    Thanks anyway.

+ 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