Consulting

Results 1 to 3 of 3

Thread: Can this be done in a formula?

  1. #1

    Can this be done in a formula?

    Hi,

    I have a spreadsheet which tracks the date an issue was opened in Col A. In Col B I have a formula =TODAY()- Col A which tells me how long the issue has been open.
    In Col C there is a status (dropdown) Open or Closed.

    What I would like to do is add some formatting to the number of days its open so green under 90, amber over 90, and red over 150 which should be able to manage.

    What I would like to do is by changing the dropdown from Open to closed is remove the formatting and blank the cell contents.

    Any help appreciated
    thanks

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Change your formula to

    =IF(C2<>"Closed",TODAY()-A2,"")

    and include C2<>"Closed" in your CF test.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    Just the job - thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •