Numbers "Employee Schedule" template question

In the "employee work schedule" template, one of the formulas is deducting a certain amount of time for lunch. I can adjust the time taken out ok (i.e. from one hour down to 30 minutes) - but I only want a lunch deduction taken on shifts of 6 hours or greater. Any ideas?

Replace the formula
=IF(OR(C4="",C5=""),"",IFERROR(C5-C4-Administration Information :: $B$1,""))
with
=IF(OR(C4="",C5=""),"",IFERROR(C5-C4-IF(DUR2HOURS(C5-C4)>=6,Administration Information :: $B$1,DURATION(0)),""))
Basically you are adding an IF statement that says "if the time difference is less than 6 hours then don't subtract a lunch break". Put this in C6 and drag/copy it to the other cells in the row.
There are some other changes you might want to make to this template. It has some problems that arise when it is edited. A search of the forum should lead you to those posts.
Message was edited by: Badunit

Similar Messages

  • Using COUNTIF on time values in pop-up menu (employee schedule template)

    I have modified the Numbers employee schedule template to my liking and it works very well. I would like to add a column to the beginning which shows, at a glance, how many people I have scheduled for AM shifts and PM shifts on a given day. My AM shifts start at 9:00 AM and my PM shifts end at 6:30 or 8:30 PM.
    So I thought I could use COUNTIF, but after I set the array, I cannot get the condition right to return anything except "0". How do you make it detect the appropriate times? The times in each cell for In and Out times are selected using a pop-up menu, just like the template.
    Here is what I tried: =COUNTIF(E3:AE3,"9:00 AM")
    What should the condition be to return a proper count?

    ac,
    You shouldn't feel badly about having trouble with this template. It is a rather tricky one. The values in the Pop-Up menus are Date/Time values. That is to say, they have year, month, day, hour and minute components, even if only the hours and minutes are displayed. So if you only compare to the hours and minutes, you will never get a match.
    I don't know if you have experienced this yet, but when you changed the Pop-Up menu content, you probably entered the current year, month and day unknowingly and will have trouble doing math against the Pop-Up content that was originally in the template.
    My suggestion in your case would be to convert the time references to decimal hours before doing a comparison. For instance, if the time you wish to compare to is in cell C4, you could extract the decimal hours with =HOUR(C4)+MINUTE(C4)/60
    Remember that the hours will reflect a 24-hour day, so times in the afternoon will run from 12.0 to 23.99...
    Then after converting to decimal, instead of using "9:00 AM" for the COUNTIF criteria, use 9.
    There are probably ways to do this using the Duration format as well, but I prefer the decimal hours.
    Hope this helps.
    Jerry

  • Problem with  "Employee Schedule" template

    Help!
    I'm trying to use the Employee Schedule template and add some new values to the popup of times. Although they appear just as times like "5:00 PM", they actually seem to be date-times (on 15 Jul 2008, which I guess is when the template was created).
    If I add a new value like "11:00 PM" it's taken to be today's date so the hours calculation is way out. If I type in something like "15 Jul 2008 11:00PM" then the calculation works but I see the date as well as the time!
    Is there any way of changing the formatting of a cell that's of type "Pop-Up Menu" to only show hours and minutes?
    -Rolf

    Rolf,
    If you want to add new values, change them all so they will all have the same date. You'll need to do this for both starting and ending times so the math will come out properly. When you've made a new pair of Pop-ups, copy them and paste them to all the locations where you need them.
    Regards,
    Jerry

  • Employee schedule with variable lunch times

    I am trying to set up an employee schedule that calculates the hours worked each day. If the hours worked are <=5, no lunch time is subtracted; if the hours worked are >5 but <9, 30 minutes are subtracted; if the hours worked are >=9, 1 hour is subtracted. I'm fine if I only calculate a single lunch unit—it's when I try to get it to figure all three options that I get the little red triangle. I've tried using IF(AND( but I'm pretty sure I'm screwing up what goes within the parentheses and where the opening and closing parentheses go. Should I be using IF(OR( instead? A whole string of IF(s?
    I've got the start and end time cells formatted as "Automatic/Date-none/Time-7:08 PM" and the cell for the hours worked formatted as "Duration-0h0m" if that makes any difference.
    Also, the employee schedule template has a fairly involved formula for calculating the hours. I was able to get Numbers to figure the duration by subtracting the start time from the end time, which seems much simpler. Is there some reason I'm unaware of why this would not be a good way to do it? What do the empty quote marks mean in the template's formula?

    storesr wrote:
    (T)he employee schedule template has a fairly involved formula for calculating the hours. I was able to get Numbers to figure the duration by subtracting the start time from the end time, which seems much simpler. Is there some reason I'm unaware of why this would not be a good way to do it? What do the empty quote marks mean in the template's formula?
    The formula used in the template is:
    =IF(OR(C7="",C8=""),"",IFERROR(C8-C7-Administration Information :: $B$1,""))
    The heart of the formula,— *C8-C7-Administration Information :: $B$1* — does what you're doing—subtracts the start time (C7) from the end time (C8), and subtracts the lunch break (Administration Information::$B$1) from that.
    The first IF statement says "if either of C7 OR C8 contains the null string (""), THEN return the null string (""),ELSE do the IFERROR part.
    This keeps the result cell appearing blank until both the start and stop times have been set using the popups in C7 and C8.
    IFERROR works as an error filter, and returns the part after the comma (the null string in this case) IF it encounters an ERROR in performing the calculation in the part before the comma. I initially found it a bit confusing as it seems to be set up in the opposite order from IF.
    I am trying to set up an employee schedule that calculates the hours worked each day. If the hours worked are <=5, no lunch time is subtracted; if the hours worked are >5 but <9, 30 minutes are subtracted; if the hours worked are >=9, 1 hour is subtracted.
    A pair of nested IF statements, and a modification of the Admin Info table to include the two breakpoints and their associated lunch break durations should work here.
    Modify the Administration Information table by adding a column before column B and a row Above row 1.
    Add the break points into B1 and B2 of this table, and the short lunch beak time into C1.
    Duration of lunch break | 5h 0m | 0h 30m
    Duration of lunch break | 9h 0m | 1h 0m
    Maximum weekly hours |               | 40h 0m
    Overtime pay                 |                | 150%
    =IF(C8-C7>Administration Information :: $B$2,C8-C7-Administration Information :: $C$2,IF(C8-C7>Administration Information :: $B$1,C8-C7-Administration Information :: $C$1,C8-C7))
    This formula can work on its own in C9, or can be used (without the leading = sign) in place of the first part of the IFERROR statement in the original formula in C9, leaving the rest of that formula as is, and retaining the benefits described above.
    Regards,
    Barry

  • Hi I'm a total novice, as you will see. But Iam trying to use template of an employee schedule but when I try to add extra columns it does not add the preset formula with it, so it works out total hours and total pay?   If any one can help please.

    Hi I'm a total novice, as you will see. But Iam trying to use template of an employee schedule but when I try to add extra columns it does not add the preset formula with it, so it works out total hours and total pay?   If any one can help please before I throw it through the window!

    Grum12 wrote:
    Hi I'm a total novice, as you will see. But Iam trying to use template of an employee schedule but when I try to add extra columns it does not add the preset formula with it, so it works out total hours and total pay?   If any one can help please before I throw it through the window!
    Hi Grum,
    If the formulas aren't filling to the new column, you must have changed something in the template since you first opened it. Numbers is rather fussy about filling row content in columns as they are added. Only rows with the same expression in every Body Column will fill when a column is added. Just as an experiment, start a new Employee Schedule document from the Template Chooser and then add a column by clicking the Add Column handle in the upper right corner of the table. If that works, as it should, then think about what might have changed in your working document to disconnect that feature. Maybe we can figure it out together.
    Jerry

  • Numbers Loan Calculator Template interesting question

    Hi all,
    if you note the Loan Calculator program has a Form for inputting data.
    However you can only change a few values and the other fields are 'locked'.
    How can you unlock those fields?
    How can I add another field into the form without it being visible in the corresponding sheet?
    Thank you for your advice

    Welcome to Apple Discussions
    And if you are asking about the desktop version of Numbers, please post your question in the appropriate sub-forum in the Numbers forum category.

  • Numbers (or Pages) Template Cannot Be Opened From Outside the Application

    Ever since the upgrade to Mavericks, I cannot open a Numbers (or Pages) template without being asked.....
    Do you want to add this custom template to the Template Chooser?  Then my only options are Cancel or Add to Template Chooser.
    If I cancel, it won't open anything.
    But this template is already in my Template Chooser.
    So the only way to open a template in Numbers (or Pages) is to open the application first, and then click "New", and choose the template.
    I can't figure out a way to open the template from outside the application, which is very very handy, rather than having to open the application every time that I want to access a template.
    How can I open a template simply by clicking on it?

    Yes, the problem is that opening the template from outside of the application will not open the application, showing the document.  I only get this....
    Do you want to add this custom template to the Template Chooser?  Then my only options are Cancel or Add to Template Chooser.
    If I cancel, it won't open anything. 
    But this template is already in my Template Chooser.
    Put your Pages or Numbers document on your desktop and open it by double-clicking it, and you'll understand.  You can't do it, even if the template is in your template chooser.
    The only way to do this now is to open the application, select "New", and the select the template.  So you cannot open a template from outside the application....only from within.

  • Dynamic table generation for Employee Schedule Project

    Hi,
    I am new to Jave programming and attempting to teach myself Java using the Sun tutorials & these forums. As a first step of learning, I want to do a Automated Employee Schedule Project in Java. (JSP)
    There are two main parts of the project. The first part will be a table with the employees listed down the left, the days of the week across the top, and with each cell being that employee's shift for the day. There are four different types of shift in a day ( M- Morning, R- Regular, A- Afternoon and N- Night).
    The second part will allows the user to enter in a new employee or display/edit an existing employee's information, including a list of scheduling constraints, like can?t work in Morning shift / Night shift. Apart from that number of employee in a shift may vary based on situation.
    Could you please help me to understand the flow for creating this Automated Employee Schedule project?
    Thanks in advance.
    Amitava

    I need the logic as to how to generate the shift plan. Could you tell me how to get about creating this dynamic table and any idea what i should take as baseline? I was thinking to read the employees from the database and take them as input for the first column. and the number of days as the column list. Can you tell me if this is the correct approach?

  • XML/RTF Data Template Question : Linking

    Ok, I have my data template here however when I try to print it, BIP makes no attempt to link the queries. I am using the Bind Method here with an XML Data Template.
    Data template is:
    <dataTemplate name="Orders_Dataset" description="List of Orders with Details" dataSourceRef="COE" defaultPackage="results_report">
    <parameters>
    <parameter name="TERM" dataType="character"/>
    </parameters>
    <dataQuery>
    <sqlStatement name="People_Query">
    <![CDATA[SELECT DISTINCT PERSON Personp, RECTYPE RECTYPEP, SEC SECP, TERM TERMP, (SELECT TERMNAME FROM TERM b WHERE b.BANNER_CODE = TERM ) termnamep, PERSON || ' ' || SEC PERSEC FROM COE_DATA]]>
    </sqlStatement>
    <sqlStatement name="General_Questions_Query">
    <![CDATA[select DISTINCT d.PERSON PERSON, d.SEC SEC, q.Q_Number Q_Number, q.Q_ID Q_ID, TRIM(q.TEXT) text, TRIM(q.A1) A1, TRIM(q.A2) A2, TRIM(q.A3) A3, TRIM(q.A4) A4, TRIM(q.A5) A5, TRIM(A6) A6 from  COE_DATA d, coe_questions q WHERE q.Q_Number = d.Q_ID and Q_Number < 6 and d.Person = :Personp order by Q_Number]]>
    </sqlStatement>
    <sqlStatement name="Department_Questions_Query">
    <![CDATA[select DISTINCT d.PERSON PERSON, d.SEC SEC, q.Q_Number Q_Number, q.Q_ID Q_ID, TRIM(q.TEXT) text, TRIM(q.A1) A1, TRIM(q.A2) A2, TRIM(q.A3) A3, TRIM(q.A4) A4, TRIM(q.A5) A5, TRIM(A6) A6 from  COE_DATA d, coe_questions q WHERE q.Q_Number = d.Q_ID and d.Person = :Personp order by Q_Number]]>
    </sqlStatement>
    <sqlStatement name="Results_Query">
    <![CDATA[SELECT DISTINCT a.person person, a.rectype rectype, a.sec sec, a.term term, a.Q_ID q_id,
    NVL((SELECT b.PERCENTVALUE FROM coe_data b where a.person = b.person and a.rectype = b.RECTYPE and a.sec = b.sec and a.term = b.term and a.Q_ID = b.Q_ID and b.AD_ID = 1 ), '0 |  0.00%') A1,
    NVL((SELECT c.PERCENTVALUE FROM coe_data c where a.person = c.person and a.rectype = c.RECTYPE and a.sec = c.sec and a.term = c.term and a.Q_ID = c.Q_ID and c.AD_ID = 2 ), '0 |  0.00%') A2,
    NVL((SELECT d.PERCENTVALUE FROM coe_data d where a.person = d.person and a.rectype = d.RECTYPE and a.sec = d.sec and a.term = d.term and a.Q_ID = d.Q_ID and d.AD_ID = 3 ), '0 |  0.00%') A3,
    NVL((SELECT f.PERCENTVALUE FROM coe_data f where a.person = f.person and a.rectype = f.RECTYPE and a.sec = f.sec and a.term = f.term and a.Q_ID = f.Q_ID and f.AD_ID = 4 ), '0 |  0.00%') A4,
    NVL((SELECT g.PERCENTVALUE FROM coe_data g where a.person = g.person and a.rectype = g.RECTYPE and a.sec = g.sec and a.term = g.term and a.Q_ID = g.Q_ID and g.AD_ID = 5 ), '0 |  0.00%') A5,
    NVL((SELECT h.PERCENTVALUE FROM coe_data h where a.person = h.person and a.rectype = h.RECTYPE and a.sec = h.sec and a.term = h.term and a.Q_ID = h.Q_ID and h.AD_ID = 6 ), '0 |  0.00%') A6, 1 o_id
      FROM coe_data a where term = :termp and a.Q_ID = :Q_Number and a.sec = 'COE' and a.person = 'COE'
    UNION
    SELECT DISTINCT a.person person, a.rectype rectype, a.sec sec, a.term term, a.Q_ID q_id,
    NVL((SELECT b.PERCENTVALUE FROM coe_data b where a.person = b.person and a.rectype = b.RECTYPE and a.sec = b.sec and a.term = b.term and a.Q_ID = b.Q_ID and b.AD_ID = 1 ), '0 |  0.00%') A1,
    NVL((SELECT c.PERCENTVALUE FROM coe_data c where a.person = c.person and a.rectype = c.RECTYPE and a.sec = c.sec and a.term = c.term and a.Q_ID = c.Q_ID and c.AD_ID = 2 ), '0 |  0.00%') A2,
    NVL((SELECT d.PERCENTVALUE FROM coe_data d where a.person = d.person and a.rectype = d.RECTYPE and a.sec = d.sec and a.term = d.term and a.Q_ID = d.Q_ID and d.AD_ID = 3 ), '0 |  0.00%') A3,
    NVL((SELECT f.PERCENTVALUE FROM coe_data f where a.person = f.person and a.rectype = f.RECTYPE and a.sec = f.sec and a.term = f.term and a.Q_ID = f.Q_ID and f.AD_ID = 4 ), '0 |  0.00%') A4,
    NVL((SELECT g.PERCENTVALUE FROM coe_data g where a.person = g.person and a.rectype = g.RECTYPE and a.sec = g.sec and a.term = g.term and a.Q_ID = g.Q_ID and g.AD_ID = 5 ), '0 |  0.00%') A5,
    NVL((SELECT h.PERCENTVALUE FROM coe_data h where a.person = h.person and a.rectype = h.RECTYPE and a.sec = h.sec and a.term = h.term and a.Q_ID = h.Q_ID and h.AD_ID = 6 ), '0 |  0.00%') A6, 2 o_id
      FROM coe_data a where term = :termp and a.Q_ID = :Q_Number and a.sec = :secp and a.person = :secp
    UNION
    SELECT DISTINCT a.person person, a.rectype rectype, a.sec sec, a.term term, a.Q_ID q_id,
    NVL((SELECT b.PERCENTVALUE FROM coe_data b where a.person = b.person and a.rectype = b.RECTYPE and a.sec = b.sec and a.term = b.term and a.Q_ID = b.Q_ID and b.AD_ID = 1 ), '0 |  0.00%') A1,
    NVL((SELECT c.PERCENTVALUE FROM coe_data c where a.person = c.person and a.rectype = c.RECTYPE and a.sec = c.sec and a.term = c.term and a.Q_ID = c.Q_ID and c.AD_ID = 2 ), '0 |  0.00%') A2,
    NVL((SELECT d.PERCENTVALUE FROM coe_data d where a.person = d.person and a.rectype = d.RECTYPE and a.sec = d.sec and a.term = d.term and a.Q_ID = d.Q_ID and d.AD_ID = 3 ), '0 |  0.00%') A3,
    NVL((SELECT f.PERCENTVALUE FROM coe_data f where a.person = f.person and a.rectype = f.RECTYPE and a.sec = f.sec and a.term = f.term and a.Q_ID = f.Q_ID and f.AD_ID = 4 ), '0 |  0.00%') A4,
    NVL((SELECT g.PERCENTVALUE FROM coe_data g where a.person = g.person and a.rectype = g.RECTYPE and a.sec = g.sec and a.term = g.term and a.Q_ID = g.Q_ID and g.AD_ID = 5 ), '0 |  0.00%') A5,
    NVL((SELECT h.PERCENTVALUE FROM coe_data h where a.person = h.person and a.rectype = h.RECTYPE and a.sec = h.sec and a.term = h.term and a.Q_ID = h.Q_ID and h.AD_ID = 6 ), '0 |  0.00%') A6, 3 o_id
      FROM coe_data a where term = :TERMP and a.Q_ID = :Q_NUMBER and a.sec = :SECP and a.person = :PERSONP order by o_id, rectype]]>
    </sqlStatement>
    </dataQuery>
    <!--dataTrigger name="beforeReport" source="results_report.beforeReportTrigger"/-->
    <dataStructure>
    <group name="G_People" source="People_Query">
    <element name="Person" value="personp"/>
    <element name="Section" value="secp"/>
    <element name="Course_Number" value="RECTYPEP"/>
    <element name="Term" value="TERMP"/>
    <element name="PERSEC" value="PERSEC"/>
    <group name="G_GENERAL_QUESTIONS" source="Department_Questions_Query">
    <element name="GQuestion_Text" value="text"/>
    <element name="GQuestion_Number" value="Q_Number"/>
    <element name="GQ1" value="A1"/>
    <element name="GQ2" value="A2"/>
    <element name="GQ3" value="A3"/>
    <element name="GQ4" value="A4"/>
    <element name="GQ5" value="A5"/>
    <element name="GQ6" value="A6"/>
    <group name="G_GENERAL_ANSWERS" source="Results_Query">
    <element name="GAPerson" value="person"/>
    <element name="GArec" value="rectype"/>
    <element name="GAsec" value="sec"/>
    <element name="GARQ_ID" value="Q_ID"/>
    <element name="GA1" value="A1"/>
    <element name="GA2" value="A2"/>
    <element name="GA3" value="A3"/>
    <element name="GA4" value="A4"/>
    <element name="GA5" value="A5"/>
    <element name="GA6" value="A6"/>
    </group>
    </group>
    <group name="G_DEPARTMENT_QUESTIONS" source="Department_Questions_Query">
    <element name="DQuestion_Text" value="text"/>
    <element name="DQuestion_Number" value="Q_Number"/>
    <element name="DQ1" value="A1"/>
    <element name="DQ2" value="A2"/>
    <element name="DQ3" value="A3"/>
    <element name="DQ4" value="A4"/>
    <element name="DQ5" value="A5"/>
    <element name="DQ6" value="A6"/>
    <group name="G_DEPARTMENT_ANSWERS" source="Results_Query">
    <element name="DAPerson" value="person"/>
    <element name="DArec" value="rectype"/>
    <element name="DAsec" value="sec"/>
    <element name="DARQ_ID" value="Q_ID"/>
    <element name="DA1" value="A1"/>
    <element name="DA2" value="A2"/>
    <element name="DA3" value="A3"/>
    <element name="DA4" value="A4"/>
    <element name="DA5" value="A5"/>
    <element name="DA6" value="A6"/>
    </group>
    </group>
    </group>
    </dataStructure>
    </dataTemplate>
    I am trying to establish all my linking in this data template. However I noticed a discrepancy between the expected output and what I received. For some reason at the 3rd level of the dataStructure (the answer level), it restarts at Q_ID = 1 instead of whatever the Q_Number is from the level above. In my case all of the answers are in the same table regardless of category. Can someone offer up any help with fixing my template?
    I did notice something odd, for G_DEPARTMENT_ANSWERS it is working correct but does not work for G_GENERAL_ANSWERS.

    Warren,
    You need to select data source type as DataTemplate and then cut and paste your DataTemplate in the text editor window.
    Make sure you define the dataSourceRef in dataTemplate Header. The dataSourceRef is the DataSource (JDBC Connection) you define through Administartion.
    <dataTemplate name="Employee" description="Template description" dataSourceRef="demo">
    -Ashish

  • Does anyone have an employee counselling template?

    Does anyone have an employee counselling template?

    Yes.  It's quite simple.  It can't be done.
    Sorry.

  • Security dynamic schedule template

    Hi Gurus,
    I don't want user to open dynamic templates and create custom schedules. I know we have a taks interface eSubmit. If i create a task profile with eSubmit. It will allow users to open dynamic schedule templates and build custom reports.
    I want to take out that option from menu. How to do that?
    Cheers,
    Reddy.

    Hi,
    could you please give me a hint how you achieved this? I am solving the same issue.
    Regards
    Jan

  • Help with a numbers formula to call up employee schedules for a particular day / hour of day

    So my goal is to be able to use a drop-down menu on Sheet-1 with "day of week" and a 2nd one with "hour of day" to pull up a list of employees working on a particular day at a particular time.
    So far I've got Sheet-1 where the magic will happen
    Sheet 2-8 are different days of the week each displaying an employees hourly schedule and what hours of the day it corresponds with
    Here's a visual example of my thoughts:
    http://imgur.com/a/45ZZr#1
    If anyone can help point me in the right direction that woul be helpful!

    Here is another approach that takes advantage of the Numbers 3 native filtering interface.
    Have a simple data input table like this (no formulas) and set up a filter as shown:
    When the filter box is checked the list shrinks to show employees working on Monday at 10a:
    Typing new values into the filter rule boxes changes the results instantly.
    And if you have the data input table arranged as shown, you can not only filter it but you can easily view it in multiple ways.
    Here's Monday:
    The one formula in the table, in B2 copied right and down, is:
       =IF(COUNTIFS(Hours Input::$A,$A2,Hours Input::$B,$A$1,Hours Input::$C,B$1)>0,"x","")
    And here's A's schedule:
    The formula in B2, copied right and down, is:
      =IF(COUNTIFS(Hours Input::$A,$A$1,Hours Input::$B,$A2,Hours Input::$C,B$1)>0,"x","")
    etc.
    SG

  • MS Word rtf template - question on formatting of numbers

    Hello,
    First let me start by saything that this is the first time I've developed using this tool (previously used Report Builder 6i), and I have never used xml or xsl. If I've left out any information, please let me know what else you need. If you could be as specific as possible in your suggestions with syntax, etc. I would really appreciate it.
    I have a requirement to format a number as follows:
    if negative number display in brackets with comma separators
    if zero display as '-'
    if positive number display as is with comma separators
    sample data would be:
    (300)
    1,300
    I've used the 'Text Form Field Options' Dialogue box to enter the following format: #,##0;(#,##0) and this has given me the first and 3rd requirements. I've used <?xdofx:if SUB_PROG_ENC_YEAR_AMOUNT = 0 then '- ' else SUB_PROG_ENC_YEAR_AMOUNT end if?>to meet the 2nd requirement. However, now I have an alignment issue. When I preview in pdf from Word, the data displays as follows:
    (300)
    1,300
    The positive number needs to shift one space to the left. I tried adding the following condition: else if SUB_PROG_ENC_YEAR_AMOUNT > 0 then SUB_PROG_ENC_YEAR_AMOUNT||' '
    but it doesn't let me concatenate a string (I'm guessing because the field is formatted as a number?).
    I was going to try leaving the field formatted as regular text, and doing something like this right in the code:
    <?xdofx:if SUB_PROG_ENC_YEAR_AMOUNT = 0 then '- 'else if SUB_PROG_ENC_YEAR_AMOUNT >0 then
    format-number:SUB_PROG_ENC_YEAR_AMOUNT;'9g999'||' ' else SUB_PROG_ENC_YEAR_AMOUNT end if?>
    This doesn't work the way I have it (syntax is wrong), but will it work with the proper syntax or do I have to try another approach?
    Any help would really be appreciated
    Thank you!

    Thanks fo responding.
    The spacing in my sample data looks incorrect..sorry about that....what I'm trying to do is align the numbers on the right side, so I would only ever need to add one space to the right side of a positive number. I thought of using rpad to add a single space and using length of the field and a formula in order to generate the padded length, but it doesn't seem to work. The syntax I used was:
    <?xdofx:if SUB_PROG_ENC_YEAR_AMOUNT = 0 then '-' else rpad(SUB_PROG_ENC_YEAR_AMOUNT,15,' ') end if?> which just returned the value of sub_prog_enc_year_amount.
    For curiosities sake I tried using '*' and '0' as the padded_string. The '0' worked but not the asterisk or the space. It doesn't like string value in the padded_string, I'm guessing because the field is formatted as a number.
    That's why I tried using the format number function right in the code (see my original post), but the syntax isn't correct. Would you be able to suggest the proper syntax or point me to to some sample code?
    Thank you for your assistance.

  • Lms v4.2 template question

    in lms 4.2 i have successfully imported mibs, created templates, created associated pollers and run reports on the data.
    the question/problem is.... some of the default templates have a Computation feature.  For example, the default template for Interface Utilization takes the polled stats for In/Out Octets and computes % utilzed for RX and TX based on the link speed.  When i create my own interface utilization template there is no where to add Computation to the template and therefore what the report shows is large numbers of bits or bytes which makes it not so easy to deciper...esp for mgmt.  Even when the default template is copied, the Computation value is not there anymore.
    How can i add Computation feature to my custom templates?
    anyone have any ideas?

    Unfortunately, this is not a problem, this is by design. Those system templates which generate the data in % etc, needs computation of data from output of multiple OID's. Like for interface utilisation following formula is used :
    As this is possible to be done for system templates at the background and show correct data, which is a little difficult with custom templates.
    So with the custom templates, it just polls the device and shows the information as it is returned by the device.
    -Thanks
    Vinod
    **Encourage Contributors. RATE Them.**

  • Decimal places in standard input schedule templates

    Hi Gurus
    I have created some input schedules using standard template. User here will be entering some values in 2 decimal places (like 1.25) but when I enter any values in the cells, it automatically round off the values and displays values without any decimal places.
    I have tried changing the formats in Format control panel by changing the DATA / DEFAULT 's PATTERN / ALL for ROWs but it did not help.
    Please help how to resolve this.
    Cheers
    Swathi

    Hi nilanjan,
    Thanku, I resolved the issue using Format Range option with the below code
    CRITERIA    EVALUATE IN  FORMAT     USE     PARAMETERS    APPLY TO
    INPUT          ROW                1234,56      ALL                --                   DATA
    Thanku

Maybe you are looking for

  • How to store image in the oracle database 10.2.

    Hi., I am working on 10g ids. I have designed a form where there are two fields. Name and picture. I want to keep details of the person with their photo. I can simply put name but how to insert image in the picture field?? can you suggest ?? Thanks.

  • Display Ripple Effect

    Well I finally have Debian installed on the G3 iMac and everything seems to be working good except for a ripple effect when I drag a window or scroll up & down in the browser. It looks like a wavy motion or ripple. Do anybody know a solution? I've ha

  • Not just a yellow tint!

    my iphone 3g screen has a brighter yellow light on the right side of the screen(top right corner to bottom right corner) it's like a column of yellow light and it only appears over black backgrounds.... is it normal??

  • Adobe Flex

    Hi, To what extent WebCenter will be using Adobe Flex.? Does Flex Portlets are included in this or do we a separate framework for developing. Thanks in Advance.

  • Interactive widgets on master slide

    My understanding is that interactive widgets cannot go on master slides. Is this because they don't work or don't work consistently? A co-worker of mine made this widget https://acrobat.com/#d=9N0LRqiAhOpCfzJB5mCUIg The idea was to have play/pause fu