Calculating task time

Hi all,
I am new at this forum so I hop this is the correct place to ask this question.
For a project, I have 2 deadlines (A and B). In between these 2 deadlines there are 3 tasks that take place (X, Y and Z). I want MS Project to calculate the time for tasks X, Y and Z based on the total time between A and B. In this example, X is 50% of the
time, Y 30% and Z 20%. When the time between A and B equals 20 days, X should take 10 days, Y 6 days and Z 4 days.
My question: Is is possible for MS Project 2010 to use some formula to calculate the duration times of tasks X, Y and Z?
Thank you for helping me!
Cheers, Koen

Hi Koen,
Unfortunately the duration cannot be calculated by a formula. You eventually have duration custom fields but anyway formulas can only refer to the row they are attached to, not to another row. Either you do some custom VBA code, or you set the duration manually.
Hope this helps,
Guillaume Rouyre, MBA, MVP, P-Seller |

Similar Messages

  • How to do calculation on time value?

    I have "Duration" as a column in a source excel file which contain data like 00:00:06,00:01:10  when i connect this excel to lumira i am getting the column data as [$-5400]12:00:06\AM 
    please specify how to perform certain calculation on time value like sum or avg. 

    I'm struggling to think of examples of this kind of data 00:00:06,00:01:10
    so i suspect this formatting will be troublesome..if Lumira can't handle this using advanced acquisition properties, then it might be an idea to split it before coming into lumira . 
    regards,
    H

  • Calculating over time

    Hi I am making up a time sheet calculator (example below), and need help figuring out how to calculate overtime.
    I figured out how to calculate total time for the day ( SUM=(B2-A2)+(D2-C2) )
    and calculating over time is simple if the total time is greater then 8. as in row 2 or 3. ( SUM=(E2-8) )
    My problem comes when Total Time is less then 8hrs, I start getting negative Over Time. as in row 4.
    I know that I need to tell Numbers that if total time is less then 8 Over Time needs to Equal 0. I just don't know how to do that.
    The only Function I know how to use is the SUM function.
    Any help would be greatly appreciated.
    Thanks
    Example
    A
    B
    C
    D
    E
    F
    G
    1
    In
    Out
    In
    Out
    Total Time
    Regular Time
    Over Time
    2
    8.02
    12.99
    13.97
    17.04
    8.04
    8
    0.04
    3
    8
    13
    14
    17
    8
    8
    0
    4
    8.1
    12.94
    14.03
    16.94
    7.75
    8
    -0.25

    Sam,
    OT = MAX(totaltime - 8hours, 0)
    With that expression, Overtime will never go negative.
    Jerry

  • Calculating total time.

    I'm somewhat new to using spreadsheets. Basically I just want to keep track of the time I spend doing a particular job. So I'm tracking my start time, end time, and then I want to calculate the total time spent. Thanks.

    Yes, I thought about that. But if you start at say
    9pm and end at 2am you would get the incorrect result
    of 7 hours. I think I have to convert the time to
    something else before the math takes place. But I'm
    not sure how that would work.
    I'm not sure how you managed to subtract 9pm from 2pm and get 7 hours. When I try 2am - 9pm, I get #VALUE!, as AppleWorks reads both 'times' as text, and cannot use Text values in a formula that requires numbers. AppleWorks is a bit fussy on what it considers to be a number.
    Using the default alignment, you can recognize what AppleWorks thinks is a number—it will be aligned to the right of the cell—and what AW considers to be Text—it will be aligned to the left of the cell. In the case of Time, you're better off using the 24 hour clock, and entering one minute betore 2pm as 13:59.
    The Mac clock's unit of time is the (24 hour) Day, and all times entered are regarded as the portion of one day that has elapsed up to that time. When you do the subtraction, the result is also a time of day. For start and end times within the same calendar day, simply doing the subtraction will give a result that can be read as the (correct) elapsed time. For the example times you gave, the 'correct' result is also visible:
    02:00 - 21:00 = 05:00
    But the actual numbers behind that 05:00 result and the two times used to get it are the portion of the current day that has passed up to each of the times entered, and the difference obtained when you do the subtraction:
    0.0833 - 0.8750 = -0.7917
    If you only want the (readable) result for a single day, that's not a problem. But if you want to add the results to get a total time for a week, you need to (make AppleWorks) do some additional math. In simplest terms, you need to add 1 to the end time if the end time is on the calendar day after the start time. There's an explanation of this below, which you should read for a better understanding of Time and the Mac, but which isn't necessary to use the formula.
    The formula assumes your start time is in column B, your end time in column C, your formula reporting time worked is in column D, and that you will enter times in rows 2..6, and calculate the week's sum in D7
    Enter in D2, and fill down to D6: =IF(C2,C2-B2+(C2<B2),"")
    Format these cells to display as Time.
    Enter in D7: =24(SUM(D2..D6)) —to report the result in hours (eg. 25.678)
    Format the cell to display as Number, General.
    or
    Enter in D7: =INT(24(SUM(D2..D6))&":"MINUTE(SUM(D2..D6)) —to report the result as hours and minutes
    Note that the second option for D7 produces a text string which will not be useable in further calculations.
    This is Text, so no Number formatting is necessary.
    Regards,
    Barry
    Time and the Mac
    The Mac clock tracks time in Days and Fractions of a Day, starting at midnight, January 1, 1904.
    Nine PM today, May 8, 2006, represented as a decimal number, is 37383.875. Two AM tomorrow, May 9, 2006, is 37384.0833333333.
    An AppleWorks spreadsheet cell (or database field) formatted to display as Time will ignore the whole number part of those numbers, and interpret the decimal fraction part as Time of Day, and display the result in the Time format you have chosen for the cell.
    A cell (or field) formatted to display as a Date will ignore the fractional part of the number, and display the whole number part in the Date format you have chosen.
    When you enter a time, the result is the time of day on January 1, 1904. When calculating elapsed times where start and end times cross the midnight boundary, you need to add 1 (day) to the result to compensate for the change in day and get a result that can be used in further calculations. That's what the "+(C2<B2)" part of the first formula above does—adds 1 if "(C2<B2)" is TRUE or adds 0 it it's false.
    If you add times, the result is 'correct', but if the total reaches 24 hours, the displayed result will appear incorrect as a Time formatted cell ignores the whole number part of the actual result (eg. 27 hours, or 1.25 days), will display as 03:00, the same as 3 hours, or 0.25 days. You can convert the result to hours and fractions of hours by simply multiplying the result by 24, and displaying it as a Number rather than as Time.
    B

  • Apple TV Export Calculating Estimated Time Lockup

    Looking for some help here... I am exporting video from QTPro to Apple TV. Just recently, when I go to FILE/EXPORT choose Apple TV then OK, the export dialog comes up but says "Exporting -- Calculating Estimated Time" and just sits there for a short 100MB HDV - Apple Intermediate Codec file.
    Any thoughts? This work fine since upgrading to 7.1.5 until just today. Tried repairing permissions, re-installing QT 7.1.5, reboot, did not help.

    I found that if I copy and paste the original file into a new QuickTime movie, the export worked as it should. I wanted to post a followup in case anyone else encounted this issue.

  • How to perform calculations on time? (e.g., time x 26.2?)

    I need to do various calculations on time, such as:
    (1) Marathon finish time is 3:39:00 (h:mm:ss). Divide by 26.2 to get the pace (minutes per mile).
    (2) I run 0.935 miles in 6:57 (m:ss). Divide 6:57/0.935 to get the pace.
    These were dead-simple in AppleWorks. My formulas were simply =A1/26.2 and =A2/0.935 respectively. But I'm having a sinking feeling that I can't do it in Numbers, at least not easily. I did find the TIMEVALUE() function, so for the first problem I can use the more cumbersome =TIMEVALUE(A2)/26.22460, but then my result is in decimal form (8.35878), and I can't find a way to get it back into time format (8:22).

    Michael Bluejay wrote:
    I need to do various calculations on time, such as:
    (1) Marathon finish time is 3:39:00 (h:mm:ss). Divide by 26.2 to get the pace (minutes per mile).
    (2) I run 0.935 miles in 6:57 (m:ss). Divide 6:57/0.935 to get the pace.
    These were dead-simple in AppleWorks. My formulas were simply =A1/26.2 and =A2/0.935 >respectively. But I'm having a sinking feeling that I can't do it in Numbers, at least not easily.
    The original premise of your question was incorrect. You can most definitely divide a duration by a number and avoid having to convert from a decimal back to a duration.
    You may be using the wrong format for your data (what you are calling "time") and that is probably the root of the problem. Time and duration are two different things. TIMEVALUE works on the date&time data type, not durations. If TIMEVALUE is not giving you an error, your durations are not durations but are, instead, the date and time of day.
    Here are two equations that work just fine in Numbers if the 3h 39m is a duration value.
    3h 39m/26.2 = 0h 8m 21s 527ms (hms format)
    3:39/26.2 = 0:08:21.527 (colon format)
    If you want to convert a decimal value to a duration, use the DURATION function. That is not necessary for what you are trying to do but I present it because you asked. If you want to convert 3:39:00 to 8:22, make sure the 3:39:00 is a duration and not "January 25, 2010 3:39:00AM" then divide the 3:39:00 by 26.2

  • Duplicate calculations multiple times on a PDF?

    Hello,
    When using Acrobat Pro XI is there a way to repeat a calculation down a PDF page without having to manually
    create a Product from 2 cells each time?
    See attached image for illustration of question.
    Thank you,
    Chris.

    Hello Sukrit,
    Thank you for your helpful reply.
    I'm familiar with adding formulas in Excel, and I actually created this document in Excel and then exported it as a PDF.
    But I don't think Excel formulas will export into a PDF, will they.
    I'm not Java Script savvy so that isn't an option for me.
    This may just be too dense a task for Acrobat Pro. Normally when people make fillable forms they have a misc. selection of fillable fields, not rows and rows of calculations.
    Chris.

  • Task time constraints

    Hi,
    I'd like to set up time constraints for every task in my processes in order to "refresh" (terminate and recreate) tasks that are being held by some user or that have been inactive for a long time (so I can make them visible to new users who joined the group after the task creation).
    I'm looking at two parameters: completion deadline and expiration deadline.
    I'm wondering:
    1)
    Completion deadline is activated when an user take ownership of a task? And Expiration deadline is calculated in respect to the task activation/creation?
    2)
    If that is the case, is it possible to have both Completion Deadline and Expiration Deadline to work as follows:
    if no user take ownership of the task, terminate the task in 3 days (expiration deadline)
    if an user took ownership of the task, suspend or reset the expiration deadline and terminate the task in 2 days if the user still keeps ownership of the task without completing it; it the user then releases the task without completing it resume the expiration deadline (from where it was left or from the start)
    Does it work that way?
    If you could provide me some examples or references, I'll be grateful.
    Thank you,
    Pietro
    PS: I'm using Netweaver 7.1

    Hi Peitro,
    For using a Timer, you will have to add a Boundary event to a task. There are 4 default exception thrown for a boundary event:
    1.StartDeadlineIsCriticalException
    2.StartDeadlineIsNonCriticalException
    3.CompletionDeadlineIsCriticalException
    4.CompletionDeadlineIsNonCriticalException
    Please refer this [Article|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7063a59e-0728-2c10-9d8a-cd6ce21e1c65?QuickLink=index&overridelayout=true] for more information about Boundary events.
    Try adding CompletionDeadlineIsCriticalException boundary event to your task and give the required time limit in the Completion Deadline section under Time Constraint tab of your task.
    Regards,
    Unni

  • Calculating total time from a query

    Hi everyone,
    I have a simple database and one of the fields in this
    database is time spent on stuff, for example a bike ride lasted
    00:45:00, 01:33:03, 01:23:03 ETC
    what I am trying to do is calculate total time. so do a sum
    of that column.
    Simple enough.
    the column is a VarChar, I tried Time as well and well that
    did not go well.
    if I use mysql command line I get this:
    mysql> SELECT SUM(mv_time) FROM data WHERE user_id = 2;
    +--------------+
    | SUM(mv_time) |
    +--------------+
    | 8 |
    +--------------+
    1 row in set (0.00 sec)
    No idea how it came up with that one as 8 is incorrect
    so I got a bit fancier:
    mysql> SELECT SEC_TO_TIME(SUM(TIME_TO_SEC(mv_time))) AS
    mv_time FROM data WHERE user_id = 2;
    +----------+
    | mv_time |
    +----------+
    | 26:14:58 |
    +----------+
    1 row in set (0.00 sec)
    Bingo that is correct.
    but if I use that same query within cfquery I get a nice java
    error telling that you can't have 26 hours in a single day.
    Any ideas how I can accomplish this should be simple task?
    Thank you.
    Luc

    Hi Cf_dev2,
    How would I go about making easy for my users to submit the
    seconds into the database?
    for example I would want them (them being me really :) ) to
    enter 01:35:00 (for one hour and 35 minutes) and then have CF or
    SQL convert that to seconds (instead of having myself figure that
    out manually I am no good at math)
    Jdeline, I don't understand what you mean by not storing it
    as comma delimited, as far as I know its not comma delimited, its
    stored in a table called data along with a primary key id, userid,
    date, etc
    Thanks
    Luc

  • Problem in VAT Calculation @ the time of MIRO

    Dear All,
    We are using the Tax Procedure TAXINN.
    When we create a LIV document with ref to a PO using the transaction MIRO & when I check the calculate tax button, the tax amount which is displayed in the Basic data is more than the amount which is displayed in the taxes tab.
    For Ex:
    Created a PO with the following details.
    Total Qty in PO -  10
    Base Price - 1000/qty.
    BED - 14% - 1400.00
    ECS - 2% -      28.00
    VAT - 4% - (4% on 11428) - 457.12
    So my total Tax = 1885.12 (Including Excise & VAT).
    Now when I create a MIRO document the tax amount which gets calculated when I check the Calculate button is 1885.12 (Same as above) in the Taxes tab of MIRO.
    But the tax amount which is displayed in the Basic data tab is 1,942.24
    Also when I simulated the MIRO entrys the VAT amount which was simulated was - 514.24  & not 457.12 as in PO.
    Can anyone please advice on the reason for this mismatch in VAT calculation during the time of MIRO?
    Is there any specific settings for VAT in TAXINN ??
    Note :
    The Excise & VAT are calculated correctly during the time of PO creation. Also I havent maintained any additional VAT condition types for my VAT in the tax procedure.
    Awaiting helpful replies.
    Regards,
    Edited by: SAP FC on Dec 5, 2008 3:44 PM

    Hi All,
    Please note that when I removed the VAT condition type JVRD from the Classify condition types settings in IMG  then the VAT amount which is calculated in the Basic data tab of MIRO is equal to the actual Tax amount as in PO (Excise + VAT ), but the amount which is displayed in the tax tab of MIRO is less.
    Now if I maintain the Classify condition types settings in IMG for my VAT condtn type JVRD then the VAT amount which is calculated in basic data is more than both the PO as well as tax tab in MIRO.
    Please note  as you all have suggested I tried this after creating a new material & with the newly maintained condition records in FV11.
    But still the issue persists..
    If anyone have any idea. plz revert.
    Regards,
    Edited by: SAP FC on Dec 9, 2008 10:23 AM

  • Variation calculation without time series?

    Hi all.
    I've got a pivot table like the one below. Time series is not implemented in the rpd, due to performance reasons. Is there a way to calculate the variation between two measures on two different dates in a pivot table (Difference column below), similar to what we achieve using the AGO() timeseries function. The dates are chosen by the user from a dashboard prompt, so I am not sure if calculated item would apply here and dynamic items ($1, $2) does not work too. The pivot table has more columns and rows than the example below.
    _________________Dates
    Product___01/10/11____02/10/11____Difference
    A__________10_________15___________5
    B___________8__________6___________-2
    C___________8__________8___________0
    Thank you.
    Regards,
    Edited by: user10634835 on 03-Oct-2011 01:54
    Edited by: user10634835 on 03-Oct-2011 02:06
    Edited by: user10634835 on 03-Oct-2011 02:08

    Hi,
    By using $2 - $1 in the new calculated item under pivot table view.
    Ex:
    Name 3-10-2011 1-10-2011 diff
    dev 423 400 23
    let say from date =1-10-2011 refer as $1
    to date =3-10-2011 referd as $2
    *$2-$1 will get any two date difference..fully automatically*
    *100% it will work...i have also implemented the same*
    Thanks
    Deva
    Edited by: Devarasu on Oct 3, 2011 5:18 PM

  • Performance Tuning: Http Task Time Response Time Threshold

    I must analyze the response time of HTTP task on my instance and I found any value from tcode ST03.
    For HTTP task with my user I have these values:
    N. Step   T resp.time    A. Resp.Time   T. DB Time   A. DB Time
    3405         3072              902,1                1436            421,7
    Now I would like to know if these values are correct or they are very high.
    Is there an OSS Note which explain the threshold of all task type??
    Thanks in advanced.
    Moreno

    If its an external ITS,
    here is one note:
    Note 388198 - ITS performance problems - Monitors and log files
    if its an internal ITS,
    Note 892442 - Integrated ITS configuration/performance
    Regards,
    Siddhesh

  • Calculating End Time

    Post Author: warrior0527
    CA Forum: Formula
    I have a Start Time field (24 hour format) and Duration field (in minutes) and want to calculate the End Time of a meeting. I have not been able to figure out which Time variable to use to make the calculation. Can anyone help?
    Thanks

    Post Author: SKodidine
    CA Forum: Formula
    This formula will display the End time as 11:30:00AM.
    timevalue() + ( * 60);
    If you want the end time displayed as 11:30 AM then;
    totext((timevalue() + ( * 60)), "HH:mm tt");
    Where the start time is of the format "10:45" and Duration is the minutes which is numeric.

  • How to do a calculation (with times)

    Hi all! I'm creating a pdf form using Acrobat Professional CS4. My client wants the person using the form to type in the time they start their shift, the time they end their shift... and then have it automatically calculate the time they spent at work.
    At the end of the week (the pdf is for one week), she wants it to total up the total number of hours worked for that week.
    I see that I can do calculations, but I have no idea how to do this. Are there any tutorials or web sites that could help me with this? Thank you so much!
    Julie

    You might try looking around here
    http://www.planetpdf.com/

  • Dax Calculating Same time previous period with nonstandard periods

    I need help dealing with prior period calculations where the periods are not standard.
    In our business we define these time periods based on 8 to 10 week periods that really have no correlation to standard weeks, months or quarters.  Additionally there may be some time between these periods that are not defined. For example:
    Period 1 (p1) = June 18 - Sept 2
    Period 2 (p2) = Sept 17 - Dec 9
    The length of the periods are variable and when one ends another does not necessarily begin.
    I need to figure out how to compare the sum of a metric in Period 2 with the sum of a metric in Period 1.
    I have a standard Date dimension. And I have a period deminsion with the period labels (p1, p2 etc.) the start date, the end date of the periods, and a column called previousPeriod that has the label of the prior period.
    Each Fact has a Period ID so that I can use period as a dimension.One of my measures is Sum(sales).
    I want it so that if I am viewing the Tabular cube by period, I can have the sum of sales for that period, and the prior one. I hope it is clear what I am trying to do.

    You should add to your Date table a column that contains an incremental number for each period, then write something like:
            CALCULATE
                [Sales],
                ALL
    ( 'Date' ),
                FILTER
                    ALL
    ( 'Date'[IncrementalPeriod] ),
                    'Date'[IncrementalPeriod]
                        =
    EARLIER ( 'Date'[IncrementalPeriod]
    ) - 1
    I suggest you this pattern that will be published on March 31 - it contains many more examples, including how to write the make this formula working also with a partial arbitrary selection of days in the selected period:
    http://www.daxpatterns.com/time-patterns
    Marco Russo http://www.sqlbi.com http://www.powerpivotworkshop.com http://sqlblog.com/blogs/marco_russo

Maybe you are looking for