+ Reply to Thread
Results 1 to 5 of 5

Format cell based on column of dates

  1. #1
    Registered User
    Join Date
    12-04-2012
    Location
    North Salt Lake, UT
    MS-Off Ver
    Excel 2010
    Posts
    3

    Format cell based on column of dates

    I'm trying to format a singe cell based on if a row of dates is aged more than 3 days.

    Column C is for Load Date. Rows C2:C100 may or maynot have a date in them. Cell C101 is a count (=counta(C2:C100) of how many cells above contain data.

    I'm wanting to format C101 to turn red if ANY of the dates in C2:C100 are older than 3 days from the current day.

    Can someone point me in the right direction?

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Format cell based on column of dates

    You can do this with Conditional Formatting. Find it on the home tab, under STYLES, select "new formula" and select "use formula"

    Without seeing your data, this is a guess, but in the CF, try something like =min(C2:C100)+3<today()
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Format cell based on column of dates

    deleted my duplicate post

  4. #4
    Registered User
    Join Date
    12-04-2012
    Location
    North Salt Lake, UT
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Format cell based on column of dates

    That works! Thank you!

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Format cell based on column of dates

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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