Google Sheets - Comparing QUERY to "Regular" Functions like FILTER, SORT, UNIQUE and SORTN

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 พ.ย. 2024

ความคิดเห็น • 30

  • @moemennasser7716
    @moemennasser7716 ปีที่แล้ว

    Hey there! love your videos, great and organized content, just one quick note, for the last example, it didn't remove duplicates when you tried to do it from the "Data" menu as you still had the "UNIQUE" value in that same table, so if you remove duplicates, the function will still refer back to the original range and re-populate it
    For it to work, you need to copy the range that you want to remove the duplicates from and CTRL+C then CTRL+SHIFT+V for it to be pasted as a text, then you can remove duplicates using the "Data" menu just fine
    Keep it up my friend, you're doing a great job!

  • @tacety247365
    @tacety247365 ปีที่แล้ว

    Super helpful, thank you.

  • @norberthendricks8682
    @norberthendricks8682 2 ปีที่แล้ว

    Best Content - perfect, understandable, clear, easy to follow! TOP thank you...

  • @VictorMenoita
    @VictorMenoita 11 หลายเดือนก่อน

    Hi. How can I sort a newly queried table using UNIQUE(FILTER and sort that new table by a value in another column?

  • @d-ro_aka_boba-fatt
    @d-ro_aka_boba-fatt 2 ปีที่แล้ว +1

    You could also generate the header with ={ (A1:D1) ; (whatever function you are doing with A2:D13) } I like this way because it hides the formula in the header so less likely is gets deleted if you do not lock your cells

    • @guntarion
      @guntarion 2 ปีที่แล้ว

      Thanks for the tip!

  • @nssdesigns
    @nssdesigns 2 ปีที่แล้ว

    Where was the link to the other channel where you had an in depth video on Query?

    • @ProlificOaktree
      @ProlificOaktree  2 ปีที่แล้ว

      The channel is here... It's super good;) th-cam.com/channels/K9St2FSU-4r7xV1DeGa9eg.html

  • @philipwicks
    @philipwicks 8 หลายเดือนก่อน

    Nice relaxed style. Easy to follow

  • @AnshulMarele-gbaa
    @AnshulMarele-gbaa 10 หลายเดือนก่อน

    how to return cell address with XLOOKUP function of a last non-blank cell in google sheets?

  • @RodneyEDanielPalmer
    @RodneyEDanielPalmer 7 หลายเดือนก่อน

    Hi MS Excel has the "Consolidate" function. Is there anything in google sheets that can do the same thing? I'd really love to have something in google sheets that can do that.

    • @ProlificOaktree
      @ProlificOaktree  7 หลายเดือนก่อน

      I haven't used that feature before. You could probably do something similar with QUERY, but not the same way for sure.

  • @luiscorado2868
    @luiscorado2868 2 ปีที่แล้ว

    I love your content friend, I always learned a lot!!!

    • @ProlificOaktree
      @ProlificOaktree  2 ปีที่แล้ว

      Thank you. It's nice to have you around.

  • @PN5SEARCHTEAM
    @PN5SEARCHTEAM ปีที่แล้ว

    is Querry same as Filter function to Combine different sheets in one master sheet?

    • @ProlificOaktree
      @ProlificOaktree  ปีที่แล้ว

      No. I think QUERY would be better for that

  • @dophane_
    @dophane_ 2 ปีที่แล้ว

    Hello, I really love your videos, you helped me a lot! I have a question, is there any way for me to use a 'Filter' function to automatically paste a data based on 'column background color' from other spreadsheet? Such as '=FILTER(ORDER!B2:B,ORDER!N2:N="#ff0000")' ? Thank you :)

    • @mreighties2860
      @mreighties2860 2 ปีที่แล้ว +2

      Hello icemaa,
      You can use a script that will show you the color's "hex code" in a column based on the background colors in another column and then use a drop-down in a cell that is populated by the "hex codes" and from there use that cell reference in your FILTER formula like so...
      =iferror(filter(A2:F30,B2:B30=J1))
      ...where my data is in the range A2:F30, the "hex codes" are in B2:B30 and my drop-down is in J1.
      Below is the script I use (not written by me)....
      --------------------------------------------------------------------------------------------------------------------------------------
      function getBackgroundColour(cell)
      {
      return (SpreadsheetApp.getActiveSheet().getRange(cell).getBackground());
      }
      --------------------------------------------------------------------------------------------------------------------------------------
      ...my "background" colors are in column A and I then I have to use a "custom formula" in column B that grabs the color's hex code by using the scripts FUNCTION "getBackgroundColor" as the function for the formula...
      =getBackgroundColor(ADDRESS(ROW(), COLUMN()-1))
      ...the ADDRESS function will show the cell reference the color is in by using the ROW() (current row that formula is sitting in) and COLUMN()-1 (current column that formula is sitting in minus 1). So if the formula is in B2 then the row is currently 2 and column is A (cause the formula is currently in column B and -1 makes it column A) so then we get a cell reference of $A$2. Then you will drag it down to get hex codes for all the colors in column A.
      To use the script from the sheet's menu go to "Extensions > Script editor" and paste over the default code and then "File > Save" in the editor's menu and give it a file name.
      Any questions please ask away!
      James/mreighties 😀

    • @dophane_
      @dophane_ 2 ปีที่แล้ว

      ​@@mreighties2860 Thank you so much James!😄 It's worked really well as what I really want! May I ask you one more question? My sheet has become more slower as it have to generate a lot of hex codes and at the same time filter data. What should I do to make sure my sheet works faster?

  • @anhnhatnguyet4628
    @anhnhatnguyet4628 2 ปีที่แล้ว

    Create multiple tabs and rename tabs as value every cell from range of Google sheet, can you make video tutorial to handle of this problem?

    • @ProlificOaktree
      @ProlificOaktree  2 ปีที่แล้ว

      This video on extracting sheet names may help: th-cam.com/video/W6DhIM53eIM/w-d-xo.html

    • @anhnhatnguyet4628
      @anhnhatnguyet4628 2 ปีที่แล้ว

      Not so. From a list of multiple cells, create multiple tabs with the tabs name being the selected multi-cell value

  • @lafamillecarrington
    @lafamillecarrington ปีที่แล้ว

    I use QUERY all the time now - I wish I'd known about it years ago!

  • @Gaussen
    @Gaussen 2 ปีที่แล้ว

    in your case, how to make an table of "Item" only with no duplicate.
    for example is showing only: Wrench, pliers, saw, screws.
    basically select 1 of duplicate

    • @ProlificOaktree
      @ProlificOaktree  2 ปีที่แล้ว

      Look into using the UNIQUE function.

    • @Gaussen
      @Gaussen 2 ปีที่แล้ว

      @@ProlificOaktree is there a way to get it inside the query? because unique is outside of query

    • @ProlificOaktree
      @ProlificOaktree  2 ปีที่แล้ว

      @@Gaussen Not that I know of, but I'm not an expert with it.