+ Reply to Thread
Results 1 to 6 of 6

Stopping a count of days when a date is entered

  1. #1
    Registered User
    Join Date
    11-09-2010
    Location
    Birmingham
    MS-Off Ver
    Excel 2003
    Posts
    23

    Stopping a count of days when a date is entered

    Slight dilema which I am sure is very simple for the majority of XL users to solve. I have a spreadsheet which is populated with 20+ columns, some dates, times and dropdown lists. It also incorporates the Today() function. At the moment when a start date is entered into column H, column G calculates the lapsed time from that column to "todays" date based on the function "NETWORKDAYS". The problem I have is that I want the count to stop for that row when an end date is entered into column L. Hope that I have represented this in an understanderble manner.

    Many thanx in advance
    Last edited by Araujo1958; 11-30-2010 at 07:24 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Stopping a count of days when a date is entered

    Perhaps you want something along the lines of:

    Please Login or Register  to view this content.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    47,997

    Re: Stopping a count of days when a date is entered

    It would help if you posted a sample workbook.

    It sounds as though you'd need a VBA Worksheet Change Event to monitor the input in column L; when you put in the end date, it would change the formula to use the date in column L rather than Today's date.

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    47,997

    Re: Stopping a count of days when a date is entered

    But, as ever, DonkeyOte has offered a neater solution. ;-)

  5. #5
    Registered User
    Join Date
    11-09-2010
    Location
    Birmingham
    MS-Off Ver
    Excel 2003
    Posts
    23

    Re: Stopping a count of days when a date is entered

    Quote Originally Posted by Araujo1958 View Post
    Slight dilema which I am sure is very simple for the majority of XL users to solve. I have a spreadsheet which is populated with 20+ columns, some dates, times and dropdown lists. It also incorporates the Today() function. At the moment when a start date is entered into column H, column G calculates the lapsed time from that column to "todays" date based on the function "NETWORKDAYS". The problem I have is that I want the count to stop for that row when an end date is entered into column L. Hope that I have represented this in an understanderble manner.

    Many thanx in advance
    Just one other quick point if I may is there a simple add-in to the formula that would make the figure it dissappear once a value is entered into column L? (even if it's some form of conditional formatting)
    Once again thank you

  6. #6
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Stopping a count of days when a date is entered

    If you're saying you don't want any numeric result should Col be complete then:

    Please Login or Register  to view this content.

+ 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