work days

zoharb

Board Regular
Joined
Nov 24, 2011
Messages
57
Office Version
  1. 2021
  2. 2013
=EOMONTH(B2930,-1)+1
This formula finds 1st day of the month of the date it refers.
I want to find the weekday of that first day
Eg
is return when this formula refers to this date
1-jun-24
which is a saturday
I want to make that formulas + workdays in that months(20 in JUN24)
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
To get the weekday number of the first day of a month, given any day in that month. Assume your data is in cell B2930:
Excel Formula:
=Weekday(EOMONTH(B2930,-1)+1))
Note there is an optional argument for the WEEKDAY() function you can use in order to reflect a different number for the weekday.
I'm not sure what you're asking for in the last sentence. Can you give some examples of what want to see/calculate? Please include expected results.
 
Upvote 0
weekday of that first day
Eg
is return when this formula refers to this date
1-jun-24
which is a saturday-------still cant get saturday.
Awoohaw sir formula gives 7 (weekday number) but I want sat(Ihave tried "ddd" but its not giving the result

and can append your formula of networkdays after that?
 
Upvote 0
The weekday gives a number, not a name of the weekday.
If you want the name of the first weekday of the month that is in cell B2930, then use this:

Excel Formula:
=Text(EOMONTH(B2930,-1)+1),"ddd")
Note that this changes the value to text and cannot be used is date calculations.

I don't understand what you mean by
and can append your formula of networkdays after that?

Can you please give and example of what you mean?
 
Upvote 0
Respected Sir awoohaw,
I was mentioning this was to use append(&"-"&)
=NETWORKDAYS(EOMONTH(B1,-1)+1,EOMONTH(B1,0))&"-"&TEXT(EOMONTH(B1,-1)+1,"ddd")
output is -------20-sat
we are designing excel sheet so that based on the (networking days days in a month, production possible can be found out(eg our machines produces 200 units a day , so an order of 4000 is possible in MAy as it has 23 networkng days but somewhat impossible in JUN as there are only 20 networking day of which 1-2 days may not generate needed production based on various other criterias.
 
Upvote 0

Forum statistics

Threads
1,221,842
Messages
6,162,333
Members
451,759
Latest member
damav78

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