Hrishi
Board Regular
- Joined
- Jan 25, 2017
- Messages
- 56
- Office Version
- 365
- Platform
- Windows
Hello, I want to calculate the last date of a week from any date with presumption that week starts from monday and ends on sunday. I have a formula
=IF(WEEKDAY(date)=7,date+1,date+(7-WEEKDAY(date)),,, BUT this does not work on date 1-1-17 and 31-12-18 etc may be it because this day is either monday or sunday.
Can anyone help me Plz????.
=IF(WEEKDAY(date)=7,date+1,date+(7-WEEKDAY(date)),,, BUT this does not work on date 1-1-17 and 31-12-18 etc may be it because this day is either monday or sunday.
Can anyone help me Plz????.