Consulting

Results 1 to 6 of 6

Thread: Calculating Days and Inactivating the columns

  1. #1

    Calculating Days and Inactivating the columns

    hi everybody,

    i have 2 columns one column contains date and other 3 days ahead of the date
    example
    Alloted_Date Completion_Date
    27.08.08 30.08.08

    i require 2 things

    (1) i want a formula which calculates completion_date I,e. alloted_date + 3 days and if there is a saturday or sunday inbetween it should not take that into account

    (2) i want to make Completion_Date column inactive once i enter the formula so that no body can edit the column

    can somebody help me, thanks is advance

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Put this formula in B2 and copy down as far as you need

    =IF(A2<>"",WORKDAY(A2,3),"")

    then unlock the cells in column A, and set protection on the sheet.
    ____________________________________________
    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
    i dont have workday formula in my excel, what should i do

  4. #4
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Tools>Addins, check Analysis Toolpak
    ____________________________________________
    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

  5. #5
    its working thank u very much

  6. #6
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Next time, if you cross-post your problem, I for one will not be bothering to help you.
    ____________________________________________
    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

Posting Permissions

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