Git Product home page Git Product logo

Comments (7)

clupasq avatar clupasq commented on August 22, 2024

@delize Try removing the quotes around the last parameter:

=sumWhereBackgroundColorIs("#ff0000","B3:B500", "", B3:B500)

If it still doesn't work, perhaps you can share the document so I can take a look.

from googleapps_sumbycolor.

delize avatar delize commented on August 22, 2024

I get the following results (same issue, except now it displays #NUM) with the above string.

I unfortunately can't share this specific spreadsheet, but I can try to share a different spreadsheet where I get the same result. I have displayed pictures of the initial spreadsheet below. I know in the last picture it says #00ff00, as I was testing a green background instead of red for that "getbackgroundcolor"
2015-10-02_04-36-53
2015-10-02_04-37-10
2015-10-02_04-35-21
2015-10-02_04-35-55

Here is a spreadsheet where I receive the same issue.
https://docs.google.com/spreadsheets/d/1suirxEiZH9o7bkN1Pd9sVM5v0P-00vapVv6RrIoeUhQ/edit?usp=sharing

from googleapps_sumbycolor.

clupasq avatar clupasq commented on August 22, 2024

For me, the doc you shared seems to work fine:

image

from googleapps_sumbycolor.

delize avatar delize commented on August 22, 2024

Unless I am mistaken, shouldn't the count be two? As the background color in cells B4 and C4 do not meet #ff0000 requirement?

from googleapps_sumbycolor.

clupasq avatar clupasq commented on August 22, 2024

It's not a count; it's a sum. And if the sum encounters cells with non-numeric values it assumes them to be 0.

from googleapps_sumbycolor.

delize avatar delize commented on August 22, 2024

Yeah, I just realized that after re-reading the description again. Im mistaken. Thanks for your instant response time though. My bad.

from googleapps_sumbycolor.

clupasq avatar clupasq commented on August 22, 2024

Awesome! Glad this is solved.

from googleapps_sumbycolor.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.