[英]How do i get first date and Last date from month and year |Excel |Used Spinner for Month and Year|
How do i get first date and Last date from month and year |Excel |Used Spinner for Month and Year| 我如何从月份和年份中获取第一个日期和最后一个日期| Excel |用于月份和年份的微调器|
I have created the excel using Two Spinner one for Year and one for Month 我使用两个Spinner创建了一个Excel,一个用于Year,一个用于Month。
on the basis of that the Yearly calendar is shown 根据显示的年度日历
if i change the month to 5 using spinner and year to 2019 using spinner then that months calendar is shown by highlighting the weekends 如果我使用微调器将月份更改为5,将微调器将年份更改为2019,则通过突出显示周末来显示月份日历
But issue is How do i calculate the first date and last date ? 但是问题是如何计算开始日期和结束日期?
My excel link Please Download at look at it suggest me formula to get first and last date 我的excel链接,请下载并查看它为我推荐的公式,以获取第一个和最后一个日期
https://www.sendspace.com/file/9xm7ox https://www.sendspace.com/file/9xm7ox
To get the first day: 要获得第一天:
=DATE(D3,B3,1)
To get the last day: 要获得最后一天:
=EOMONTH(DATE(D3,B3,1),0)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.