Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8798113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T00:00:22+00:00 2026-06-14T00:00:22+00:00

This question is somewhat similar to Google Spreadsheet multiple column filter using OR but

  • 0

This question is somewhat similar to

Google Spreadsheet multiple column filter using OR

but where as he asks for the equivalent of:

select count(*) 
from Table 
where A is not null and (B is not null or C is not null)

I would like to do:

select count(*) 
from Table 
where A is not null OR (B is not null AND C is not null)

In fact what I am trying to do is filter on a date and I have been using

=FILTER(YEAR(Hours!A2:A)=2012,MONTH(Hours!A2:A)>=8)

to give me August going forward.

but now I need to add a limit to a certain day for the month. I would need something like this:

=FILTER(MONTH(Hours!A2:A)=8, ( MONTH(Hours!A2:A)=9 AND DAY(Hours!A2:A)<=13) )

in order to have all of August and then September only up to the 13th.

Is there a Syntax that allows this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T00:00:23+00:00Added an answer on June 14, 2026 at 12:00 am

    to have all of August and then September only up to the 13th.

    One way (and this would be a “general” solution for filtering between two dates):

    =COUNT(FILTER(Hours!A2:A;Hours!A2:A>=DATE(2012;8;1);Hours!A2:A<=DATE(2012;9;13)))

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Rails 3.1, ActiveAdmin 0.3.4. My question is somewhat similar to this one but different
Somewhat similar to this question , except we haven't decided that we're going with
This question has been asked before somewhat, but I hope mine differs. My situation
This is somewhat related to the question posed in this question but I'm trying
Somewhat related to this question , but in the absence of any answer about
This question is somewhat similar to How to combine two branches from two different
My question is somewhat similar to this one. We want to know if there's
My question somewhat overlaps with this and several other similar ones. Those have some
I referred to this somewhat similar question . However here the scenario is different:
This question is somewhat similar to this one Best way to deploy large *.war

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.