First day of week-Monday.

J

Jimmy Joseph

Hello,

Could you please explain this formula? This returns the first day of a
week(monday) in excel.

=IF(WEEKDAY(TODAY())=2,DATE(YEAR(TODAY()),MONTH(TODAY()),DAY(TODAY())-
WEEKDAY(TODAY(),3))-7,DATE(YEAR(TODAY()),MONTH(TODAY()),DAY(TODAY())-
WEEKDAY(TODAY(),3)))

Regards,

Jimmy Joseph
 
P

Peo Sjoblom

Why use such a thing?

=TODAY()-WEEKDAY(TODAY()-2)

will return the same dates

--

Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
"It is a good thing to follow the first law of holes;
if you are in one stop digging." Lord Healey
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top