+ Reply to Thread
Results 1 to 2 of 2

Thread: Week commencing Date

  1. #1
    Registered User
    Join Date
    07-06-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    1

    Week commencing Date

    Hi, im trying to write a formula to show week commencing in a field

    e.g CELL A1 = 13/06/2011 08:48
    so i need CELL B1 = 13th June

    so i have =H2-WEEKDAY(H2)+2, however when i pivot the data it shows multiple rows for the same date, i am assuming this is because the time is in there?

    Thanks

    Amar

  2. #2
    Forum Guru Colin Legg's Avatar
    Join Date
    03-30-2008
    Location
    UK
    MS-Off Ver
    2003, 2007 and 2010
    Posts
    1,207

    Re: Week commencing Date

    Welcome to the forum.

    =INT(H2)-WEEKDAY(H2)+2

    In pivot tables you can group date row fields by weeks (7 days) and define the first date to group from, so, depending what you need, you might not require this calculation.
    Hope that helps,

    Colin

    RAD Excel Blog

    Other tutorials:
    Array Formulas | Deleting Rows with VBA

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.2.0