Closed Thread
Results 1 to 7 of 7

Count day Enquiry

  1. #1
    Registered User
    Join Date
    04-13-2012
    Location
    Hong Kong
    MS-Off Ver
    Excel 2003
    Posts
    74

    Count day Enquiry

    I am using Excel 2003.
    I have a worksheet with 4 columnS
    Column A - count no of days vs Today date (use formula 1)
    Column B - count no of days vs Completion Date - column D (use formula 2)
    Column C - Start Date input by user
    Column D - Completion Date input by user

    Column A - TODAY()-C10-SUMPRODUCT((AB$10:AB$100>=C10)*(AB$10:AB$100<=TODAY())) WHERE AB$10:AB100 is a specific date to exclude

    Column B - IF(D10="","",D10-C10-SUMPRODUCT((AB$10:AB$100>=C10)*(AB$10:AB$100<=D10))) WHERE AB$10:AB100 is a specific date to exclude

    My question is how to stop column A "calculation" and count the no of days vs column D - completion date when it is input.

    Thanks

  2. #2
    Valued Forum Contributor
    Join Date
    06-16-2006
    Location
    Sydney, Australia
    MS-Off Ver
    2013 64bit
    Posts
    1,394

    Re: Count day Enquiry

    You could add an if statement to your column a formula.

    =if(column d cell is blank, then use your formula above, else put in a new formula that gives the permanent date you want to see after it is completed)

    This is of course not the real formula, just pseudo code of what you need to do.

  3. #3
    Registered User
    Join Date
    04-13-2012
    Location
    Hong Kong
    MS-Off Ver
    Excel 2003
    Posts
    74

    Re: Count day Enquiry

    Can you advise how to write this formaula. Thx

  4. #4
    Valued Forum Contributor
    Join Date
    06-16-2006
    Location
    Sydney, Australia
    MS-Off Ver
    2013 64bit
    Posts
    1,394

    Re: Count day Enquiry

    if you post a sample of the sheet, I will do it for you

  5. #5
    Registered User
    Join Date
    04-13-2012
    Location
    Hong Kong
    MS-Off Ver
    Excel 2003
    Posts
    74

    Re: Count day Enquiry

    Anyone can help on that ,please?

  6. #6
    Valued Forum Contributor
    Join Date
    06-16-2006
    Location
    Sydney, Australia
    MS-Off Ver
    2013 64bit
    Posts
    1,394

    Re: Count day Enquiry

    Yes. Like I said if you post a sample sheet, I will help you. Click Reply to this thread, then click on the "go advanced" button in the bottom right corner, and attach a file using the paperclip button

  7. #7
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Count day Enquiry

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

Closed 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