Results 1 to 11 of 11

Find oldest and newest date by grouped material in 2 columns...

Threaded View

  1. #1
    Forum Contributor
    Join Date
    07-26-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2016 Office 365 ProPlus
    Posts
    826

    Find oldest and newest date by grouped material in 2 columns...

    Well the title is probably very confusing but hoping the workbook helps.

    You see 4 data lines of 2 materials.
    So the macro should look for every material separate what the highest en lowest date is in columns I and J.
    Then in column K give these dates as a "key"
    For the first material this would be > 07/27/2016 - < 12/19/2021
    So bigger then "-" smaller then (so a range).

    Also the date format must be American as the input is European

    The list is much longer and some material are in 4 times or even 6 times or only once.
    But list is already sorted on material number so they are already grouped.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Oldest and Newest Date based on 2 Criteria
    By MRozell in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-21-2017, 12:19 PM
  2. [SOLVED] Vba code to lookup newest and oldest date
    By UPA in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-01-2017, 07:27 AM
  3. Arranging Pivot table data from Newest to oldest to Newest does not appear
    By paradise2sr in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-08-2014, 06:53 AM
  4. [SOLVED] lesson grades (from oldest date to newest date)
    By aaaaa34 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-04-2014, 08:40 AM
  5. [SOLVED] VBA to sort columns left to right - oldest to newest
    By kenadams378 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-17-2013, 10:36 AM
  6. [SOLVED] vba to sort columns according to dates in header from oldest to newest.
    By rocksan in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-25-2012, 12:57 AM
  7. sorting a selected range by date, oldest to newest
    By zed commander in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-19-2012, 12: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