• 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

Excel Slicers for Rolling Periods for weeks|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Excel Slicers for Rolling Periods for weeks|General Excel Questions & Answers|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
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…Excel Slicers for Rolling Periods f…
sp_PrintTopic sp_TopicIcon
Excel Slicers for Rolling Periods for weeks
Avatar
Ahemed kahn
Member
Members
Level 0
Forum Posts: 8
Member Since:
June 19, 2018
sp_UserOfflineSmall Offline
1
June 21, 2018 - 2:16 am
sp_Permalink sp_Print

Hi i have seen your post for pivot for the rolling slicers for the month but how can we do it for the week if we have custom week start for the year. i.e Like my business year start for 2 July 17 and  i want the rolling chart for the last 12 weeks. how can i do that please help. Thanks file is attached.

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4449
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
2
June 21, 2018 - 11:39 am
sp_Permalink sp_Print

Hi Ahemed,

No file attached, but you just need to change the value 365 in the formula to 84, representing the number of days in 12 weeks, and modify the text:

=IF(today-[@Date]<84,"Last 12 Weeks",">12 Weeks")

 

Mynda

Avatar
Ahemed kahn
Member
Members
Level 0
Forum Posts: 8
Member Since:
June 19, 2018
sp_UserOfflineSmall Offline
3
June 22, 2018 - 8:13 am
sp_Permalink sp_Print

Hi mandy, 

 

Thanks you very much for the reply however, one thing my date are start of the week dates and when i use the formula you have provided it does not work it only give me last then 12 week.

 

please see the attached file. 

 

Regards

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4449
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
4
June 22, 2018 - 9:05 am
sp_Permalink sp_Print

Hi Ahemed,

In the attached file your formula references cell S2, but this cell is empty so it's interpreted as 0 by the formula. Cell S2 should contain the date that you want to test against. e.g. today, yesterday, end of last week, whatever you want your last 12 weeks calculated from.

Also, the cell reference to S2 is not an absolute reference, so when you copy the formula down it doesn't stay fixed on S2.

Mynda

Avatar
Ahemed kahn
Member
Members
Level 0
Forum Posts: 8
Member Since:
June 19, 2018
sp_UserOfflineSmall Offline
5
June 23, 2018 - 12:03 am
sp_Permalink sp_Print

Hi Thanks for this could you please add the formula in it and send it to me, i will really appreciate this. 

Avatar
Ahemed kahn
Member
Members
Level 0
Forum Posts: 8
Member Since:
June 19, 2018
sp_UserOfflineSmall Offline
6
June 23, 2018 - 12:03 am
sp_Permalink sp_Print

I am struggling to fix it. 

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4449
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
7
June 24, 2018 - 4:21 pm
sp_Permalink sp_Print

Hi Ahemed,

In the attached file all of your dates were in the last 12 weeks so I changed the date in row 2 to show the formula works.

Mynda

Avatar
Ahemed kahn
Member
Members
Level 0
Forum Posts: 8
Member Since:
June 19, 2018
sp_UserOfflineSmall Offline
8
June 25, 2018 - 8:48 pm
sp_Permalink sp_Print

Great thanks for your help all working. 

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Velouria, Nada Perovic
Guest(s) 9
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 871
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Raj Mattoo
Mark Luke
terimeri dooriyan
Jack Aston
AndyC
Denise Lloyd
michael serna
mashal sana
Tiffany Kang
Leah Gillmore
Forum Stats:
Groups: 3
Forums: 24
Topics: 6219
Posts: 27279

 

Member Stats:
Guest Posters: 49
Members: 31903
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.