Excel Formula

strikeuk

New Member
Joined
Aug 14, 2007
Messages
2
Need some help with this using excel. For example this is the data that I have

Date 28/12/2007

I can get the week using the weeknum formula. This is what I get 52. Now assuming I want to get the date of the first day for this week which is the 24th of December 2007 using formula, how do I go about it? Thanks for the help.
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop

barry houdini

MrExcel MVP
Joined
Mar 23, 2005
Messages
20,825
=A1-MOD(A1-2,7)

I'd always favour the WEEKDAY option because you get the same result whether using 1900 or 1904 date systems.

The above (MOD) formula will return a Sunday, rather than a Monday, if you are using 1904 date system
 
Upvote 0

VoG

Legend
Joined
Jun 19, 2002
Messages
63,650
=A1-MOD(A1-2,7)

I'd always favour the WEEKDAY option because you get the same result whether using 1900 or 1904 date systems.

The above (MOD) formula will return a Sunday, rather than a Monday, if you are using 1904 date system

Thanks Barry - I hadn't thought of that :oops:
 
Upvote 0

Forum statistics

Threads
1,190,782
Messages
5,982,878
Members
439,803
Latest member
sushilneupane

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top