Google Sheets QUERY Date Range using SQL Format Dates Tutorial - Part 4

Поділитися
Вставка
  • Опубліковано 11 жов 2024
  • Video tutorial series about QUERY function in Google Sheets.
    In this tutorial we'll cover how to use QUERY function in Google Sheets to pull filtered results within a specific date range using SQL date formatting and the date keyword.
    Google Sheets
    www.google.com...
    Website:
    www.chicagocom...

КОМЕНТАРІ • 72

  • @travelingtrex4897
    @travelingtrex4897 4 роки тому +2

    You just saved me at least 2 hours on manipulating date in the query function. You saved me from banging my head against the wall. Thank you very much!

  • @rotrose7531
    @rotrose7531 5 років тому +1

    Big thanks! These query tutorials makes Google sheet work like exactly database. Very revolutionary. Thank you.

  • @thomasnolleau7735
    @thomasnolleau7735 2 роки тому +1

    Your Google sheets videos are extremely helpful and very well explained, keep it up, I'm a big fan 👍

  • @jobhunt4961
    @jobhunt4961 6 місяців тому

    This is incredible! You sir deserve many thanks!

  • @dharmendrayadav-cn2fi
    @dharmendrayadav-cn2fi Рік тому

    Thanks you so much. Love from India for your lovely tutorial.

  • @rawihcito
    @rawihcito Рік тому

    Excelente ejemplo, lo necesitaba con urgencia, gracias!

  • @jenniferwright1839
    @jenniferwright1839 6 років тому +1

    Thank you, I knew you should be able to do this but it was driving me nuts trying to figure out how to reference a start and end date!

  • @AnuNujareon
    @AnuNujareon Рік тому

    Thank you so much!!! This is great I'm your new fan!

  • @dannfish
    @dannfish 4 роки тому +1

    Great content. Thank you for posting this info.

  • @Rbits
    @Rbits 6 років тому

    Thank you indeed for the noble work you continue to do. God bless you

  • @stephenkirk5683
    @stephenkirk5683 7 років тому

    Useful up to the point where you assumed I could change the format of the date field. Close, but not close enough.

  • @strangeDog
    @strangeDog Рік тому

    感謝分享👍👍

  • @AndrewMalcolmson
    @AndrewMalcolmson 6 років тому

    Very clear explanation, thanks.

  • @dadtrepreneur7550
    @dadtrepreneur7550 Рік тому

    Great tutorial videos. I curious to konw, does the Select funtion have a limit of how many colums we can add? I'm trying to to do it with 50 columns and it's giving me a #value error message. Need help.

  • @SuperRhino85
    @SuperRhino85 5 років тому

    Exactly what I needed, gracias.

  • @rajkamalplywoodindpvtltd2185
    @rajkamalplywoodindpvtltd2185 5 років тому

    Wow
    Just Wow

  • @dwdanceStudio
    @dwdanceStudio 4 роки тому +1

    THIS WORKS FOR ME, T H A N K Y O U - Hans

  • @rashijain9086
    @rashijain9086 Місяць тому

    from where can i get this data sheet for practice so that i can also practice this side by side ????

  • @mangalkayande8540
    @mangalkayande8540 2 роки тому

    I was waiting to know how to share my sheet so can help me. Please reply

  • @julioauy2194
    @julioauy2194 4 роки тому +1

    Wow, I spent quite some time trying to figure out why my formula didn´t work and it was because of the format

  • @cuneiformscript2665
    @cuneiformscript2665 4 роки тому

    🙏🏻

  • @srdcro
    @srdcro 4 роки тому

    #VALUE!

  • @yashodhanraut
    @yashodhanraut 4 роки тому

    Sir,
    I am importing data by using query function and after importing, I want to sort date , but when I try to sort date , I don't allow, I automatically get to same position

  • @kenmsmith
    @kenmsmith 5 років тому

    Is there a way to filter a Google sheet to only show the last 7 days of data (using the date values in a date column)?

  • @mangalkayande8540
    @mangalkayande8540 2 роки тому

    Thanks a lot for a detailed explanation but I am not able to get it. Don't know where I am going wrong, Tried method in part 4 too. Wish you had shared your sheet with us. Wondering how to solve this issue now

    • @mangalkayande8540
      @mangalkayande8540 2 роки тому

      parse error at line 1 column 42. There is no col 42 in my sheet

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  2 роки тому

      @@mangalkayande8540 What's your formula?

    • @mangalkayande8540
      @mangalkayande8540 2 роки тому

      @@ExcelGoogleSheetsThanks so much for a quick reply. =QUERY(TRANSACTIONS!E4:F60,"SELECT E,F, WHERE E>=DATE'"& TEXT (J4,"yyyy-mm-dd") &"' and E

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  2 роки тому

      @@mangalkayande8540 First, remove the space here between TEXT and (
      TEXT (

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  2 роки тому

      Let me know if you still get an error after this.

  • @hoangthan9663
    @hoangthan9663 4 роки тому

    I have a sheet 1 which is submitted by GG form in which column A is time stamp, on Sheet 2 I want to query sheet 1 base on date (which is column A of sheet 1) larger than B1 of sheet 2 so here it is: =query('sheet 1'A2:Z; "select * where A >"&B1;0) and the result is N/A while it is certainly not true. Any help would be great. Thanks in advance.

  • @abidsunny8755
    @abidsunny8755 3 роки тому

    I have a problem regarding this. I have added date range and I want to plot a graph based on months. For example, sale of a product happen in a different dates of different months. But I want to see the accumulated sales considering sales month and represent in graph. I aslo want that month should be selected based on my selected date range. Thanks in advance.

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  3 роки тому

      Watch next parts about GROUP BY and aggregate functions.

  • @dawudfreedmedia2323
    @dawudfreedmedia2323 2 роки тому

    How would you do it if you wanted just variables in the formula. E.g. you put the start and end dates...than you convert these using the TEXT function in two other cells and then want to reference these two properly formatted cells in the formula? I tried to replace the text() in the formula (to make it easier to read and/edit) with the cell reference and it won't work. Is there something special you need to do or is it not possible?
    =QUERY(Sheet2!A2:G85,"select * Where C

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  2 роки тому +1

      You can find an example here ua-cam.com/video/cH__zeKlo7Q/v-deo.html

  • @stephentackett4064
    @stephentackett4064 2 роки тому

    I wish you would paste your code. I can't get this to work and have copied exactly each step. I can get the date to change dynamically in the cell but when I paste it into the main code with the & and all that it doesn't work. I have copied exactly.

  • @justfly2525
    @justfly2525 4 роки тому

    Wow... This one was tough. The date format from lesson 3 doesn't work anymore. I thought that I was going nuts.

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  4 роки тому

      It's hard to explain, but depending on where you data comes from it will or will not work. Part 4 will definitely work.

    • @justfly2525
      @justfly2525 4 роки тому

      @@ExcelGoogleSheets The method in part 4 did work. Thank you for such an awesome video series. Well done.

    • @mangalkayande8540
      @mangalkayande8540 2 роки тому

      @@ExcelGoogleSheets Thanks a lot for a detailed explanation but I am not able to get it. Don't know where I am going wrong, Tried method in part 4 too. Wish you had shared your sheet with us.

  • @workkinhoman5590
    @workkinhoman5590 3 роки тому

    I would like to know why you could enter the query formula in the cell that is not at the top left cell of result list? how to do that?

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  3 роки тому

      You can enter it anywhere as long as it has enough space to populate the results.

  • @zubairahmad6738
    @zubairahmad6738 Рік тому

    How to more filter with this function for exp. i want to know adidas total sale with date range

  • @raymondsalamat
    @raymondsalamat 3 роки тому

    still header is showing on no other data...did this still same

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  3 роки тому

      No changes.

    • @raymondsalamat
      @raymondsalamat 3 роки тому

      Found other solution...thanks btw😊

    • @olduser_00
      @olduser_00 3 роки тому

      @@raymondsalamat Similar problem, buddy. Can you help me, too?

    • @homeofstasis
      @homeofstasis 2 роки тому

      @@olduser_00 similar problem too, I already try several date formating, still didn't work

  • @priteshjain8275
    @priteshjain8275 6 років тому

    I always get the error: " Query completed with an empty output"

  • @MuhammadIbrahim-zc1vx
    @MuhammadIbrahim-zc1vx 5 років тому

    I am using below but it doesn't work. I can't figure out why.
    ="select E, F, D, H, C, A where A >= date '" & TEXT(E2,"YYYY-MM-DD") & "' and A

    • @tvandang3234
      @tvandang3234 4 роки тому

      Did you put the double quotes “ inside the tick ‘?

    • @MuhammadIbrahim-zc1vx
      @MuhammadIbrahim-zc1vx 4 роки тому

      @@tvandang3234 i think i forgot what I did back then. but dates should have single quotes here

  • @michaelbalanay4674
    @michaelbalanay4674 2 роки тому

    HOW CAN I ADD ORDER BY OR GROUP BY WITH THIS QUERY?

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  2 роки тому

      ua-cam.com/play/PLv9Pf9aNgemvAMlqvHP9RhXPW98g_eo7d.html