How to change the timing of date changing.

Zohaib Hassan

New Member
Joined
Nov 7, 2015
Messages
8
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 .
 

Some videos you may like

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

Toadstool

Well-known Member
Joined
Mar 5, 2018
Messages
598
Office Version
2016
Platform
Windows
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)
 

Watch MrExcel Video

Forum statistics

Threads
1,095,170
Messages
5,442,799
Members
405,198
Latest member
Florence Thomas

This Week's Hot Topics

  • Copy entire row if CountA <>0 to another sheet
    [B]I want to copy entire row if CountA <>0 for column J7:AM7 (headers on J6:AM6) and so on till the last used cell is column D and paste the...
  • Select last used Row in Table
    I have created a Table in a Worksheet which is locked to prevent user errors and protect formula. Some of the cells require freetext entries which...
  • excel workbook: do not allow certain file name
    Hello all, Don't think this has ever been asked before, but how do I restrict file save [Before_Save Event] if the name of the file being saved...
  • fixing problem autofilter
    hello i need help about my code when i search by code in textbox it doesn't show anything this is my data [ATTACH type="full"...
  • “Weight”
    Hi, i’ve got a long sheet filled with weights such as kg,g,L & ml. i can build a formula to convert kg into g and liter into ml. How ever, my...
  • How to capitalize everything before a certain character?
    In column A, I have some text: Hello good day.mp3 Hello good day.flac etc. I'd like to capitalize everything before the period. I don't need the...
Top