Calculate how many mondays, tuesdays, wednesdays etc left in the current month?

mdsurf

New Member
Joined
Aug 1, 2017
Messages
22
Office Version
  1. 2016
Platform
  1. MacOS
Hi All, I am trying to figure out how to calculate the number of REMAINING mondays, tuesdays, wednesdays, thursdays, fridays, saturdays and sundays in the current month. Any idea on how to do this?

Thanks!
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Try these:

=NETWORKDAYS.INTL(TODAY(),EOMONTH(TODAY(),0),"0111111") for remaining Mondays,
=NETWORKDAYS.INTL(TODAY(),EOMONTH(TODAY(),0),"1011111") for remaining Tuesdays, etc.
 
Upvote 0
Another one, but honestly, Tetra's is a better formula. The 6 refers to the day of the week you are counting, 6 is a Friday.

Code:
=SUMPRODUCT(--((WEEKDAY(Start+(ROW(INDIRECT("1:" &(End-Start)+1))-1),1))=6))
 
Last edited:
Upvote 0
Thank you both very much for the prompt replies and help! One more follow up question. I have an excel where row 1 is the date and row 2 is revenue on that date. Is there a way to sum the revenue of the last 4 mondays? last 4 tuesdays etc? Basically I'm trying to build a projection calculator for my business to help me estimate my revenue for the month.

<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>[TABLE="width: 500"]
<tbody>[TR]
[TD]July 28[/TD]
[TD]July 29[/TD]
[TD]July 30[/TD]
[TD]July 31[/TD]
[TD]Aug 1[/TD]
[/TR]
[TR]
[TD]$500[/TD]
[TD]$700[/TD]
[TD]$600[/TD]
[TD]$800[/TD]
[TD]$900[/TD]
[/TR]
</tbody>[/TABLE]

I'm using a layout similar to above.

Thanks!
 
Upvote 0

Excel 2010
ABCDE
1Wed 01-Aug-18Thu 02-Aug-18Fri 03-Aug-18Sat 04-Aug-18Sun 05-Aug-18
2100100100100100
3
4
5Monday1400
6
1d
Cell Formulas
RangeFormula
C5=SUMPRODUCT(--(WEEKDAY(A1:AE1,2)=B5),(A2:AE2))
 
Upvote 0
... Is there a way to sum the revenue of the last 4 mondays? last 4 tuesdays etc?..
Try these:

=SUMPRODUCT((A1:ALL1=WORKDAY.INTL(TODAY(),-{1;2;3;4},"0111111"))*A2:ALL2) for the four last Mondays,
=SUMPRODUCT((A1:ALL1=WORKDAY.INTL(TODAY(),-{1;2;3;4},"1011111"))*A2:ALL2) for the four last Tuesdays, etc.
 
Upvote 0

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

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