+ Reply to Thread
Results 1 to 5 of 5

Display an ID number if a date in column is today.

  1. #1
    Registered User
    Join Date
    01-05-2016
    Location
    Southampton
    MS-Off Ver
    Excel 2013
    Posts
    40

    Display an ID number if a date in column is today.

    Hello all

    I have been trying different ways and cant get it right. I have a spreadsheet with a list of employees and a training date. I am trying to have a field at the top of the page (H2) to say "training today" if a date in several column ranges (J6:J36, L6:J36, O6:O36 etc...) matches today, and if not so say "No training today).

    I have got as far as an If function saying "yes" if the adjacent cell is todays date, however this is not ideal for what's required.

    I have multiple sheets for different departments in the same spreadsheet which I will carry across the formula.

    I have conditional formatting which highlights if a date is today, but I have a front sheet with stats on which I will link a cell to each sheet's H2 field so at a glance i'll know if anyone has training without checking every sheet.

    Thank you

  2. #2
    Registered User
    Join Date
    01-16-2015
    Location
    Netherlands
    MS-Off Ver
    365
    Posts
    3

    Re: Display an ID number if a date in column is today.

    Hi JBrook1988,

    Try this in H2 =IF(COUNTIF(E3:E5,TODAY())>1,"Training Today","No Training Today")

    or, not sure if I understand the question correctly

    Like This.png
    =IFNA(INDEX($D$2:$F$2,1,MATCH(TODAY(),D3:F3,0))&" Today","No training")

    you may want to rewrite the ranges to match you data.

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Display an ID number if a date in column is today.

    Hi,

    It would be easier to comment if we could see the workbook but the approach I'd adopt is use an

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    formula above every column to identify whether today's date is in the column

    Then assuming the formula is in say J1, L1 and O1, H2 becomes

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Display an ID number if a date in column is today.

    Agree with Richard.
    It would be easier to comment if we could see the workbook ...
    If you are not familiar with how to do that:

    To attach a file to your post: (Please no pics or screenshots ... saves retyping data.),

    be sure to desensitize the data
    • click “Go Advanced” (next to Post Quick Reply – bottom right),
    • scroll down until you see “Manage Attachments”, click that,
    • click “Browse”.
    • select your file(s)
    • click “Upload”
    • click “Close window”
    • click “Submit Reply”
    The file name will appear at the bottom of your reply.
    Dave

  5. #5
    Registered User
    Join Date
    01-05-2016
    Location
    Southampton
    MS-Off Ver
    Excel 2013
    Posts
    40

    Re: Display an ID number if a date in column is today.

    Thanks all, ive got it sorted now

+ 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. How to display the column containing today's date
    By Karenmh in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 08-28-2014, 10:23 AM
  2. [SOLVED] Can I make a cell display something if any date in a row is before today?
    By Deathwing in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-10-2014, 04:46 PM
  3. [SOLVED] If this number=number AND this date=this date, then display value in this 3rd column
    By crachelle04 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-05-2013, 03:44 PM
  4. condit. format: If date in cell = today, display "Today"
    By ratkins in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-14-2013, 01:33 PM
  5. Display a Value based on Today's Date in Date Range
    By barella in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-12-2010, 06:25 AM
  6. Replies: 3
    Last Post: 02-26-2009, 04:28 PM
  7. count the number of cells within a column with a date <= today's d
    By Cachod1 in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 01-27-2006, 07:30 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