How to change the timing of date changing.

Zohaib Hassan

New Member
Joined
Nov 7, 2015
Messages
9
hi,

1582795014688.png


In AU31 I am using formula "=WEEKNUM(K31,13)" for getting the week# which give the result 9 and my week start from Wednesday which is correct one.
I want that my week start from Wednesday @ 07:00am so the week# will show 8 .

Kindly assist .
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Hi Zohaib Hassan,

Excel holds dates as integers since 1 Jan 1900 (in Windows) and time as a fraction of the day, e.g. 12 noon is 0.5. The time 7am is 0.29167 so in the WEEKNUM calculation just subtract that from the date.

Book1
KASATAU
30Ops Last LineMonthWeeks Number
312/24/2020 6:5028
322/26/2020 6:1528
Sheet1
Cell Formulas
RangeFormula
AT31:AT32AT31=MONTH(K31)
AU31:AU32AU31=WEEKNUM(K31-0.29167,13)
 
Upvote 0

Forum statistics

Threads
1,214,798
Messages
6,121,636
Members
449,043
Latest member
farhansadik

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
Back
Top