+ Reply to Thread
Results 1 to 4 of 4

Dates showing as 1 week ahead/behind

  1. #1
    Registered User
    Join Date
    08-07-2014
    Location
    London
    MS-Off Ver
    2010
    Posts
    27

    Dates showing as 1 week ahead/behind

    Hi Guys,

    I'm using this formula to look up the date stored in one vile (shown as a number, e.g 35), and then pulling this back to the first sheet in order to convert it to a date. Problem is the date keeps showing up as a week after its supposed to be, anybody know the reason why?

    =IF(VLOOKUP(B76,'[MAD File.xlsx]Feuil1'!$A:$K,11,0)="","",MAX(DATE(BN76,1,1),DATE(BN76,1,1)-WEEKDAY(DATE(BN76,1,1),2)+('[MAD File.xlsx]Feuil1'!K74)*7+1))


    Thanks,

    Sam

  2. #2
    Registered User
    Join Date
    08-07-2014
    Location
    London
    MS-Off Ver
    2010
    Posts
    27

    Re: Dates showing as 1 week ahead/behind

    Ok I've now changed the formula to =IF(VLOOKUP(B69,'[MAD File.xlsx]Feuil1'!$A:$K,11,0)="","",MAX(DATE(BN69,1,1),DATE(BN69,1,1)-WEEKDAY(DATE(BN69,1,1),2)+((VLOOKUP(B69,'[MAD File.xlsx]Feuil1'!$A:$K,11,0))*7+1))) and seem to be getting the date to be showing 1 week ahead

  3. #3
    Forum Contributor
    Join Date
    10-19-2012
    Location
    chennai
    MS-Off Ver
    Excel 2013
    Posts
    134

    Re: Dates showing as 1 week ahead/behind

    guess it will work

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    10-19-2012
    Location
    chennai
    MS-Off Ver
    Excel 2013
    Posts
    134

    Re: Dates showing as 1 week ahead/behind

    if not please attache sample work sheet for referance..

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 10-16-2013, 03:39 PM
  2. 5-Week Look ahead scheduling macro
    By klbeardsley in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-11-2013, 07:45 PM
  3. [SOLVED] Counting how many dates in a range fall into this week and last week
    By AneelK in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-08-2013, 09:38 AM
  4. Replies: 5
    Last Post: 06-21-2011, 09:10 AM
  5. Copying and pasting dates moves it 1 day and 4 years ahead??
    By nandsiesthemenace in forum Excel General
    Replies: 2
    Last Post: 08-13-2010, 01:21 PM

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.6.0 RC 1