Guild of Project Controls: Compendium | Roles | Assessment | Certifications | Membership

Tips on using this forum..

(1) Explain your problem, don't simply post "This isn't working". What were you doing when you faced the problem? What have you tried to resolve - did you look for a solution using "Search" ? Has it happened just once or several times?

(2) It's also good to get feedback when a solution is found, return to the original post to explain how it was resolved so that more people can also use the results.

IF OR Fuction

7 replies [Last post]
Jithin Kambhikanam
User offline. Last seen 3 weeks 1 day ago. Offline

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

Replies

Rafael Davila
User offline. Last seen 8 hours 27 min ago. Offline
Joined: 1 Mar 2004
Posts: 5229
  • 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.
Zoltan Palffy
User offline. Last seen 4 weeks 2 days ago. Offline
Joined: 13 Jul 2009
Posts: 3089
Groups: None

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

Zoltan Palffy
User offline. Last seen 4 weeks 2 days ago. Offline
Joined: 13 Jul 2009
Posts: 3089
Groups: None

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

Jithin Kambhikanam
User offline. Last seen 3 weeks 1 day ago. Offline

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

Rafael Davila
User offline. Last seen 8 hours 27 min ago. Offline
Joined: 1 Mar 2004
Posts: 5229

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.

Rodel Marasigan
User offline. Last seen 7 hours 40 min ago. Offline
Joined: 25 Oct 2006
Posts: 1699

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))

Zoltan Palffy
User offline. Last seen 4 weeks 2 days ago. Offline
Joined: 13 Jul 2009
Posts: 3089
Groups: None

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)))