Forum search & shortcuts

Excel Date Question
 

[Closed] Excel Date Question

Posts: 0
Free Member
Topic starter
 
[#2712335]

Hi,

I have some dates in some cells, I need a formula to find the preceeding monday.

For example if in a cell I had 03/05/11 (today) I need a formula that will output 02/05/11 (the last Monday preceeding).

Any ideas?


 
Posted : 03/05/2011 1:19 pm
Posts: 6320
Full Member
 

=[cell_reference]-(WEEKDAY([cell_reference],3))


 
Posted : 03/05/2011 1:23 pm
Posts: 36
Free Member
 

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

EDIT: too slow. 😉 And I concede, ",3" is neater, but I like Monday=1 😛


 
Posted : 03/05/2011 1:23 pm
Posts: 0
Free Member
Topic starter
 

Thanks!


 
Posted : 03/05/2011 1:27 pm