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

Поділитися
Вставка
  • Опубліковано 28 жов 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!

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

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

  • @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!

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

    Nice relaxed style. Easy to follow

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

    Super helpful, thank you.

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

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

  • @VictorMenoita
    @VictorMenoita 10 місяців тому

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

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

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

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

    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  6 місяців тому

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

  • @AnshulMarele-gbaa
    @AnshulMarele-gbaa 9 місяців тому

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

  • @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;) ua-cam.com/channels/K9St2FSU-4r7xV1DeGa9eg.html

  • @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?

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

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

  • @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.

  • @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: ua-cam.com/video/W6DhIM53eIM/v-deo.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