manishseth
New Member
- Joined
- Jul 26, 2018
- Messages
- 1
On the heading of my weekly report I wanted the week start date "Saturday" and the end date "Friday" should show automatically when I open the sheet and should change with the date of the month automatically. I did not want to change it manually every week. I achieved the same by the below formula.
My Question: Is there any smarter way to get the same results?
Result: 21-07-18 to 28-07-18
Formula: =TEXT(IF(WEEKDAY(TODAY())=7,TODAY(),TODAY()-WEEKDAY(TODAY())),"DD-mm-YY")&" to "&TEXT(IF(WEEKDAY(TODAY())=7,TODAY()+(WEEKDAY(TODAY())),TODAY()+(6-WEEKDAY(TODAY()))),"DD-MM-YY")
My Question: Is there any smarter way to get the same results?
Result: 21-07-18 to 28-07-18
Formula: =TEXT(IF(WEEKDAY(TODAY())=7,TODAY(),TODAY()-WEEKDAY(TODAY())),"DD-mm-YY")&" to "&TEXT(IF(WEEKDAY(TODAY())=7,TODAY()+(WEEKDAY(TODAY())),TODAY()+(6-WEEKDAY(TODAY()))),"DD-MM-YY")