+ Reply to Thread
Results 1 to 3 of 3

Count the days remaining IF the status is active

  1. #1
    Registered User
    Join Date
    04-10-2013
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    23

    Count the days remaining IF the status is active

    please help me figure out the correct formula to show all these in Column D:

    1. the cells in Column D should only return the # of days remaining if the status in Column B is listed in column F
    2. the cells that will not return anything should appear blank
    3. highlight the days in RED if they're >= 10days

    please see attached file for reference
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Count the days remaining IF the status is active

    hi marqz, welcome to the forum. use this in D2 & copy down:
    =IF(AND(COUNTIF($F$2:$F$9,B2),C2<>""),C2-TODAY(),"")

    or maybe TODAY()-C2. not sure which way you want. then select the range you want to apply to (i.e. D2:D31)
    go to Home -> Conditional Formatting -> New Rule -> Use a formula to determine which cells to format -> Format values where this formula
    =D2>=10

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    04-10-2013
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    23

    Re: Count the days remaining IF the status is active

    thank you sooooo much benishiryo ... this is exactly what I want to know!

+ 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