ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Given today's date, I want this week's Monday's date (https://www.excelbanter.com/excel-worksheet-functions/176449-given-todays-date-i-want-weeks-mondays-date.html)

BlueWolvering

Given today's date, I want this week's Monday's date
 
Hello

I cannot find a good way to extract this week's monday's date. I want the
sheet to read Today() and return the date of the monday of this week. I
would prefer to NOT do this in VBA but that is an option.

I consider myself a pretty advanced Excel/VBA user so please unload.

I am using Excel 2003 with NO ability to switch versions.

Also, I am generally regarding Monday to start a week, such that the week is
MTWThFSaSu.

Thank you!

Mike H

Given today's date, I want this week's Monday's date
 
With today in A1 try

=A1+CHOOSE(WEEKDAY(A1),1,0,-1,-2,-3,-4,-5)

Mike

"BlueWolvering" wrote:

Hello

I cannot find a good way to extract this week's monday's date. I want the
sheet to read Today() and return the date of the monday of this week. I
would prefer to NOT do this in VBA but that is an option.

I consider myself a pretty advanced Excel/VBA user so please unload.

I am using Excel 2003 with NO ability to switch versions.

Also, I am generally regarding Monday to start a week, such that the week is
MTWThFSaSu.

Thank you!


Ron Rosenfeld

Given today's date, I want this week's Monday's date
 
On Tue, 12 Feb 2008 08:00:03 -0800, BlueWolvering
wrote:

Hello

I cannot find a good way to extract this week's monday's date. I want the
sheet to read Today() and return the date of the monday of this week. I
would prefer to NOT do this in VBA but that is an option.

I consider myself a pretty advanced Excel/VBA user so please unload.

I am using Excel 2003 with NO ability to switch versions.

Also, I am generally regarding Monday to start a week, such that the week is
MTWThFSaSu.

Thank you!


If I understand you correctly, this should do what you want:

=A1+1-WEEKDAY(A1+6)

will return the preceding Monday, unless A1 is a Monday, in which case it will
return the same date.

Substitute TODAY() for A1 to work on today's date.
--ron

T. Valko

Given today's date, I want this week's Monday's date
 
Another one:

=TODAY()-WEEKDAY(TODAY(),3)

Or:

A1 =TODAY()

=A1-WEEKDAY(A1,3)


--
Biff
Microsoft Excel MVP


"BlueWolvering" wrote in message
...
Hello

I cannot find a good way to extract this week's monday's date. I want the
sheet to read Today() and return the date of the monday of this week. I
would prefer to NOT do this in VBA but that is an option.

I consider myself a pretty advanced Excel/VBA user so please unload.

I am using Excel 2003 with NO ability to switch versions.

Also, I am generally regarding Monday to start a week, such that the week
is
MTWThFSaSu.

Thank you!





All times are GMT +1. The time now is 10:12 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com