I need a help, how I can Sum Cells based on Background Color?
Screenshot 2020-01-21 at 18.15.23.png
I need different sum orange and blue (and only A ja C columns).
Like:
A orange 230,84
A blue 34,16
I need a help, how I can Sum Cells based on Background Color?
Screenshot 2020-01-21 at 18.15.23.png
I need different sum orange and blue (and only A ja C columns).
Like:
A orange 230,84
A blue 34,16
Hi,
You are very luck I have the function with me
Please Login or Register to view this content.
Last edited by Sunny18pc; 01-21-2020 at 01:18 PM.
*If you wish you click on *,a way to say ThankYou
I believe that these colours are hard coded not from Conditional Formatting?
If from CF Sunny's macro won't working and you are not be able to do it.
Happy with my answer * Add Reputation.
If You are happy with solution, please use Thread tools and mark thread as SOLVED.
Thank You, but how I can use this function?
See attached
Please Login or Register to view this content.
Administrative Note:
Welcome to the forum.
We would very much like to help you with your query, however you need to include code tags around your code.
Please take a moment to add the tags. Posting code between tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.
Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here
Last edited by FlameRetired; 01-21-2020 at 12:54 PM.
Dave
Hi real20,
Open a new file and copy the code in VB and same the file as *.xlam
Add addin under option menu >Add Addins and then you can use this formula in any sheet of excel.
@FlameRetired - Missed to place # So sorry
Almost works, but if there numbers like 58,22 then the number is only 58 and increase decimal donīt change nothing.
Change declared CountCcolor to double rather than Long
Sorry, I donīt understand.
If you are using sunnys function change to
Please Login or Register to view this content.
Iīm using nigelog function. What I have to change there?
Please Login or Register to view this content.
Thank You!
Now it works.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks