List all the Mondays, Wednesdays and Fridays between Two Date

PeterDavids

New Member
Joined
Apr 18, 2013
Messages
16
Office Version
  1. 2019
Platform
  1. Windows
Dear All

I have a date range and a need a formula that lists all the Mondays, Wednesdays and Fridays in the range? The days of to be in the dd-mmm-yyyy formats.


List Days Example.png


Thank you
Peter
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
In B6, put this CSE formula
=MIN(IF((MOD(A2+COLUMN(A1:G1),7)={2;4;6}),(A2+COLUMN(A1:G1))))

Then in B7 put
=B7+IF(MOD(B7,7)=6,3,2)

And drag that down
 
Upvote 0
Or maybe,

C6 =
=A2+CHOOSE(WEEKDAY(A2,2),0,1,0,1,3,2,1)

C7 & copy down =
=D6+CHOOSE(WEEKDAY(D6,2),2,0,2,0,3,0,0,3)

1592402888646.png
 
Upvote 0
Gentlemen,

A big thank you, both sets of formulae works perfectly

Kindest Regards
Peter
 
Upvote 0
Struggling to understand the syntax, would it be possible to supply the formula's to list:

1. All the Fridays and Sundays in the range?
2. All the Saturdays and Sundays in the range

based upon the formulas formulated by gazchops

C6 =
=A2+CHOOSE(WEEKDAY(A2,2),0,1,0,1,3,2,1)

C7 & copy down =
=D6+CHOOSE(WEEKDAY(D6,2),2,0,2,0,3,0,0,3)

Thank you
 
Upvote 0
Fri & Sat

=A2+CHOOSE(WEEKDAY(A2,2),4,3,2,1,2,0,5)

Choose selects the relevant value, so 1st 2nd etc
So
If A2 = a Monday (Day 1) add 4
If A2 = a Tuesday (Day 2) add 3
If A2 = a Wednesday (Day 3) add 2
etc

=A6+CHOOSE(WEEKDAY(A6,2),4,3,2,1,2,0,5)
 
Upvote 0
Dear gaz_chops
Please forgive the ignorance but I just can't get the formula's to get the results I am looking for. Just NOT understanding the formula. Attaching image of the result I'm looking for.
List Days Example2.png
 
Upvote 0
in B9, put the formula =WORKDAY.INTL(A2,1,"0101011")
in B10, put the formula =WORKDAY.INTL(B10,1,"0101011")
drag B10 down to B16

If you are going with a formula based solution, you will need to drag any formula until there are enough answers for the specified length of time.
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,691
Members
448,978
Latest member
rrauni

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