How To Filter Dates in the QUERY Function

Поділитися
Вставка
  • Опубліковано 24 сер 2024
  • Learn how to filter dates in the QUERY function. In this video tutorial, you'll learn how to use the "date" keyword in your WHERE clause filters, so you can use the QUERY function to return data based on dates.
    📚 QUERY Function Resources:
    - www.benlcollin...
    - www.benlcollin...
    🗂 QUERY Function Language Resource:
    - developers.goo...
    🎓 QUERY Function Course - the ultimate QUERY resource:
    - courses.benlco...
    ✉️ Google Sheets Tips Newsletter, my free weekly newsletter:
    - www.benlcollin...
    #googlesheets #googlesheetstutorial #spreadsheet

КОМЕНТАРІ • 8

  • @Scott-sm9nm
    @Scott-sm9nm 7 місяців тому

    That was fantastic. I've used QUERY a fair amount but it seems I have to do trial and error a lot. I used to be an IBM DB2 related developer so was used to a very sophisticated and flexible SQL processor. I really appreciated you putting the querylanguage document in your description!

  • @EamonnCottrell
    @EamonnCottrell 7 місяців тому

    Awesome. Nice walkthrough, Ben. I love query and it is always a mini-puzzle figuring out dates in sheets.

  • @cameron494
    @cameron494 4 місяці тому

    so helpful!!

  • @Scott-sm9nm
    @Scott-sm9nm 7 місяців тому +1

    Aside: a technique I've done in the past because errors referenced like 45 position within the QUERY was to make the QUERY reference the cell right above it and is where I'd store the SQL text. I would put it in a monospace font and then right above that put a ruler (IE. ----+----1----+----2----+....)

    • @benlcollins
      @benlcollins  7 місяців тому +1

      Nice! Thanks for sharing, Scott 👍

  • @ganeshshelkar4333
    @ganeshshelkar4333 7 місяців тому

    Wowww best video

  • @RTRT-jr8jv
    @RTRT-jr8jv 4 місяці тому

    Hi, how can I get C + 30 days using sheets query and C is a text(not date) with YYYY-MM-DD,HH:MM:SS format?