Results 1 to 3 of 3

Change date into text if <today and adding text if cell isblank... into an Array.

Threaded View

  1. #1
    Forum Contributor
    Join Date
    10-15-2013
    Location
    Calgary, Alberta
    MS-Off Ver
    Excel 2007
    Posts
    218

    Change date into text if <today and adding text if cell isblank... into an Array.

    Hello All,

    I did a post a couple of weeks ago looking for a formula that took information form my datasheet placed it into a table by matching the persons name with the certificate they had and only picking the most recent date... this formula that works great but after looking at the data I need to add two (or this might be three, i'm not sure) new criterias:

    Here is the original post:
    http://www.excelforum.com/excel-form...est-dates.html

    And here is the solution that did everything that i wanted (Shout out to Fortis that solved this):
    =IFERROR(IF(MAX(IF('Certificate Database'!$C$2:$C$100=B$5;IF('Certificate Database'!$D$2:$D$100=$A7;'Certificate Database'!$F$2:$F$100)))=0;INDEX('Certificate Database'!$F$2:$F$100;MATCH('Staff Summary - AQ'!B$5&'Staff Summary - AQ'!$A7;'Certificate Database'!$C$2:$C$100&'Certificate Database'!$D$2:$D$100;0));MAX(IF('Certificate Database'!$C$2:$C$100=B$5;IF('Certificate Database'!$D$2:$D$100=$A7;'Certificate Database'!$F$2:$F$100))));"")
    Here is a new excel example with the data and the two new criterias highlighted in yellow:

    The first new criteria that I have is that I've added hyperlinks to all the certificates that I have which will show up in the LINK column as dates. Anything that I do not have a LINK to is blank and everything that I do is named after the expiration date that I had earlier.

    What i would like to see in my results is that everything that does not have a link in column G (Certificate Database) place the date that it is expired along with some text "NC" (to signify No Certificate). I've highlighted the examples of the change on the following sheet...

    The second criteria is that if the certificate date is in the past and expired to change the date to just "EXPIRED".

    So these are seperate... but this maybe a third criteria that if it's expired and I don't have a certificate it then show "EXPIRED NC". Hope this makes sense...

    Thank you all in advance!!!
    Attached Files Attached Files
    Last edited by JasonNeedsHelp; 10-28-2013 at 12:42 PM. Reason: Removed the word "Help" from the title... sorry.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Mix of text and today's date
    By yeosh in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-04-2012, 02:31 AM
  2. [SOLVED] Adding text string to today() formula
    By blueice2627 in forum Excel General
    Replies: 4
    Last Post: 08-20-2012, 05:29 PM
  3. adding text to cell when a date is placed in another
    By mmccra2858 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-12-2012, 07:50 PM
  4. Text to columns VBA code to change delimiter if the cell value is in array
    By dopple in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-26-2008, 09:25 AM
  5. want to add text in cell that included today's date..
    By AndreLaplume in forum Excel General
    Replies: 2
    Last Post: 07-31-2007, 05:34 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