Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Excel & getting Week number from Date?

  • 17-05-2011 12:30AM
    #1
    Registered Users, Registered Users 2 Posts: 535 ✭✭✭


    I have the date in Cell A1 and would like to work out the week # from the date.
    Monday would be the start of the week . So, 16th May would be week 20 and 23rd May would be week 21.
    Anyone know the formula I could use.
    Tagged:


Comments

  • Closed Accounts Posts: 16 Buscuits


    Weeknum.
    Click cell B1 and function Weeknum.
    If you have 16/05/2011 in cell enter this into the formula and you get a return of 21.
    Return type of 1 or 2 but defaults to 1 anyway.


  • Registered Users, Registered Users 2 Posts: 64 ✭✭Mr November


    Here's a formula if that works better for you...

    =TRUNC(A1+(1-(IF((WEEKDAY(A1))=1,7,SUM((WEEKDAY(A1))-1))))-DATE(111,1,3))/7

    :pac::pac::pac::pac::pac::pac:


Advertisement
Advertisement