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

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
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,223,911
Messages
6,175,323
Members
452,635
Latest member
laura12345

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