简体   繁体   中英

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|

I have created the excel using Two Spinner one for Year and one for 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

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

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)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM