Making a SUNDAY ONLY dates list

ashhole1207mk

New Member
Joined
Aug 15, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
How would I enter a formula to make a SUNDAY ONLY date list in excel? I am not very good at excel but I am working on it.

I found one online but i cannot edit it to continue further into 2025, it stops at January. See attached for example of the one I found on google.
 

Attachments

  • Annotation 2024-08-15 083718.jpg
    Annotation 2024-08-15 083718.jpg
    50.2 KB · Views: 15
  • Annotation 2024-08-15 083810.jpg
    Annotation 2024-08-15 083810.jpg
    28 KB · Views: 15

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Hi & welcome to MrExcel.
How about
Fluff.xlsm
AB
125/08/2024
201/03/2025
3
425/08/2024
501/09/2024
608/09/2024
715/09/2024
822/09/2024
929/09/2024
1006/10/2024
1113/10/2024
1220/10/2024
1327/10/2024
1403/11/2024
1510/11/2024
1617/11/2024
1724/11/2024
1801/12/2024
1908/12/2024
2015/12/2024
2122/12/2024
2229/12/2024
2305/01/2025
2412/01/2025
2519/01/2025
2626/01/2025
2702/02/2025
2809/02/2025
2916/02/2025
3023/02/2025
31
Data
Cell Formulas
RangeFormula
B4:B30B4=LET(d,NETWORKDAYS.INTL(B1,B2,"1111110"),WORKDAY.INTL(B1-1,SEQUENCE(d),"1111110"))
Dynamic array formulas.
 
Upvote 0
According to you signature (XL365) lets go with:
Excel Formula:
=SEQUENCE(520,1,"25/08/24",7)
All Sundays for next 10 years.
 
Upvote 0
According to you signature (XL365) lets go with:
Excel Formula:
=SEQUENCE(520,1,"25/08/24",7)
All Sundays for next 10 years.
can you walk me through it???? i have NO CLUE what i am doing when it comes to doing this, why i was looking on google for a template..

thank you for any and all of your help
 
Upvote 0
SEQUENCE generating data according to parameters. So in our case we generate:
- 520 dates / days (how many rows - 1st parameter)
- in 1 column (2nd parameter)
- 3rd parameter is start from, so we've put starting date which we know it is Sunday
- 4th parameter is step, so 7.
In this way you get Sundays for next 10 years.
 
Upvote 0
Enter the first Sunday in your list, i.e. 9/1/2024 in A1.
In A2, enter =A1+7
Copy A2 to A3 and beyond to meet your needs.
 
Upvote 0
An alternative is with Power Query

Power Query:
let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"Start", type date}, {"End", type date}}),
    #"Added Custom" = Table.AddColumn(#"Changed Type", "Custom", each {Number.From([Start])..Number.From([End])}),
    #"Expanded Custom" = Table.ExpandListColumn(#"Added Custom", "Custom"),
    #"Changed Type1" = Table.TransformColumnTypes(#"Expanded Custom",{{"Custom", type date}}),
    #"Added Custom1" = Table.AddColumn(#"Changed Type1", "Custom.1", each if Date.DayOfWeek([Custom])=0 then [Custom] else null),
    #"Filtered Rows" = Table.SelectRows(#"Added Custom1", each ([Custom.1] <> null)),
    #"Removed Other Columns" = Table.SelectColumns(#"Filtered Rows",{"Custom.1"})
in
    #"Removed Other Columns"
Book2
ABCD
1StartEndCustom.1
29/1/20243/1/20259/1/2024
39/8/2024
49/15/2024
59/22/2024
69/29/2024
710/6/2024
810/13/2024
910/20/2024
1010/27/2024
1111/3/2024
1211/10/2024
1311/17/2024
1411/24/2024
1512/1/2024
1612/8/2024
1712/15/2024
1812/22/2024
1912/29/2024
201/5/2025
211/12/2025
221/19/2025
231/26/2025
242/2/2025
252/9/2025
262/16/2025
272/23/2025
Sheet1
 
Upvote 0

Forum statistics

Threads
1,221,497
Messages
6,160,151
Members
451,625
Latest member
sukhman

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