+ Reply to Thread
Results 1 to 5 of 5

Excel calculating same dates as different values???

Hybrid View

  1. #1
    Registered User
    Join Date
    05-24-2011
    Location
    Zurich
    MS-Off Ver
    Excel 2003
    Posts
    14

    Excel calculating same dates as different values???

    Hi There

    I have a workbook with 2 sheets, I have the same dates on sheet one and two and I am trying to use VLOOKUP to match them. However it is not working as excel is calculating the same date differently on both sheets. IE on sheet one when I express 2.9.02 18:58 as a number I get 37501,79059 while the same date on sheet two is calculated as 37501,79028 ??

    any Ideas as why this is?

    Thanks

  2. #2
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Excel calculating same dates as different values???

    Hi,


    a possible solution could be


    =INDEX(Sheet2!$B$1:$B$1000,MATCH(INT(A2),INDEX(INT(Sheet2!$A$1:$A$1000),),0))
    In the example Sheet2 column A houses dates.

    Regards
    -----------------------------------------------------

    At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.

    Please, mark your thread [SOLVED] if you received your answer.

  3. #3
    Registered User
    Join Date
    05-24-2011
    Location
    Zurich
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Excel calculating same dates as different values???

    Hi

    Thanks for the replay. What I am actually trying to do is match dates from sheet one and two and then return the number two columns to the left of that number. I have attached an example sheet.


    Thanks
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Excel calculating same dates as different values???

    Hi,

    please doublecheck if what you get from the formula is unexpected.

    =INDEX(Sheet2!$E$1:$E$51,MATCH(TEXT(D1,"GG/MM/AAAA HH.MM"),INDEX(TEXT(Sheet2!$D$1:$D$51,"GG/MM/AAAA HH.MM"),),0))
    Regards
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-24-2011
    Location
    Zurich
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Excel calculating same dates as different values???

    Thank you thats it.


+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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