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
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
77,502
Office Version
  1. 365
Platform
  1. Windows
Glad we could help & thanks for the feedback.
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Forum statistics

Threads
1,175,502
Messages
5,897,814
Members
434,678
Latest member
Gautam cv

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
Top