Skip to content

IF OR Fuction

Jithin KambhikanamMember for 15 years 6 months
Created
7
2
0

Hello All,

 

Need a help.

A formula to calulate the % duration complete based on IF OR function in excel

 

   Today = (D)28-May-22
ItemABDuration% Complete
Item 123-May-2228-May-226B=D,100%, A<D,B>A,(D-A+1)/(B-A+1)
Item 225-May-221-Jun-228 


Thanks

Jithin

7 replies

Oldest first
  1. 0
    Zoltan Palffy ·

    Based on what you had here it

    Based on what you had here it is 

    Item Duration % CompleteToday = (D)
    ABC28-May-22
    23-May-2228-May-22100% 
    25-May-221-Jun-2250% 

     

    =IF(B3=$D$2,1,IF(A3<$D$2,($D$2-A3+1)/(B3-A3+1)))

  2. 0
    Rodel Marasigan ·

    Zoltan furmula is correct

    Zoltan furmula is correct with minor correction in case A > D or B < D or A=D.

    =IF(B3<=$D$2,1,IF(A3<=$D$2,($D$2-A3+1)/(B3-A3+1),0))

  3. 0
    Rafael Davila ·

    And what about non-work days

    And what about non-work days such as vacations?

    And what about multiple resouces with different calendars?

    And what about shiftwork on same activity?

    Unless activities are duration type such as concrete curing status and updating is a matter of volume of work. Statusing and updating activities that perform volume of work without considering volume of work is not a good idea.

  4. 0
    Jithin Kambhikanam ·

    Thanks Zoltan and Rodel,That

    Thanks Zoltan and Rodel,

    That did help.

     

    Rafel,

     

    The weightage per activity is already given based on the resource requirement and its 7X7 job. So the duration consumed X by the weightage/ activity gives me the planned %.

     

    Thanks

    Jithin

  5. 0
    Zoltan Palffy ·

    glad I could help wants

    glad I could help wants exactly sure what you were trying to do.

  6. 0
    Zoltan Palffy ·

    glad I could help but my

    glad I could help but my formula was correct based on what you had

    you had  A<D

    NOT A>D or B<D

    was not excalty sure I but I did think your paramaters were incorrect to begin with but that was not what you asked

  7. 0
    Rafael Davila ·

    That activity time has

    • That activity time has elapsed or that some effort has been performed does not mean some volume of work has been done.
    • Using elapsed time to calculate progress of work is usually wrong even in the most simple of job as things rarely happen exactly as planned.

Log in or join to reply

ProjectControls.com is free to join. Members can post questions, reply, vote and follow discussions.

Existing members: your original username and password still work. Forgot password?