+ Reply to Thread
Results 1 to 11 of 11

Max Date for Row - but not working - 01/00/00 result - what am I doing wrong?

  1. #1
    Registered User
    Join Date
    06-21-2016
    Location
    Charlotte, NC
    MS-Off Ver
    Microsoft Office Professional Plus 2010
    Posts
    3

    Max Date for Row - but not working - 01/00/00 result - what am I doing wrong?

    The columns are all formatted the same, and I've tried different formats as dates, text, general - I can't figure out what I'm doing wrong, but I'm not great at Excel either

    Capture.PNG
    Attached Files Attached Files
    Last edited by LittleMzBiteMe; 06-21-2016 at 01:59 PM. Reason: Adding Excel Worksheet

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Max Date for Row - but not working - 01/00/00 result - what am I doing wrong?

    Please Login or Register  to view this content.
    Perhaps add an excel file, i am not able to open PNG files.
    Last edited by JBeaucaire; 06-21-2016 at 01:51 PM.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Max Date for Row - but not working - 01/00/00 result - what am I doing wrong?

    The values in I:J do not appear to be valid dates. 12/16/15 is not the same 12.16.15.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Forum Contributor
    Join Date
    07-13-2015
    Location
    Quebec, Canada
    MS-Off Ver
    2013
    Posts
    232

    Re: Max Date for Row - but not working - 01/00/00 result - what am I doing wrong?

    You could possibly add helper columns somewhere if you do not wish to change your format.. If that helps

    With formula =DATE(RIGHT(I25,2),LEFT(I25,2),MID(I25,4,2))

  5. #5
    Forum Contributor
    Join Date
    07-13-2015
    Location
    Quebec, Canada
    MS-Off Ver
    2013
    Posts
    232

    Re: Max Date for Row - but not working - 01/00/00 result - what am I doing wrong?

    Actually that could work:
    =MAX(DATE(RIGHT(I25,2),LEFT(I25,2),MID(I25,4,2)),DATE(RIGHT(J25,2),LEFT(J25,2),MID(J25,4,2)),DATE(RIGHT(K25,2),LEFT(K25,2),MID(K25,4,2)),DATE(RIGHT(L25,2),LEFT(L25,2),MID(L25,4,2)),DATE(RIGHT(M25,2),LEFT(M25,2),MID(M25,4,2)),DATE(RIGHT(N25,2),LEFT(N25,2),MID(N25,4,2)),DATE(RIGHT(O25,2),LEFT(O25,2),MID(O25,4,2)),DATE(RIGHT(P25,2),LEFT(P25,2),MID(P25,4,2)),DATE(RIGHT(Q25,2),LEFT(Q25,2),MID(Q25,4,2)),DATE(RIGHT(R25,2),LEFT(R25,2),MID(R25,4,2)),DATE(RIGHT(S25,2),LEFT(S25,2),MID(S25,4,2))

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Max Date for Row - but not working - 01/00/00 result - what am I doing wrong?

    Holy moley! All that instead of simply reverting to standard date formats?

    I applaud the dedicated response, and immediately recommend standard date formats.

  7. #7
    Registered User
    Join Date
    06-21-2016
    Location
    Charlotte, NC
    MS-Off Ver
    Microsoft Office Professional Plus 2010
    Posts
    3

    Re: Max Date for Row - but not working - 01/00/00 result - what am I doing wrong?

    I did play with the formatting - tried all columns as traditional date formatting, but still receive the 01/00/00 or 01.00.00 result

  8. #8
    Registered User
    Join Date
    06-21-2016
    Location
    Charlotte, NC
    MS-Off Ver
    Microsoft Office Professional Plus 2010
    Posts
    3

    Re: Max Date for Row - but not working - 01/00/00 result - what am I doing wrong?

    I have to actually go into each cell and retype it in the date format after selecting the traditional date format for the cell. lol
    Not fun, but at least it works!!! Thank you all so much for holding my hand through this, I greatly appreciate it!!!!!

  9. #9
    Forum Contributor
    Join Date
    07-13-2015
    Location
    Quebec, Canada
    MS-Off Ver
    2013
    Posts
    232

    Re: Max Date for Row - but not working - 01/00/00 result - what am I doing wrong?

    Surely you can avoid doing that, at least use the first formula I provided and drag it down then copy and paste as values, doing all of that manually can take long if you have lots of data

  10. #10
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Max Date for Row - but not working - 01/00/00 result - what am I doing wrong?

    Maybe:

    =DATEVALUE(SUBSTITUTE(I25, ".", "/"))

  11. #11
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,147

    Re: Max Date for Row - but not working - 01/00/00 result - what am I doing wrong?

    Do Find/replace "." with "/"

    Select column I

    Text-to=Columns>>Next twice==>Date ->MDY ==> Finish

    Repeat for J
    Last edited by JohnTopley; 06-21-2016 at 02:33 PM.

+ 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. Slicer for table with date column showing wrong result
    By p3rlend in forum Excel General
    Replies: 1
    Last Post: 04-24-2016, 06:37 AM
  2. [SOLVED] Code result wrong but formula correct result
    By marreco in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-11-2014, 12:26 PM
  3. Replies: 3
    Last Post: 05-08-2014, 11:38 AM
  4. IF/Then Getting Wrong Result
    By artiststevens in forum Excel General
    Replies: 2
    Last Post: 01-06-2011, 07:21 PM
  5. excel result return wrong calcuation result
    By garyww in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-14-2006, 06:20 AM
  6. Can Excel add working days to a date to result in another date?
    By cwalrus in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-16-2006, 02:35 PM
  7. Whatever I do I get the wrong result
    By Arishy in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-20-2005, 01:40 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