Number of days shipped in a month

rebelandduke

New Member
Joined
Feb 10, 2022
Messages
9
Office Version
  1. 365
Platform
  1. Windows
Hey guys! Need help is there a formula to calculate how many shipping days a date is (minus weekends/holidays?)
For example, yesterday was 2-9, it was the 7th day shipped out of the 20 shipping days in February.
I can get how many total shipping days there are in a month minus weekends and holidays: =NETWORKDAYS(A15,EOMONTH(A15,0),HolidayList)
But how do I get excel to calculate what the shipped day was? How do I get it to tell me that 2-9 was the 7th shipping day in the month?

So I'm trying to get the data in the yellow column without having to manually figure it out and type it in.
I used this formula the the Days shipped column: =NETWORKDAYS(A33,EOMONTH(A33,0),HolidayList) but it's numbering them backwards in descending order. I need it to count what day it is.
I used this formula in the Days of the month column= =DAY(A33) but it's literally just counting, and it won't let me exclude weekends/holidays.
Is there a formula or VBA code I could use?
1644501895851.png
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Upvote 0
Thank you, that's close but it's not taking into account the Holidays... and it's putting January 1, & 2 at 0 when they should be 1?
1644503739493.png
 
Upvote 0
How about
Excel Formula:
=MAX(1,NETWORKDAYS(EOMONTH(A2,-1)+1,A2,HolidayList))
 
Upvote 0
Solution

Forum statistics

Threads
1,224,504
Messages
6,179,142
Members
452,892
Latest member
JUSTOUTOFMYREACH

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top