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: 4
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, 7 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: 875
ArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud of
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: 4
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 Yesterday, 02:10 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is online now removing weekends Windows 10 removing weekends Office 2021
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,789
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
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..
__________________
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 Yesterday, 10:26 AM
Nachobear Nachobear is offline removing weekends Windows 10 removing weekends Office 2021
Novice
removing weekends
 
Join Date: Feb 2024
Posts: 4
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 Today, 02:14 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is online now removing weekends Windows 10 removing weekends Office 2021
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,789
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Sorry, can't help with this kind of layout. Good luck with your query
__________________
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
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 11:07 PM.


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