+ Reply to Thread
Results 1 to 2 of 2

Sum if meets 2 conditions - value in another cell and cell colour

  1. #1
    Registered User
    Join Date
    04-05-2019
    Location
    Brisbane, Australia
    MS-Off Ver
    Office 365
    Posts
    1

    Sum if meets 2 conditions - value in another cell and cell colour

    Trying to sum W1:W10 in cell W11. I only want to include numbers which have a corresponding value in D1:D10 AND the W1:W10 cell is highlighted red.
    In W11 I have =SUMIFS(W1:W10,D1:D10,"<>",W1:W10,"red")
    but it's not working
    What's going wrong?
    Thanks

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Sum if meets 2 conditions - value in another cell and cell colour

    you can't use cell background colors in a formula, excel doesn't recognize them unless you use VBA.
    If you used conditional formatting to color the cells you can likely adapt whatever rules you have in place to color them red in your sumifs formula.
    Hope that helps.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

+ 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. Replies: 2
    Last Post: 11-28-2014, 03:43 PM
  2. Replies: 8
    Last Post: 06-29-2014, 10:01 AM
  3. [SOLVED] Colour a cell based on 2 conditions
    By gjjh25 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-14-2012, 08:02 AM
  4. Changing colour of a cell based on several conditions
    By jennapayne in forum Excel General
    Replies: 2
    Last Post: 03-31-2011, 09:03 AM
  5. Changing cell colour on certain conditions
    By Keith24249 in forum Excel General
    Replies: 13
    Last Post: 10-29-2009, 09:21 AM
  6. [SOLVED] Using Conditions - cell colour and cell containign text
    By Hamish in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-08-2006, 07:00 AM
  7. Help for a macro change cell colour under many conditions
    By dpjim in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-12-2005, 08: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