如何在Excel中确定给定月份的第一,第二等星期一或一周中的其他日期 [英] How to identify first , second etc Monday or other day of week for a given month in excel

查看:361
本文介绍了如何在Excel中确定给定月份的第一,第二等星期一或一周中的其他日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我当时在看互联网,但是公式看起来如此复杂.有什么聪明的建议吗? /例如,我需要一个公式来确定哪个日期是2014年8月的第一个星期一,类似于第二个星期一,等等/ 谢谢

I was looking in internet, but the formulas look so complicated. Any clever suggestions? /i.e for example I need a formula that identify which date is the first Monday in August 2014, similar to be used- for the second Monday, etc/ Thank you

推荐答案

尝试以下代码

=A2+MOD(8-WEEKDAY(A2,2),7)

您的A2单元格将包含01/Month/year,如01/march/2014,但请确保它必须以01开头.

Where your A2 cell will contain 01/Month/year like 01/march/2014 but make sure it must have to start with 01.

这篇关于如何在Excel中确定给定月份的第一,第二等星期一或一周中的其他日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆