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

Поделиться
HTML-код
  • Опубликовано: 22 янв 2025

Комментарии • 30

  • @norberthendricks8682
    @norberthendricks8682 2 года назад

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

  • @luiscorado2868
    @luiscorado2868 3 года назад

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

  • @philipwicks
    @philipwicks 10 месяцев назад

    Nice relaxed style. Easy to follow

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

  • @VictorMenoita
    @VictorMenoita Год назад

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

  • @RodneyEDanielPalmer
    @RodneyEDanielPalmer 9 месяцев назад

    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  8 месяцев назад

      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 Год назад

    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;) ruclips.net/channel/UCK9St2FSU-4r7xV1DeGa9eg

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

  • @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 3 года назад

    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  3 года назад

      This video on extracting sheet names may help: ruclips.net/video/W6DhIM53eIM/видео.html

    • @anhnhatnguyet4628
      @anhnhatnguyet4628 3 года назад

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

  • @dophane_
    @dophane_ 3 года назад

    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 3 года назад +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_ 3 года назад

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

  • @lafamillecarrington
    @lafamillecarrington Год назад

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