Itemizing and Totaling Formula

Does anyone know what formula should be used to total an itemized receipts?
Example
3 Receipts
1. 3 items $35
2. 2 items $55
3. 4 items $125
I want to have one column (D) with the individual receipt totaled and a second column (E) of the 3 receipts totaled
how can you do this when you have different numbers itemized in each receipt? Is this even possible?
thanks!

I don't understand what you want to do. It looks like you have three receipts and each receipt has one or more individual items. To total the receipts, you would use SUM. If the dollar values are in column C then the formula could be SUM(C) or could be written for the exact range such as SUM(C2:C4). What I do not understand is the difference between the total of the "individual receipts" versus the total of the "3 receipts"; isn't that the same thing? If you meant the sum of the individual items, that, would be the same number wouldn't it?

Similar Messages

  • Display  6 line items and total in main window

    Hi,
    I want to display only 6 line items in main window( on first page and also total of the main window of first page), and consecutively in all the apges i want to display only 6 line itms and total in each page of main window, how to write logic for this.
    Thanks,
    Donlad

    Hi r u talking about Snmartform if yes
    Let us take the page you are using as PAGE1, you can achuve this using the Command Node. call the same page after 6 items as follows
    1.create Table.--->Main area , Header and footer.
    2.Declare a variable V_count type sy-tabix.
    a.Now click on the table tab>Main Area>right Create>Command (insert a command node after the Line type you r using to print the data), in this COMMAND node give the condition V_COUNT = 6. GOTO>PAGE1 (it maens you r  triggering the new page after the 6 lines.
    b. after this command noder insert the Program lines heate increase the value of V_COUNT.
    Maintain another variable the use that for page totals...
    total can be doneautomatically by using the TABle-->CALCULATION TAB.
    let me know if you more clear info, iam sure u r problem willbe solved.

  • Matching FI Line Items and Total Records for FM

    Dear Friends,
    Currently, we are implementing Public Sector Management using Former Budgeting.
    Some PR and PO has been created, before the FM budget data transferred from Cost Center Planning using FM9C.
    Using FMRP_2FMB4002 report, the u2018Available Amountu2019 still equal to u2018Curr. Budget Amountu2019, even though we can display the detail PR and PO by double-click the column u2018Assignedu2019 and u2018Commts/Act.u2019 in this report.
    After executing RFFMRC04, system shows many line items containing Fund Center, Commitment Items, and its Amount.
    I need your assistance to resolve these issues, so that the FM Report can be analyzed accordingly.
    Thanks for your kind attention.
    Regards,
    (Vincent)

    Hi,
    This thread has been created some time ago and recieved no response. Can you please close if you feel this issue/query has been resolved in the meantime. If it has not then please provide additional information in relation to your query. By providing updates to your thread it moves you thread to the first page of thread and increases visibility and possiblity for the multiptude of experts in SDN Forums to offer their support.
    Therefore please update with more information or close thread.
    Thank you for your assistance.
    Regards,
    Brendan.
    (ERP FI/CO SDN/WIKI Moderator)
    http://wiki.sdn.sap.com/wiki/display/ERPFI/ERP+Financials

  • How to display total "items" and "amount " in header.jsp in CRM ISA B2B

    Hi,
    I am modifying “header.jsp” in standard CRM ISA B2B application.  Here we have summary of total number of items and total amount but it is coming in to button and for that below code is there in “header.jsp” and it display it as button text.
    if (!ui.homActivated) { %>
    !!" alt="" border="0" height="16" width="20">
    </td>
    <td class="vertical-align-middle" name="miniBasket" value="<isa:translate key="b2b.header.minibasket.default"/>" >
            <form name="basketForm" action="javascript:show_basket();">
         <input class="green" name="miniBasket" type="button" value="<isa:translate key="b2b.header.minibasket.default"/>"/>   
        </form>
    </td>   
    <% } else { %>
    <!-- HOM scenario - minibasket displays collective order -->
    <td  class="vertical-align-middle" align="right">
    !!" alt="" border="0" height="16" width="20">
    </td>
    <td  class="vertical-align-middle" name="miniBasket" value="<isa:translate key="b2b.header.collorder.default"/>">
    <form name="basketForm" action="javascript:show_collective_order();">
        <input class="green" name="miniBasket" type="button" value="<isa:translate key="b2b.header.collorder.default"/>"/>   
    </form>
    </td>
    <% } %>
    Now I want to display total number of items and total amount separately in two different <td> element.
    How I can get total number of items and total amount in “header.jsp” I tried below code but did not get any success.
    Insert below line in “header.jsp” with respective page import statement for class or let me know which class I have to import.
    <%
         HeaderSalesDocument  hdr =
                (HeaderSalesDocument) request.getAttribute(MaintainBasketBaseAction.RK_HEADER);
        ItemList items =
                (ItemList) request.getAttribute(MaintainBasketBaseAction.RK_ITEMS);
    %>
    And then I use
    <td><%= hdr.getNetValue() %></td>
    <td><%= items.size() %></td>
    But it is not printing any thing and header page not display at all.
    Pl. tell me how to get total amount and number of items in header area. Which class or object I have to use here.
    I really appreciated any help from any one.
    Thanks and regards.
    Ashish Patel.

    Hi, I tried another logic. I took value from  Standard button, in which B2B application display total items and amount and I hide this field, to another text element.
    Now I Am breaking that value in words and stored them in array  and then trying to display that array with particular number which contains total item and amount through Java Script on Focus.
    But problem here is, It is not getting updated automatically I have to click on new text files to trigger Onfocus event. How I can achieve effect like as soon as Standard button changes it's value which is now hidden filed my new text box should update automatically.
    Thanks.
    Ashish

  • Smartform with multiple Headers & Respective Item Details and Totals?

    Dear All,
    Appreciate if anyone clarify my doubt.
    My requirement is to develop a smartform for billing with multiple headers & respective items and totals. For more clarity I'm explaining below.
                        Header Section1
    variable1          variable2          variable3          variable4          variable5
         variable6          variable7          variable8
    variable9          variable10          variable11
    Item Details1
    s no     vebeln     verpr     col4     col5     col6
    total                    123.21
    total in words -
                   value     321.21
                   value     982.98
                   value     some value
    footer details
                        Header Section2
    variable1          variable2          variable3          variable4          variable5
         variable6          variable7          variable8
    variable9          variable10          variable11
    Item Details2
    s no     vebeln     verpr     col4     col5     col6
    total                    123.21
    total in words -
                   value     321.21
                   value     982.98
                   value     some value
    footer details
                        Header Section3
    variable1          variable2          variable3          variable4          variable5
         variable6          variable7          variable8
    variable9          variable10          variable11
    Item Details3
    s no     vebeln     verpr     col4     col5     col6
    total                    123.21
    total in words -
                   value     321.21
                   value     982.98
                   value     some value
    footer details
    Is this possible using smartforms?
    Now they are using a classical report and takes printout in preprinted stationery.
    requirement is to develop a smartform for this. there is a selection screen for the print program which accepts billing docs.
    Thanks,

    Rajiv,
    Actually for your case you don't need a table inside the Main Window. 
    1.) First Populate all the data(header + item) in an internal table in the print program itself.
    2.) Pass this internal table to the smartform.
    3.) In the smartform give exact dimensions to the main window.
    4.) In the Main Window Use a Loop on this internal table.
    5.) Create a template for the header data giving the exact dimensions.
    6.) Create another template for the item data giving exact dimensions to the template.
    7.) If there is pre-printed text between these templates, insert a text element between these templates. This text element will have nothing just give a paragraph format to it. Go to smartstyle, create a style in which create a paragraph format setting line spacing parameter of this paragraph format of the same size as that of pre-printed text.
    8.) Only 1 page is required since Loop statement will print the second record on the second page if the dimension of templates are exact.
    9.) Dimensions you can easily measure from the pre-printed form.
    <removed by moderator>
    Edited by: Thomas Zloch on Mar 6, 2012

  • Missing Line Items and '?' Symbols in some Reports

    I have upgraded the patch level of my production server and patch level
    list is given below
    SAP_BASIS 640 0022 SAPKB64022
    SAP_ABA 640 0022 SAPKA64022
    ST-PI 003C_640 0001 SAPKITLPS1
    PI_BASIS 2006_1_6400006 SAPKIPYL06
    SAP_BW 350 0021 SAPKW35021
    SAP_HR 500 0017 SAPKE50017
    SAP_APPL 500 0019 SAPKH50019
    PI 2004_1_5000004 SAPKIPZI64
    problem is that whenever I run SAP FICO standard reports FL3N, FBL5N,
    KB01, F.08 etc it generates the report correctly but when i am taking
    print out of these reports it misses some line items and total value as
    well screen shots are attached for information.
    my second problem is that there are some garbage entries with
    symbol '?' in SAP Menu and toolbars of some Reports. Screen shot is
    also attached for your information.
    i am facing lots of problem in executing my daily operations due to
    these errors.
    regards,
    Majid Khan

    Dear Subramanian,
    I am facing the same problem in Development and Quality Assurance Server
    Regards,
    Majid Khan

  • How to find item wise totals and header wise total using hierarchical ALV

    Hi Friends,
    I came across an issue of finding  item wise total using hierarchical ALV. I am getting header wise total by setting the field catalog. May you help me in finding  Item wise total.
    Regards
    Nikhil.

    hi,
    you must use "w_fieldcat-do_sum = 'X'" and change your layout like :
    w_sort-fieldname = 'FIELD'.
      w_sort-tabname   = 'TABNEME'.
      w_sort-up        = 'X'.
      w_sort-subtot    = 'X'.
      APPEND w_sort TO i_sort.
      CLEAR w_sort.
    you can use detailed code from http://wiki.sdn.sap.com/wiki/display/Snippets/Subtotalsinhirarchial+report.
    regards,
    orhan
    Edited by: goktasor on Jun 1, 2010 11:03 AM (need points : ) )

  • Sum child list items and update parent total using javascript

    I have a SharePoint 2010 Parent/Child list setup using a lookup field to join both the lists, this is working well.
    The Parent list contains requisition requests and the child list contains related item details. Each of the related child list items has a 'Line Item Total' field. I need to aggregate the Line Item Totals in the child list and place the result in a 'Requisition
    Total' in the parent. So for any given parent record the sum of it's related child 'Line Item Totals' is reflected in the 'Requisition' total in the parent row.
    I am struggling with the JavaScript code below. I am trying to aggregate Line Item Totals for a given Requisition#? Could someone please review and advise?
    <script language="javascript" src="/Purchasing/Documents/jquery-1.8.2.js" type="text/javascript"></script>
    <script language="javascript" src="/Purchasing/Documents/jquery.SPServices-2014.01.min.js" type="text/javascript"></script>
    <script>
    $(document).ready(function()
     $('select[title=Requisition#]').children().attr('disabled',true);
     $("input[title='Old Amount']").attr("readonly","true").css('background-color','#F6F6F6');
       // Retrieve the name of the selected parent item.
       var strParent=$("select[title$='Requisition#'] :selected").text(); 
     splist li = web.lists["ReqDetails"]; // This is the child list
        spquery q = new spquery();
        q.Query= "<Where>" +
         "<And>" +
          "<Neq>" +
           "<FieldRef Name='ID'/><Value Type='Number'>0</Value>" +
          "</Neq>" +
          "<eq>" +
           "<FieldRef Name='LinkID'/><Value Type='Number'>ReqID</Value>" +
          "</eq>" +
         "<And>" +
        "</Where>" +
        "<OrderBy>" +
         "<FieldRef Name='LineItemTotal'/>" +
        "</OrderBy>"
        q.ViewFields = string.Concat("<FieldRef Name='LineItemTotal' />");
        q.ViewFieldsOnly = true; // Fetch only the data that we need
        splistitemcollection items = li.getitems(q);
        foreach(SPListItem item in items)
        sum += parseInt(item["LineItemTotal"], 10);
      alert(sum)
     </script>
    Rick Rofe

    I do something similar for a PO Header/PO Detail set of lists. I use SPServices to pull the data.
    I put this code in the child edit page - so any time any child is edited, the parent is updated. I get all children records and total them up (except for the item I'm displaying at the current time. I add that value in directly from the form itself.
    <script type="text/javascript" src="/Javascript/JQuery/JQueryMin-1.11.1.js"></script>
    <script src="/Javascript/JQuery/jquery.SPServices-2014.01.min.js"></script>
    <script>var poNumber = '';
    var poDetailID = '';
    $(document).ready(function() { var queryStringVals = $().SPServices.SPGetQueryString();
    poNumber = queryStringVals["PO"];
    poDetailID = queryStringVals["ID"];
    function PreSaveAction() {
    // update the PO header with the total of all items + shipping + adjustments
    var query = "<Query><Where><And><Eq><FieldRef Name='Title' /><Value Type='Text'>" + poNumber + "</Value></Eq><Neq><FieldRef Name='ID' /><Value Type='Counter'>" + poDetailID + "</Value></Neq></And></Where></Query>";
    var viewFields = '<ViewFields><FieldRef Name="Total" />';
    viewFields += '</ViewFields>';
    var poTotal = 0.00;
    $().SPServices({
    operation: "GetListItems",
    async: false,
    listName: "PO Details",
    webURL: "/po",
    CAMLViewFields: viewFields,
    CAMLQuery: query,
    completefunc: function (xData, Status) {
    //alert(xData.responseText);
    $(xData.responseXML).SPFilterNode('z:row').each(function() {
    if($(this).attr("ows_Total")) {
    //alert($(this).attr("ows_Total"));
    poTotal += Number(parseFloat($(this).attr("ows_Total").split(";#")[1],2).toFixed(2));
    // add in this changed line (we skipped it above)
    var qty = $('input[title="Quantity Ordered"]').val();
    var price = $('input[title="Price"]').val().replace(',','');
    var extend = Number(qty)*Number(price);
    poTotal += extend;
    //alert(poTotal);
    // update the PO Header
    $().SPServices({
    operation: "UpdateListItems",
    async: false,
    listName: "Purchase Orders",
    webURL: "/po",
    ID: poID,
    valuepairs: [["Total", poTotal]],
    completefunc: function (xData, Status) {
    //alert(xData.responseText);
    $(xData.responseXML).SPFilterNode('z:row').each(function() {
    return true;
    Robin

  • 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

  • Budget Item Details - 'Total (Loca)l' and 'Total (System)'

    Dear Experts,
    In Budget Scenario-> Budget Item Details, it has two rows one is 'Total (Loca)l' and 'Total (System)', what is this two rows use for? what is the diffrent between these two rows?
    Your reply is highly appreciated.
    Thanks.
    Regards,
    Danny

    Hi,
    All transactions in SAP Business One are done in Local Currency (LC), regardless of what currency is specified in any document. All financial reporting is based on LC.
    SAP Business One offers reporting in another currency, the system currency (SC). This currency is for balance sheet reporting only. It is not relevant for any transaction involving profit and loss accounts
    Hope this is helpful !

  • Total POs and total line items

    Hi experts,
    Iam trying to extract total number of POs and total number of line items for particular PO for a vendor.
    Do i need to make join for EKKO & EKPO?
    I want to get some thing like this
    Vendor   Total POs      Total line items
    1001       20                 50
    1002       30                 45
    Can any one give me the suggestion....
    Reward guaranteed,
    Thanks
    kaki

    Hi,
      I changed the code a little bit and modified my reply...Check the code..I tested it..it is working fine..
      Re-copy the code and check the results..
    TABLES: EKKO.
    SELECT-OPTIONS S_LIFNR FOR EKKO-LIFNR.
    DATA: BEGIN OF T_EKKO OCCURS 0,
    LIFNR TYPE LIFNR,
    EBELN TYPE EBELN,
    EBELP TYPE EBELP,
    END OF T_EKKO.
    DATA: BEGIN OF T_TOTAL OCCURS 0,
    LIFNR TYPE LIFNR,
    TOT_PO TYPE INT4,
    TOT_LIN TYPE INT4,
    END OF T_TOTAL.
    SELECT ALIFNR AEBELN B~EBELP
    FROM EKKO AS A INNER JOIN EKPO AS B
    ON AEBELN = BEBELN
    INTO TABLE T_EKKO
    WHERE A~LIFNR IN S_LIFNR.
    SORT T_EKKO BY LIFNR EBELN EBELP.
    DATA: S_EKKO LIKE T_EKKO,
    V_EBELN TYPE EBELN,
    V_PO TYPE INT4,
    V_LIN TYPE INT4.
    LOOP AT T_EKKO.
    S_EKKO = T_EKKO.
    IF V_EBELN <> T_EKKO-EBELN.
    V_PO = V_PO + 1.
    ENDIF.
    V_LIN = V_LIN + 1.
    AT END OF LIFNR.
    T_TOTAL-LIFNR = S_EKKO-LIFNR.
    T_TOTAL-TOT_PO = V_PO.
    T_TOTAL-TOT_LIN = V_LIN.
    APPEND T_TOTAL.
    CLEAR: V_PO, V_LIN.
    ENDAT.
    V_EBELN = S_EKKO-EBELN.
    ENDLOOP.
    LOOP AT T_TOTAL.
    WRITE: / T_TOTAL-LIFNR,
    T_TOTAL-TOT_PO,
    T_TOTAL-TOT_LIN.
    ENDLOOP.
    Thanks,
    naren

  • CRYSTAL 8.5.. NOT PULLING ALL ITEMS INTO TOTAL

    HELLO, WE ARE USING 8.5 AND NOW IT ISN'T PULLING ALL OF THE DATA NEEDED FOR A LINE TOTAL.  WHILE TRYING TO FIGURE OUT WHAT HAPPENED, WE FOUND THE SPECIFIC ITEMS "SUPPRESED", AND CORRECTED THAT, HOWEVER ALL ITEMS ARE NOW LISTED AS THEY SHOULD BE, BUT NOT BEING INCLUDED IN THE TOTAL... ANY ASSISTANCE WOULD BE APPRECIATED IF YOU KNOW HOW TO CORRECT THIS,

    Hi, 
    Are you using a running total to or are you summarzing the numbers?  If you are using a running total, where on the report is the formula totalling, is it in the Detail section, Footer? 
    When you show the running total formula, can you actually see which records are not totalling? 
    It's always possible the formula is missing something.  If you created a simple running total like: 
    WhilePrintingRecords;
    NumberVar MyTotal;
    MyTotal := MyTotal + {table.FIELD};
    Do the same records total or are they also being skipped? 
    Are you initializing or reinitializing the running totals somewhere in the report?  Possiblly in a Group or Page header? 
    Crystal 8.5 didn't have any problems that I could remember with running totals, I made literally hundreds of reports with running totals in that version so I'm more inclined to look at the formula and how the running total is setup. 
    Good luck,
    Brian

  • How to create a multi column list item and select these values from a LOV

    Hi all,
    My requirements are:
    1) create an LOV which holds the productno, productname and productprice fields (this is working)
    2) at run time, select one record from LOV and populate the list/grid with this selected record values of productno, productname and productprice fields, so we are showing them on the form in the form of a table/grid (not working)
    3) be able to select multiple records from LOV and be able to populate the list item with multiple records (not working)
    4) have two more columns in the list/grid, for productquatity and total price (not wokring)
    Please help me.
    how can i create this grid or list in oracle
    whats the possible way of acheiving this in oracle

    If you use a list item to display multiple columns then you'll need to use a fixed-width font. You can achieve a similar look with proportional fonts by using a normal block and setting the fields' bevel to 'None'.
    Each column in the LOV has a Return Item property (under Column Mapping Properties). Set this to a :block.item reference for each column to bring the data back into those referenced fields.
    You can't select multiple records from an LOV. For this you will need to create your own form. Check the help for system.mouse_button_modifiers to see how to respond to Ctrl+click and Shift+click.
    To add columns just modify the LOV's record group's query.

  • FBL3N - line item visible both as open item and as cleared item

    Hello,
    Please can you tell me possible reasons for which I see the same line item in FBL3N as an open item when I check "open items" and as cleared when I check for "cleared items".
    Thank you !
    Daniel N.

    There is a small correction:
    It is not partial it is residual.
    In case of partial your original document will be intact - Open items will show debit, credit and the balance.
    In case of residual, your original amount will be deducted and a new entry gets posted as if there is a new transaction. For example from 100 USD if 40 USD has been cleared, then two line items will be shown in 40 as cleared items and a new line 60 will be generated in open items 60. But, this 60 will have different document number.
    I think there is some issue the way in which selection criteria has been selected.
    Please do not see the open items at a key date. Because that date it might be open item, later at a stage it might have become a cleared item.
    Do not restrict any dates and see the total items (cleared items and open items) and let me know if the same document is showing as cleared as well as open. This is more unlikely and I have not seen.
    Regards,
    Ravi

  • How to identify listeners types for forms, items and events in addon wizard

    Dear users,
    I have developed a sample addon through B1DE wizards and successfully installed and connected the addon and can view menu and form of my addon. Since i am new to this, i didn't add any listeners to my form, items and events because i don't know what type of listeners to add and what coding to add after adding listeners.
    If anyone describe me how to work with listeners, i would be glad. My form has basic fields like BPcode, BPname, Docnum, Itemcode, Item name, quanity, price, total etc. Uptil now my addon form has no function of getting list of BP and Items and calculating the totals based on price and quantity but it has some basic functions like add, update,del, add print view, next record previous, record next etc. which are due to object registration and auto-code generation wizards i think.
    Please help me in adding listeners and their relevant coding.
    Thanks in advance.

    Thanks for reply, Actually I am asking about listeners in the wizard of B1DE, code generator wizard. I think you are telling me about adding listeners directly in the vb.net. Kindly, tell me first, what event type I should add for item, form etc while adding listeners during  the wizard. Or If you know some link where event types of listeners are decribed, you are more than welcome.
    Thanks,
    Farhan

Maybe you are looking for

  • XML data via JS not showing in I.E.?

    Hi there, I'm using Javascript to get the xml data and display it on the XHTML page. This works fine in all the latest versions of Firefox, Chrome, Safari and Opera....but as per usual not in Internet Explorer. UPDATE: forgot to mention.....I'm testi

  • SMD Agent 7.00 or Diagnostics Agent 7.11

    Hello, Our managed systems are running on NetWeaver 7.00. We are currently implementing SAP Solution Manager Diagnostics using SOLMAN_SETUP guided procedure. In https://service.sap.com/swdc - Support Packages and Patches - Entry by Application Group"

  • Last tiger and fcp: cannot export back to mini dv

    we used to be able with old Mac Os and fcp to reexport to mini dv, wether on our jvc super vhs, or sony and panasoni cameras. we just are not able to do it now; anybody has a solution?

  • Will I be able to play games OK under boot camp with the 2.66GHz 24" iMac?

    I am considering moving to mac but I have a couple of PC games that I would like to continue using. These games are red alert 3, tomb raider anniversary and i would like to get sims 3. How well will games play on the new 2.66GHz 24" iMac? or would I

  • Please solve my query

    Sir,  I want to do the certification In Exchange server 2013. I am doing the preparation for 70-341 and 70-342 codes from these dumps: Microsoft.PracticeTest.70-341.v2013-08-21.by.Mo.105q  but there are many wrong answers in this Dump. Please give me