• 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

How to same employee repeated weekends day |General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / How to same employee repeated weekends day |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…How to same employee repeated weeke…
sp_PrintTopic sp_TopicIcon
How to same employee repeated weekends day
Avatar
Redha Akhund
Member
Members
Level 0
Forum Posts: 9
Member Since:
March 28, 2021
sp_UserOfflineSmall Offline
1
March 28, 2021 - 7:43 pm
sp_Permalink sp_Print

I have employees on once column and Day on second column

 

If any employee worked Weekends such as "Thursday, Friday, Saturday".

 

I want, employees who works on weekends to be restricted till other employees work on weekends. Those employee worked on weekends will work on normal day.

 

Any suggestion how to do this.

 

Thanks and regards

Redha

Avatar
Purfleet
England
Member
Members


Trusted Members
Level 4
Forum Posts: 412
Member Since:
December 20, 2019
sp_UserOfflineSmall Offline
2
March 29, 2021 - 4:54 am
sp_Permalink sp_Print

Not sure i understand, can you post an example workbook?

Avatar
Redha Akhund
Member
Members
Level 0
Forum Posts: 9
Member Since:
March 28, 2021
sp_UserOfflineSmall Offline
3
March 29, 2021 - 9:03 pm
sp_Permalink sp_Print

Thank you so much. Please see attached file..

Avatar
Redha Akhund
Member
Members
Level 0
Forum Posts: 9
Member Since:
March 28, 2021
sp_UserOfflineSmall Offline
4
April 1, 2021 - 12:29 am
sp_Permalink sp_Print

Any idea how to solve this please..

 

thanks

Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 871
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
5
April 1, 2021 - 7:45 am
sp_Permalink sp_Print

Hello,

I don’t really understand the data layout you have in your sample file, but it will surely be a tricky one for you to accomplish what you want. I do suggest you store the data in an Excel table. https://www.myonlinetraininghu.....ata-format

Have you seen this blog post about reducing data validation list? Could perhaps be an option for you to test.

Br,
Anders

Avatar
Redha Akhund
Member
Members
Level 0
Forum Posts: 9
Member Since:
March 28, 2021
sp_UserOfflineSmall Offline
6
April 1, 2021 - 11:37 pm
sp_Permalink sp_Print

imagine, you have a List of 7 Employees working from Sun to Sat.

 

Weekends are Thu, Fri, and Sat.

List 1, There are some of Employees worked on Weekends.

The challenge is, If Employee on List 1 worked on any of Weekends Thu, Fri, and Sat. Than on List 2 they should work on Normal days such as Sun, Mon, Tue, Wed.

 

Hope its clear now.

 

Thanks for the help.

Br,

Redha

Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 871
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
7
April 2, 2021 - 3:57 am
sp_Permalink sp_Print

Hello Redha,

That part was no issue to grasp, but your data layout is.

Some questions:
- Where is the list of all employees?
- In your lists you have nine rows for each list, seven spanning from Sunday to Saturday, plus two extra rows with no week days, what are these extra rows for? I have my guesses, but I might be guessing wrong.
- The numbers in column A, what do they represent? Instead of 95 you start over from 1 again.
- Will you always have these 15 lists or will it grow over time?
- How do you intend this will act? Programmatically (VBA) or manually using drop down lists?

There are more questions than these, but this will be enough for now.

For a drop down list solution, do check out the article I linked to in my previous post.

Br,
Anders

Avatar
Redha Akhund
Member
Members
Level 0
Forum Posts: 9
Member Since:
March 28, 2021
sp_UserOfflineSmall Offline
8
April 4, 2021 - 12:12 am
sp_Permalink sp_Print

Dear Anders

Thank you so much for the support.

Please see attached file.

The list will grow over the time.

On every list will have 9 employees, 7 of them will be on duty and the other 2 will be on call. once it pull all employee names from master list will continue the remaining list from first employee on master list till we have 9 employees.

Kind regards

Redha 

Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 871
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
9
April 4, 2021 - 7:24 am
sp_Permalink sp_Print

Hello,

It looks to me that you want an automated solution using VBA. I am not a good coder, so hopefully someone else can assist you further. I am using the Excel app on my tablet for the moment so I can’t see if there is any code, your previous sample file did not contain any code though. How far have you come with writing your code?

Br,
Anders

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online:
Guest(s) 8
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 871
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
Jessica Stewart: 205
A.Maurizio: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
stuart burge
Bruce Tang Nian
Scot C
Othman AL MUTAIRI
Misael Gutierrez Sr.
Attif Ihsan
Kieran Fee
Murat Hasanoglu
Brett Dryland
Saeed Aldousari
Forum Stats:
Groups: 3
Forums: 24
Topics: 6223
Posts: 27295

 

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