Comparing computed dates with entered dates

笑着哭i 提交于 2019-12-02 11:10:31

You should be safe with chopping the parts up and reassembling them:

=DATE(YEAR(P4),MONTH(P4),DAY(P4))=DATE(YEAR(B5),MONTH(B5),DAY(B5))
  • Select the two date cells.
  • Press CTRL+1 to show the format tab
  • On the Number tab, in the Format list, click Text

Perhaps there is a more appropriate comparison format, when you have dates in the format YYYY-MM-DD I think this one will work).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!