Using slicers with formulas (2022 update) | Excel Off The Grid

Sdílet
Vložit
  • čas přidán 23. 07. 2024
  • ★ Want to automate Excel? Check out our training academy ★
    exceloffthegrid.com/academy
    ★ Check out the blog post ★
    exceloffthegrid.com/using-sli...
    ★ About this video ★
    Slicers are an excellent tool for adding interactivity. When a user clicks on a slicer button, the results change to include only those selected items. Slicers are compatible with PivotTables, PivotCharts, Cube formulas, and Tables…but not standard formulas. So, let’s see how we can use a Table in a new way to get around this limitation.
    0:00 Introduction
    0:37 Creating the slicer
    1:53 Count visible rows with SUBTOTAL
    3:52 Connecting the Slicer to the formula
    6:06 Using a LAMBDA function
    9:16 Conclusion
    ★ Download 30 most useful Excel VBA Macros ebook for FREE ★
    exceloffthegrid.com/
    ★ Where to find Excel Off The Grid ★
    Blog: exceloffthegrid.com
    Twitter: / exceloffthegrid
    #MsExcel #PowerQuery

Komentáře • 69

  • @stefankirst3234
    @stefankirst3234 Před 15 dny +1

    Brilliant! Exactly what I needed. Thanks a lot 😊

  • @IvanCortinas_ES
    @IvanCortinas_ES Před rokem +2

    Extraordinary explanation to put slicers, functions and LAMBDA in context. Great video!!! Thank you Mark.

  • @wayneedmondson1065
    @wayneedmondson1065 Před rokem +1

    Awesome Mark! Thanks for demonstrating. Thumbs up!!

  • @graemegourlay2850
    @graemegourlay2850 Před rokem +1

    Nice technique with the Lambda function. Really helpful to bring forward these alternative and relatively new methods.

  • @dchan6017
    @dchan6017 Před 10 měsíci +1

    Exactly what i need (slicer affect filter function). Thank you!!!

  • @Picla_Peremohy
    @Picla_Peremohy Před rokem +3

    Mark, you always impress me with your knowledge and ability to convey this knowledge in understandable modules. Thank you

  • @Henrik.Vestergaard
    @Henrik.Vestergaard Před rokem +1

    Wonderfull, just what I needed. Great demo, thanks!

  • @mohammedelsakally540
    @mohammedelsakally540 Před 9 měsíci +1

    Awesome methodology and presentation, Thank you very much.

  • @waitplanwp4129
    @waitplanwp4129 Před rokem +2

    mark you are genius, love everting you do, you so smart!!!

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  Před rokem

      Thank you. 😀
      I’m just sharing things that I’ve learned.

  • @operamaniak81
    @operamaniak81 Před 8 měsíci

    You made my day! That's the best thing I've seen since an intro of vstack... BIG thank you!

  • @shyjumathew07
    @shyjumathew07 Před rokem +1

    Excellent!!!!

  • @jerrymiles7804
    @jerrymiles7804 Před rokem +1

    Outstanding! Best regards from Limón, Costa Rica!

  • @maheshlowe907
    @maheshlowe907 Před rokem +1

    Great. I was looking for this function for hours.

  • @SJV992
    @SJV992 Před rokem +2

    This is quite simply a brilliant explanation and overcomes a big challenge I was facing. Many thanks for posting this.

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  Před rokem

      Thanks. The more I explore this technique myself the more useful I find it. 👍

  • @freeworld2658
    @freeworld2658 Před rokem +1

    Thank you a lot. This is just AWSOME !!!

  • @sergegagne874
    @sergegagne874 Před rokem +1

    Great stuff, thank you!

  • @RobertHind
    @RobertHind Před rokem +2

    Brilliant!

  • @nishantkumar9570
    @nishantkumar9570 Před rokem +1

    Awesome 👌👏

  • @user-ip7tr4mh6n
    @user-ip7tr4mh6n Před 5 měsíci

    Wow man! A life saver!

  • @listenifymusic
    @listenifymusic Před rokem

    thank you so much man, your formula solved a separate problem for me, I was trying to reference the value of a slicer to another cell, and I have tried a lot but had no luck unlit I came around your video. so thank you and keep going.

  • @slayermm1122
    @slayermm1122 Před 4 měsíci

    amazing trick.

  • @s.burghardt
    @s.burghardt Před rokem +1

    very helpfull. thank you!

  • @martyc5674
    @martyc5674 Před rokem +1

    Really cool trick 👍👍👍

  • @paulmartinlife
    @paulmartinlife Před rokem +1

    Thanks, that's excellent.

  • @mattmattelig
    @mattmattelig Před 8 měsíci +1

    VERY clever!!

  • @bdiffoful
    @bdiffoful Před 8 měsíci

    Masterclass

  • @sel4sie
    @sel4sie Před rokem

    Mark, thank for this awesome video. Can you please provide a link to the data used? Thank you

  • @khayourabdellah8727
    @khayourabdellah8727 Před 6 měsíci +1

    Good tks

  • @danielaifrim75
    @danielaifrim75 Před měsícem +1

    Super tare

  • @jorgebotao9700
    @jorgebotao9700 Před rokem +1

    eu sou brasileiro , olhei o teu canal hoje , tu es muito bom cara

  • @belchannels
    @belchannels Před 6 měsíci

    Thank you for providing a solution for slicer. What if there is more than one list? E.g. A few products under a product category and also different years? Can something similar be built?

  • @jimfitch
    @jimfitch Před rokem +1

    Mark, super trick! The data in List are hard-coded. How would you make that dynamic?

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  Před rokem +1

      Power Query returns values from the source into a Table. Then the Table can be used as the source for the List. This would make it completely dynamic based on the source data.

  • @user-pr8ew9ku6b
    @user-pr8ew9ku6b Před 11 měsíci +1

    Hi - this is great. Would you know with a slicer linked to a pivot chart is there a way of highlighting the column but keeping all the data?

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  Před 11 měsíci

      A slicer linked to a Pivot Chart, no not possible.
      But creating a slicer with this method and a standard chart it should be possible.

    • @user-pr8ew9ku6b
      @user-pr8ew9ku6b Před 11 měsíci

      @@ExcelOffTheGrid thank you 👍

  • @everwelwisher
    @everwelwisher Před rokem +1

    sir how to get number of rows count based on slicer selection what formula can we use

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  Před rokem

      You can use the SUBTOTAL function:
      =SUBTOTAL(103,tableName[columnName])

  • @Bhavik_Khatri
    @Bhavik_Khatri Před rokem

    I like the first version as it doesn't rely on the Lambda function

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  Před rokem

      The first version is simple to understands and works on Excel 2013 and onwards. So that’s my preferred method too.

  • @kapzforu5347
    @kapzforu5347 Před rokem

    In my day to day job, I need to analyse RAG (Red, Amber and Green Status) and update word and ppt manually with comments, is there a way to make my life easy? Plz respond. Thank you

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  Před rokem +1

      There is... have a look at these posts:
      exceloffthegrid.com/linking-excel-files-to-powerpoint/
      exceloffthegrid.com/edit-links-in-powerpoint-using-vba/
      exceloffthegrid.com/linking-excel-files-word/
      exceloffthegrid.com/edit-linked-objects-in-word-using-excel-vba/

    • @kapzforu5347
      @kapzforu5347 Před rokem

      @@ExcelOffTheGrid Thank you so much.

  • @Rice0987
    @Rice0987 Před rokem

    It's all ok, but what if i want use slicers from dynamic ranges...🤔

  • @larryleblanc2867
    @larryleblanc2867 Před rokem +1

    Excellent ideas! One minor suggestion is that you not use the term “data table” for your table containing data.
    A data table is a different concept in Excel. .

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  Před rokem

      Good point…
      Though it’s probably no worse than using the words formula and function interchangeably (which I also do 😬)