Excel Date Question
 

MegaSack DRAW - This year's winner is user - rgwb
We will be in touch

[Closed] Excel Date Question

3 Posts
3 Users
0 Reactions
68 Views
Posts: 0
Free Member
Topic starter
 

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 12:19 pm
Posts: 6283
Full Member
 

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


 
Posted : 03/05/2011 12: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 12:23 pm
Posts: 0
Free Member
Topic starter
 

Thanks!


 
Posted : 03/05/2011 12:27 pm