Formula to find the dates only for Saturdays and Sundays

Tija

New Member
Joined
Apr 19, 2022
Messages
17
Office Version
  1. 365
Platform
  1. Windows
The employee will start a part time job only on weekends (Saturday and Sunday) for 16 days. He / She will be starting on April 23, 2022.
How to find the dates in the cell B7:B22 using a formula?
 

Attachments

  • Find a date on Saturdays and Sundays.png
    Find a date on Saturdays and Sundays.png
    47 KB · Views: 18

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Welcome to the MrExcel board!

For the future, please consider the following to save helpers having to manually type out your sample data:
MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.

If this is not what you want then please post the sample data again (noting the comments above) but also include the expected results and any further explanation.

Cell Formulas
RangeFormula
B2B2=TEXT(B1,"dddd")
B7B7=B1
B8:B22B8=B7+IF(WEEKDAY(B7)=7,1,6)
 
Upvote 0
Solution
As you have 365 another option that will spill down
+Fluff 1.xlsm
AB
123/04/2022
2Saturday
3
4
5
6
7123/04/2022
8224/04/2022
9330/04/2022
10401/05/2022
11507/05/2022
12608/05/2022
13714/05/2022
14815/05/2022
15921/05/2022
161022/05/2022
171128/05/2022
181229/05/2022
191304/06/2022
201405/06/2022
211511/06/2022
221612/06/2022
23
Lists
Cell Formulas
RangeFormula
B2B2=TEXT(B1,"dddd")
B7:B22B7=WORKDAY.INTL(B1,SEQUENCE(16,,0),"1111100")
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,161
Members
453,021
Latest member
Justyna P

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