Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default How do I convert a date to Monday's date within its week?

How do I convert a date (from cell A1) to Monday's date within its week into
cell B1?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default How do I convert a date to Monday's date within its week?

One way:

=1-WEEKDAY(A1,2)+A1

--
Biff
Microsoft Excel MVP


"Sorsy" wrote in message
...
How do I convert a date (from cell A1) to Monday's date within its week
into
cell B1?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default How do I convert a date to Monday's date within its week?

Try this in b1

=IF(WEEKDAY(A1)=1,A1-6,A1-(WEEKDAY(A1)-2))

Mike

"Sorsy" wrote:

How do I convert a date (from cell A1) to Monday's date within its week into
cell B1?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default How do I convert a date to Monday's date within its week?

On Wed, 8 Oct 2008 13:10:01 -0700, Sorsy
wrote:

How do I convert a date (from cell A1) to Monday's date within its week into
cell B1?


What is the first day of the week?

If the first day is Monday, then:

=A1+1-WEEKDAY(A1+6)

If the first day is Sunday, (so the Monday would be the day after Sunday) then:

=A1+2-WEEKDAY(A1)
--ron
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default How do I convert a date to Monday's date within its week?

This really helps, I learn something new. Thanks!

"Mike H" wrote:

Try this in b1

=IF(WEEKDAY(A1)=1,A1-6,A1-(WEEKDAY(A1)-2))

Mike

"Sorsy" wrote:

How do I convert a date (from cell A1) to Monday's date within its week into
cell B1?



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default How do I convert a date to Monday's date within its week?

This really helps. Thanks!

"T. Valko" wrote:

One way:

=1-WEEKDAY(A1,2)+A1

--
Biff
Microsoft Excel MVP


"Sorsy" wrote in message
...
How do I convert a date (from cell A1) to Monday's date within its week
into
cell B1?




  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default How do I convert a date to Monday's date within its week?

This really helps. Thanks!

"Ron Rosenfeld" wrote:

On Wed, 8 Oct 2008 13:10:01 -0700, Sorsy
wrote:

How do I convert a date (from cell A1) to Monday's date within its week into
cell B1?


What is the first day of the week?

If the first day is Monday, then:

=A1+1-WEEKDAY(A1+6)

If the first day is Sunday, (so the Monday would be the day after Sunday) then:

=A1+2-WEEKDAY(A1)
--ron

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default How do I convert a date to Monday's date within its week?

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Sorsy" wrote in message
...
This really helps. Thanks!

"T. Valko" wrote:

One way:

=1-WEEKDAY(A1,2)+A1

--
Biff
Microsoft Excel MVP


"Sorsy" wrote in message
...
How do I convert a date (from cell A1) to Monday's date within its week
into
cell B1?






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need formula to return next Monday's date Frustrated in Portland Excel Worksheet Functions 4 July 15th 08 06:12 PM
Convert Week Number to Date valerie Excel Discussion (Misc queries) 1 April 18th 08 10:32 PM
Given today's date, I want this week's Monday's date BlueWolvering Excel Worksheet Functions 3 February 12th 08 06:16 PM
How do I convert a date to a week of the year? JBTexas Excel Discussion (Misc queries) 12 September 5th 07 10:14 PM
Display Monday's date only on x-axis Bruce Charts and Charting in Excel 1 August 18th 07 02:52 PM


All times are GMT +1. The time now is 03:49 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"