Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-10-2024, 09:09 AM
Nachobear Nachobear is offline removing weekends Windows 10 removing weekends Office 2021
Novice
removing weekends
 
Join Date: Feb 2024
Posts: 5
Nachobear is on a distinguished road
Default removing weekends

Hi can anyone please help me remove the weekends in this file

how is it done?

using excel 365



thank you
Attached Files
File Type: xlsx BLANK TOTALS FINAL VERSION.xlsx (175.2 KB, 17 views)
Reply With Quote
  #2  
Old 05-10-2024, 12:52 PM
ArviLaanemets ArviLaanemets is offline removing weekends Windows 8 removing weekends Office 2016
Expert
 
Join Date: May 2017
Posts: 932
ArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant future
Default

As I haven't Excel available currently, I can only describe what I would do.

I'd have a Calendary table in separate [hidden] sheet, something like:
Date, ..., WeekdayNo, IsHoliday, DaysAfterPreviousWorkday, DaysBeforeNextWorkday, ...;

All values in this table would be calculated for period determined in column Date. This column contains a list of all dates from start of calendary until end of it;

In column WeekdayNo, the weekday number for Date is calculated (values 1 - 7);

IsHoliday will be either 1 when Date is State Holiday, or 0 when otherwise;

Those 2 columns are used to calculate:
a) DaysAfterPreviousWorkday will be 0 when Date is workday. It will be > 0, when the Date is not workday. When the previous day was workday, it will be 1, when the previous day also wasn't workday, but day before it was, it will be 2, etc.;
b) DaysBeforeNextWorkday will also be 0 when Date is workday. It will be > 0, when the Date is not workday. When the next day will be workday, it will be 1, when the next day also isn't workday, but day after that it will be, it will be 2, etc.;

Now, whenever you calculate a date, and need to ensure that it will be workday, you have to read the value of DaysAfterPreviousWorkday or DaysBeforeNextWorkday from Calendary table, and substract or add this to date. When the date was workday, it remains same. Otherwise the date will be changed for proper number of days. The best formula to do this all will be SUMIFS.
Reply With Quote
  #3  
Old 05-13-2024, 11:19 AM
Nachobear Nachobear is offline removing weekends Windows 10 removing weekends Office 2021
Novice
removing weekends
 
Join Date: Feb 2024
Posts: 5
Nachobear is on a distinguished road
Default New To Excel

HI I'm new to entering formulas, is there a way someone can guide me

thank you for the responses
Reply With Quote
  #4  
Old 05-16-2024, 02:10 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline removing weekends Windows 10 removing weekends Office 2021
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,920
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

What are you actually trying to do? Please describe in detail. Will there be further analysis needed ? If so merged cells are a no-no..
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #5  
Old 05-16-2024, 10:26 AM
Nachobear Nachobear is offline removing weekends Windows 10 removing weekends Office 2021
Novice
removing weekends
 
Join Date: Feb 2024
Posts: 5
Nachobear is on a distinguished road
Default

Quote:
Originally Posted by Pecoflyer View Post
What are you actually trying to do? Please describe in detail. Will there be further analysis needed ? If so merged cells are a no-no..


Hi

I just need to remove the weekends and to do that I need to learn some more excel like how to add in the formula SUMIFS, which the other person recommended.

Thank you everyone
Reply With Quote
  #6  
Old 05-17-2024, 02:14 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline removing weekends Windows 10 removing weekends Office 2021
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,920
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

Sorry, can't help with this kind of layout. Good luck with your query
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #7  
Old 06-07-2024, 10:25 AM
Nachobear Nachobear is offline removing weekends Windows 10 removing weekends Office 2021
Novice
removing weekends
 
Join Date: Feb 2024
Posts: 5
Nachobear is on a distinguished road
Question

does that mean this template can't be changed
Reply With Quote
  #8  
Old 06-07-2024, 09:27 PM
Alansidman's Avatar
Alansidman Alansidman is offline removing weekends Windows 11 removing weekends Office 2021
עַם יִשְׂרָאֵל חַי
 
Join Date: Apr 2019
Location: Steamboat Springs
Posts: 112
Alansidman has a spectacular aura aboutAlansidman has a spectacular aura aboutAlansidman has a spectacular aura about
Default

crossposted: remove weekends
__________________
Alan עַם יִשְׂרָאֵל חַ Using O365 v2505
Reply With Quote
  #9  
Old 06-10-2024, 11:15 PM
ArviLaanemets ArviLaanemets is offline removing weekends Windows 8 removing weekends Office 2016
Expert
 
Join Date: May 2017
Posts: 932
ArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant future
Default

Looking at your example workbook (post #1), I'd advice an data entry sheet where all needed data will be entered as table or Defined Table, with columns like:
Date; School; Employee; WhateverYouEnterForWeekdays
and probably additional calculated columns like:
Position; Month (I advice to use format like 2022.09), and optionally [WeekdayNo]; [DayNo]
To get Position for Employee, you also need am Employees table, with columns for employee and it's Position (in case the position of employee can change over time, you must have instead Employees table, an EmployeePositions table with columns for Employee, Position, and PositionDate, and probably a hidden sheet with table, where current position for every employee is listed)
You can also add a calendary sheet, and a holidays sheet (or have a column in calendary sheet for holidays) - to use in calculations (e.g. to determine, is the date workday or not).

And then you can create a Report sheet, where user selects School and MonthNo, and the table like in School sheets of your example workbook is filled with data from data entry sheet.

As result, your workbook will have sheets for data entry, for Schools registry (your Top table), for Employees registr(y/ies), and a single report sheet. To add new schools in future, you simply have to add them into Schools registry, and you can start to enter any needed data for new school into data entry table.
Reply With Quote
  #10  
Old 08-04-2024, 08:26 AM
kvsrinivasamurthy kvsrinivasamurthy is offline removing weekends Windows XP removing weekends Office 2007
Novice
 
Join Date: Oct 2017
Posts: 12
kvsrinivasamurthy is on a distinguished road
Default

Can the formulas in Row 6 can be changed so that it will display only weekdays of that month only instead of unwanted dates before the month and weekends.
Reply With Quote
Reply

Tags
excel 365



Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook 2016 will not download email from the server on weekends. smh264 Outlook 0 12-23-2019 09:30 AM
Disable outlook synchronization on weekends odedidush Outlook 0 11-06-2017 06:39 AM
Make Weekends Working, but keep the columns colour different Philip Hales Project 1 06-13-2017 12:47 PM
Creating Shifts/Weekends 24/7 Employees Tiauna21 Excel 0 12-28-2015 03:42 PM
removing weekends reoccurring appointment that skips weekends dovaka Outlook 1 04-10-2015 01:58 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:48 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft