• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Use Excel Slicer Selection in Formulas - Select multiple slicer options|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Use Excel Slicer Selection in Formulas - Select multiple slicer options|General Excel Questions & Answers|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumGeneral Excel Questions & Answe…Use Excel Slicer Selection in Formu…
sp_PrintTopic sp_TopicIcon
Use Excel Slicer Selection in Formulas - Select multiple slicer options
Avatar
Jason Wier
Member
Members
Level 0
Forum Posts: 23
Member Since:
September 14, 2021
sp_UserOfflineSmall Offline
1
November 1, 2021 - 5:36 am
sp_Permalink sp_Print

Good afternoon, 

I have followed the steps that were provided in the "Use Excel Slicer Selection in Formulas" video.  

I would like to be able to select multiple options within the pivot table though. 

Can you please provide steps on how to use the Sumproduct function or another alternative.

Attached is the workbook where the results (starting in cell R3) that is returning the correct details; however, multiple options within the pivot need to be selected at times. 

 

Thank you, again, for all your doing!

sp_AnswersTopicSeeAnswer See Answer
Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4436
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
2
November 1, 2021 - 10:03 am
sp_Permalink sp_Print

Hi Jason,

There's no file attached. You have to click the Start Upload button after selecting your file, then wait for the grey check mark beside the file size before submitting your question.

You'd have to allow for all items in the Slicer to be selected, by adding them as OR criteria in the SUMPRODUCT. e.g. if you allowed for 2 items based on my example from the "Use Excel Slicer Selection in Formulas" video, then the formula would look like this:

=SUMPRODUCT(Actual[Actual]*((Actual[Category]=L6)+(Actual[Category]=L5)) * (Actual[Month]>=Report!H5)*(Actual[Month]<=EOMONTH(H5,0)))

 

Hope that points you in the right direction.

Mynda

Avatar
Jason Wier
Member
Members
Level 0
Forum Posts: 23
Member Since:
September 14, 2021
sp_UserOfflineSmall Offline
3
November 1, 2021 - 10:32 pm
sp_Permalink sp_Print

I've uploaded my workbook.  I'm hoping you would be able to help me with the sumproduct formula based on this data. 

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4436
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
4
November 2, 2021 - 10:25 am
sp_Permalink sp_Print

Hi Jason,

I see that you have 22 items + some blanks that can be selected in the Slicer. That's 23 OR arguments to manually enter in a SUMPRODUCT formula, which can potentially make the file slow to calculate because Excel has to evaluate every criteria in every instance of the SUMPRODUCT formula in your spreadsheet.

Why don't you just use  PivotTable to build the report? That's what they're designed for, i.e. to automate the creation of a load of SUMIFS/SUMPRODUCT formulas.

Mynda

sp_AnswersTopicAnswer
Answers Post
Avatar
Jason Wier
Member
Members
Level 0
Forum Posts: 23
Member Since:
September 14, 2021
sp_UserOfflineSmall Offline
5
November 2, 2021 - 10:51 pm
sp_Permalink sp_Print

Thank you Mynda. I'll go that route.  I greatly appreciate all you do! 

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: adam elias
Guest(s) 10
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Lawrence Miu
Jo Saies
Paul Pritchard
Monique Roussouw
Keith Aul
Richard Dunks
Manjula Mangalmurti
Thomas Quidort
Jamie Preece
Bob Smith
Forum Stats:
Groups: 3
Forums: 24
Topics: 6192
Posts: 27146

 

Member Stats:
Guest Posters: 49
Members: 31847
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.