Forum Discussion
Alvin1007
Nov 07, 2022Copper Contributor
Display number of days in different months.
Dear All. I have a timesheet. When I entered the number: 1-12 as a month in a year, the table displayed the number of days in this month. But the issue is the days in a month are different so each...
- Nov 07, 2022
Alvin1007 SEQUENCE() function can give you desired result. See the attached file.
=SEQUENCE(DAY(EOMONTH(DATE(C2,B2,1),0)),,DATE(C2,B2,1))
Harun24HR
Nov 07, 2022Bronze Contributor
Alvin1007 SEQUENCE() function can give you desired result. See the attached file.
=SEQUENCE(DAY(EOMONTH(DATE(C2,B2,1),0)),,DATE(C2,B2,1))
- Alvin1007Nov 08, 2022Copper ContributorDear Mr. Harun24HR.
How wonderful you are! Thanks a lot for your support. You are my life saver. It makes my timesheet easiest than ever.
Thanks again.