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

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ค. 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

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

  • @graemegourlay2850
    @graemegourlay2850 ปีที่แล้ว +1

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

  • @Picla_Peremohy
    @Picla_Peremohy ปีที่แล้ว +3

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

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

      Thanks Jim - I appreciate that feedback. 😀

  • @wayneedmondson1065
    @wayneedmondson1065 ปีที่แล้ว +1

    Awesome Mark! Thanks for demonstrating. Thumbs up!!

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  ปีที่แล้ว +1

      Thanks Wayne, I'm glad you enjoyed it.

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

  • @shyjumathew07
    @shyjumathew07 ปีที่แล้ว +1

    Excellent!!!!

  • @dchan6017
    @dchan6017 10 หลายเดือนก่อน +1

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

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

  • @Henrik.Vestergaard
    @Henrik.Vestergaard ปีที่แล้ว +1

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

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

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

  • @stefankirst3234
    @stefankirst3234 21 วันที่ผ่านมา +1

    Brilliant! Exactly what I needed. Thanks a lot 😊

  • @nishantkumar9570
    @nishantkumar9570 ปีที่แล้ว +1

    Awesome 👌👏

  • @user-ip7tr4mh6n
    @user-ip7tr4mh6n 5 หลายเดือนก่อน

    Wow man! A life saver!

  • @maheshlowe907
    @maheshlowe907 ปีที่แล้ว +1

    Great. I was looking for this function for hours.

  • @jerrymiles7804
    @jerrymiles7804 ปีที่แล้ว +1

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

  • @mohammedelsakally540
    @mohammedelsakally540 10 หลายเดือนก่อน +1

    Awesome methodology and presentation, Thank you very much.

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

    Brilliant!

  • @freeworld2658
    @freeworld2658 ปีที่แล้ว +1

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

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  ปีที่แล้ว +1

      Hopefully you can put it to good use.

  • @slayermm1122
    @slayermm1122 4 หลายเดือนก่อน

    amazing trick.

  • @sergegagne874
    @sergegagne874 ปีที่แล้ว +1

    Great stuff, 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.

  • @s.burghardt
    @s.burghardt ปีที่แล้ว +1

    very helpfull. thank you!

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

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

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

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

    Masterclass

  • @khayourabdellah8727
    @khayourabdellah8727 6 หลายเดือนก่อน +1

    Good tks

  • @danielaifrim75
    @danielaifrim75 หลายเดือนก่อน +1

    Super tare

  • @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 😬)