Consulting

Results 1 to 3 of 3

Thread: Excel - Formula to stop counting based on another cell

  1. #1
    VBAX Regular
    Joined
    Dec 2020
    Posts
    6
    Location

    Excel - Formula to stop counting based on another cell

    Hi all!

    I need some help if someone could assist would appreciate!

    I current have a formula in cell M3 which is - =TODAY()-B3

    B3 is the date the information was input into the system therefore giving me the number of days that specific query has been open

    Column N is 'Status' with a drop down for: Pending, Accepted, Declined


    I'd like cell M3 to stop the count if N3 changes from "Pending" to their Accepted or Declined

    Is this possible? I've tried looking online to no avail!

    Thank you in advance!

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Isn't it just

    =IF(N3<>"Pending",TODAY()-$B3,"")
    ____________________________________________
    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
    VBAX Regular
    Joined
    Dec 2020
    Posts
    6
    Location
    Thank you Bob! I'm a beginner with Excel at the minute so still learning, that almost worked just had to change <> for =

    Thank you for your help I appreciate it

Tags for this Thread

Posting Permissions

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