+ Reply to Thread
Results 1 to 4 of 4

IF Formula unique id and post newest date into status

  1. #1
    Forum Contributor
    Join Date
    08-08-2012
    Location
    USA, CA
    MS-Off Ver
    Excel 2007
    Posts
    131

    Question IF Formula unique id and post newest date into status

    Hi ALL,

    Thank you for helping out with this formula. I have a set of unique ids and dates in x/xx/xxxx xx:xx:xx format. I would like to create a if formula that will send back a string labelled "new" in the status column if date is closest to today's date.

    I am thinking if and max formula, but do not know how to.
    Please see attachment
    formulaifandmax.xlsx

    Thank you,

    Newb

  2. #2
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: IF Formula unique id and post newest date into status

    Try this in D2 and fill down:

    =IF(SUMPRODUCT(($A$2:$A$16=A2)*($B$2:$B$16>B2))=0,"New","Old")

    - Moo

    * You could also use the COUNTIFS function:
    =IF(COUNTIFS($A$2:$A$16,"="&A2,$B$2:$B$16,">"&B2)=0,"New","Old")
    Last edited by Moo the Dog; 03-16-2015 at 07:45 PM.

  3. #3
    Forum Contributor
    Join Date
    08-08-2012
    Location
    USA, CA
    MS-Off Ver
    Excel 2007
    Posts
    131

    Re: IF Formula unique id and post newest date into status

    Thank you Moo! I seriously need to look more into sumproducts. I was thinking if(VLOOKUP with MAX Date).

    -Newb

  4. #4
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: IF Formula unique id and post newest date into status

    Glad to help, and thanks for the feedback.

+ 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. [SOLVED] Return Newest Date
    By tiger01 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-09-2014, 05:27 AM
  2. 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
  3. [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
  4. [SOLVED] vba code to find Duplicate Values and Newest date(Max) date in the Corresponding Column(ce
    By Pradu in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-10-2013, 05:20 AM
  5. Returning BLANK date PRIORITY before Newest/Latest Date
    By dluhut in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-11-2013, 04:43 PM

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