+ Reply to Thread
Results 1 to 6 of 6

sumifs with return background color along the values

  1. #1
    Registered User
    Join Date
    02-24-2021
    Location
    London
    MS-Off Ver
    365
    Posts
    16

    sumifs with return background color along the values

    Hello,

    I came across an interesting VBA code in a website regarding How To Vlookup And Return Background Color Along With The Lookup Value. You can google it to see the website.

    I wonder is it possible to do it with sumifs formula?

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,587

    Re: sumifs with return background color along the values

    I wouldn't have thought so. The lookup is returning one value whereas a SUMIF is summing a range. Which background colour would you expect it to return?
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    02-24-2021
    Location
    London
    MS-Off Ver
    365
    Posts
    16

    Re: sumifs with return background color along the values

    I have a problem with returning a value from three different columns. Each column represents different status. So, I need a way to differentiate which column I get the value from, and a distinct color on each column seems the easiest way for me. Well, it seems impossible right now.

  4. #4
    Forum Expert WideBoyDixon's Avatar
    Join Date
    10-03-2016
    Location
    Sheffield, UK
    MS-Off Ver
    365
    Posts
    2,182

    Re: sumifs with return background color along the values

    Do you want to add up cells that have a particular background colour? If you have column headings with the name of the status, you can do this in a standard formula. Post an example workbook to show what you need and I'm sure someone will help you - your original post and follow-up posts do not describe your requirements.

    WBD
    Office 365 on Windows 11, looking for rep!

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,587

    Re: sumifs with return background color along the values

    Colour isn’t data so you can't use that to differentiate. If you have Status column, why not use that?

  6. #6
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: sumifs with return background color along the values

    Why not attach a sample showing what you want as per they yellow banner

    Your formula that returns the value can possibly be tweaked to be a conditional format to shade the cell. Obviously the value is unique to one column otherwise what colour would you choose it is.

+ 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. Need VLOOKUP to Return Value Along With Background Color
    By LtSplinter in forum Excel Programming / VBA / Macros
    Replies: 27
    Last Post: 10-30-2019, 09:02 AM
  2. Return cell background color value
    By GDM69 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-06-2016, 10:51 AM
  3. Return value based on background color
    By deha79 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-11-2014, 08:49 AM
  4. return result based on background color and value
    By emina002 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-05-2011, 01:09 AM
  5. Return a cell value as well as its background color
    By ysouljah in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 12-06-2010, 09:27 PM
  6. Return a cell value as well as it's background color
    By ysouljah in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 12-02-2010, 12:32 AM
  7. return a value based on cell background color
    By mccardled in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-18-2007, 03:55 AM

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