+ Reply to Thread
Results 1 to 1 of 1

Macro for date parameter

  1. #1
    Forum Contributor
    Join Date
    03-16-2004
    MS-Off Ver
    2016
    Posts
    175

    Macro for date parameter

    Each name in sheet 1 column A has 10 identical names but different dates associated with those names in chronological order . Number of names will vary up to 2000 rows. Those dates are in column K with “year, month, day” format. Need a macro that will compare A) the number of days between the last 2 dates showing (per entry set of 10). Subtract. Then compare B) the last date showing (per entry set of 10) and today’s date. Subtract. If A => 24 days and B <= 23 days then in sheet 2 column N it should say a “Y” to the corresponding name. Else “N”.

    If there are no dates for any or all the parameters required then an “N” will do. The sample workbook shows what I mean but the “Y” and “N” are not accurate for the date parameters. They are just for illustrative purposes.
    Attached Files Attached Files

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