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

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

КОМЕНТАРІ • 69

  • @stefankirst3234
    @stefankirst3234 4 дні тому +1

    Brilliant! Exactly what I needed. Thanks a lot 😊

  • @IvanCortinas_ES
    @IvanCortinas_ES Рік тому +2

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

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

      Thanks Ivan. Hopefully you can put it to good use.

  • @waitplanwp4129
    @waitplanwp4129 Рік тому +2

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

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

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

  • @wayneedmondson1065
    @wayneedmondson1065 Рік тому +1

    Awesome Mark! Thanks for demonstrating. Thumbs up!!

  • @graemegourlay2850
    @graemegourlay2850 Рік тому +1

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

  • @Henrik.Vestergaard
    @Henrik.Vestergaard 11 місяців тому +1

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

  • @shyjumathew07
    @shyjumathew07 Рік тому +1

    Excellent!!!!

  • @operamaniak81
    @operamaniak81 8 місяців тому

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

  • @maheshlowe907
    @maheshlowe907 11 місяців тому +1

    Great. I was looking for this function for hours.

  • @jerrymiles7804
    @jerrymiles7804 Рік тому +1

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

  • @user-ip7tr4mh6n
    @user-ip7tr4mh6n 5 місяців тому

    Wow man! A life saver!

  • @Picla_Peremohy
    @Picla_Peremohy Рік тому +3

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

  • @dchan6017
    @dchan6017 9 місяців тому +1

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

  • @freeworld2658
    @freeworld2658 Рік тому +1

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

  • @nishantkumar9570
    @nishantkumar9570 Рік тому +1

    Awesome 👌👏

  • @mohammedelsakally540
    @mohammedelsakally540 9 місяців тому +1

    Awesome methodology and presentation, Thank you very much.

  • @sergegagne874
    @sergegagne874 Рік тому +1

    Great stuff, thank you!

  • @RobertHind
    @RobertHind Рік тому +2

    Brilliant!

  • @SJV992
    @SJV992 Рік тому +2

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

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

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

  • @slayermm1122
    @slayermm1122 4 місяці тому

    amazing trick.

  • @s.burghardt
    @s.burghardt Рік тому +1

    very helpfull. thank you!

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

    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.

  • @paulmartinlife
    @paulmartinlife Рік тому +1

    Thanks, that's excellent.

  • @mattmattelig
    @mattmattelig 8 місяців тому +1

    VERY clever!!

  • @martyc5674
    @martyc5674 Рік тому +1

    Really cool trick 👍👍👍

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  Рік тому +1

      Thanks Martin, I think it's pretty cool too 😁

  • @bdiffoful
    @bdiffoful 8 місяців тому

    Masterclass

  • @danielaifrim75
    @danielaifrim75 27 днів тому +1

    Super tare

  • @khayourabdellah8727
    @khayourabdellah8727 5 місяців тому +1

    Good tks

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

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

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

    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?

  • @jorgebotao9700
    @jorgebotao9700 Рік тому +1

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

  • @jimfitch
    @jimfitch Рік тому +1

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

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  Рік тому +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 11 місяців тому +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  11 місяців тому

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

      @@ExcelOffTheGrid thank you 👍

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

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

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

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

  • @everwelwisher
    @everwelwisher Рік тому +1

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

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

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

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

    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  Рік тому +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 Рік тому

      @@ExcelOffTheGrid Thank you so much.

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

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

  • @larryleblanc2867
    @larryleblanc2867 Рік тому +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  Рік тому

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