Sum divided by number of checked items

Hello,
I'm trying to divide a summed column by the number of checked boxes in a column next to it. Is this even possible?
Kindest regards and many thanks,
Michael Kelly

Hello
Also AVERAGEIF() may be your friend.
Table 1
A1  1
A2  2
A3  3
A4  4
A5  5
A6  6
A7  7
A8  8
A9  9
B1  FALSE
B2  TRUE
B3  TRUE
B4  TRUE
B5  FALSE
B6  FALSE
B7  TRUE
B8  FALSE
B9  FALSE
C1  =AVERAGEIF(B,TRUE,A)
C2 
C3 
C4 
C5 
C6 
C7 
C8 
C9 
* Table is built in Numbers v2.
Regards,
H

Similar Messages

  • 57F4 challan print - getting parent item no and po number for child item

    Hi ,
    In 57F4 challan, Subcontract components - i.e Child items are used for creating the challans.
    However while printing needs the parent item no with the purchase order number for that child item number.
    It is getting stored in RM07M structure.
    Any inputs / suggestions how to retrive parent item number and purchase order number for child item i.e for subcontract items?
    Thank you .
    Prasad.

    Thank you for the reply. I checked the table RSEG table for material document and PO details, however the RSEG gets populated when there is credit or debit entries.
    In this 57F4 challan there is no credit or debit enteries hence would not get in RSEG table.
    Appreciate your inputs for any other alternative.
    OR is there any table or Function Module to get the enteries of the struture of RM07M .

  • Restriction on number of line items in an automatically generated document

    Hi all,
    As per my info, an accounting document must have a minimum of 2 line items to complete the document. At the same time an accounting document can have a maximum of 999 line items.
    My observation:-
    When I am posting depreciation using t-code AFAB, system is posting depreciation document (document type AF). While checking, I found that the system has posted around 16 document for a period.
    On further checking, I observed that the each document contains a max 100 line items.
    I am using SAP 4.7
    My Query:-
    a> Is there any way / place wherein we can restrict the maximum number of line items possible for a given docuemnt type or for all document types in the client?
    b> In case it is not possible to restrict the number of line items per document, what could be possible reason for the system behaviour wherein it is posting about 100 line items per document & thereafter starts a new document.
    Thanking you in advance
    Santosh K Agarwal

    Hi,
    I have been reading CIN. There I came across with a statement i.e. "There is restriction on no of line items to be in an Excise Invoice".
    where you read this i dont know
    but yes for outgoing excise invoice we can put limitation in sap cin
    as per incoming excise invoice i think no  limitation
    in path SPRO-tax on goods movemnet-India-basic setting-maintain excise registration here you can maintain this
    and yes this for india only for other country they may have different
    Regards
    Kailas ugale

  • MIGO-sales order number and line item not validated for 501E mvt in MIGO.

    Hi All,
    In MIGO i am trying to post for 501E(specisl stock=order on hand) movement type, here i am entering the material and in the where TAb even if I enter wrong sales order number or wrong sales order line item number. the system allows to post .
    its not validating the material against the sales order number and line item number that is entered to check whether that material really exists in that particular sales order or not.
    is there a way to fix this?
    Thanks
    Mahendra

    hi
    i dont think vvalidation is possibel
    as the system dont know whaich material is assigned to which SO
    as we r takeing the stock without PO
    if u want to validate then system can validate the quantity that is also with use of some user exit
    correct me if i am wrong

  • Is there a limit to number of File items loaded to a single portal page?

    Hi,
    Does anyone know if there is a limit to the number of File items that can be loaded to one single portal (10.1.4) content page?
    thanks,
    Bret

    Hi Arnaud,
    Don't recall that we ever investigated a threshold value where portal was not performing anymore. It also depends on other circumstances as well :
    - what kind of caching is used on the page, i.e. pages cached on system level for a period of 24 hours will generally perform well, even if they have a large number of file items. The performance penalty is paid by the person who needs to generate the page from the back-end database.
    - Are all files in a single region or are they divided over several regions. I seem to recall that we use a fetcher thread for each region.
    My advice :
    Built a prototype, add file items to a page and start load tests. This will allow you to determine how many files can be added to a page without an unacceptable loss of performance.
    Regards,
    Erik

  • What is the maximum number of line items we can enter in an order...

    Hi,
       Can anyone explain what is the max number of line items that v can enter in an order....
    or if i want to increase the number of line items than the max where it is controlled.
    Because my mm counter part is facing this in the PO he could make only 9999,the problem is when posting...the accounting document is not getting generated bcas of exceeding the limit.
    venugopal

    hi,
    this is my personal experiance that we can enter at the most 499 line items in SALES ORDER.
    This is because for every line item there will be 2 financial entries, debit and credit. and 1 FI document can have at the most 999 line items (which we can not increase without KEY fromSAP)
    If we divide 999 by 2 then it comes to 499.50 so you can enter at the most 499 line items in Sales order.
    Regards
    Vishal

  • Divide a number into random parts

    I need to divide a number into a collection of random parts. So that the sum of all parts is equal to the number.
    E.g.:
    public void divideRandomly ( int number, int parts)
    int[] returnArray = new int[parts];
    //do random division calculations
    return returnArray;
    Lets say the number = 20
    And parts = 4
    I would then like to return an array of ints containing e.g. 3, 11, 5, 1
    OR e.g. 4,8,2,6
    Does anyone have a clue as to how I could do this?
    Cheers

    Be aware that given the wrong parameters this solution
    can take a long time to find a list. This seems misleading, as the termination condition is based
    on randomness. Although, it is possible to predict an average
    termination time.
    Basically your algorithm starts by generating initial random values
    in the range [0, maxValue]. You limit the size of the maximum
    generated value, although I'm not sure why. Obviously maxValue
    has to be greater than sum / length, otherwise it would be
    impossible to generate any combination values that add up to sum.
    Then your algorithm asks if the sum of those initial random values
    is equal to the target sum. If not, you cycle through the list replacing
    the the current position with a new random value and updating the
    current sum.
    As an example, let's suppose that maxValue is equal to sum, and
    that sum = 1000, and length (numParts) is 4.
    Assuming the minValue is 1, not 0, then the total number of
    permutations of 4 numbers that add up to 1000 is:
    165,668,499
    However, the total number of permutations is:
    1000^4 = 1,000,000,000,000
    In terms of probability, the chance of finding a solution on each try is:
    165,668,499 / 1,000,000,000,000 = 0.000165668499
    Thus, you'll need approximately 6036 loops on average to find a solution for 1,000 split 4 ways.
    For 2,000 split 4 ways, number of perms is:
    2000^4 = 16,000,000,000,000
    The perms of 4 numbers that add up to 2000 is:
    1,329,336,999
    Probability of finding a solution on each try is:
    0.0000830835624375
    Average number of tries is: 12036
    I'm impressed that the random approach is that fast.

  • Can't specify number of recent items in Excel Jump List (from taskbar)

    Hi ... I've read a large number of posts about this, and all seem to point to the same general solutions. However, the posted solutions aren't working for me.
    My problem: right-clicking Excel and Word in my taskbar shows me my pinned files; but the memory for recent items only ever lists the most recent three. I recently bought a new computer; I'm running Windows 8 and Office 2010. I'd love to have my recent items
    list 10 or a dozen items. I've tried deleting the AutomaticDestinations file; I've toggled the Taskbar/Properties boxes for storing recently opened items; in Excel and Word, on the File tab, I've clicked "Quickly access this number of recent docs, and
    set it at 10.
    I'm at my wit's end. It's how I've come to navigate both programs, and I access a few files quite often at once, which makes this option very handy ... if I can get it above three!
    I'd love some help! Thanks.

    Hi,
    I got the same result on my machine as Keith's. Once I remove all pinned items, the Jump List will work well. So it might has something to do with the number of pinned entries you have.
    Setting the number of recent items to a higher value does increase my recent list, so please have a try.
    Also, the option of "Quickly access this number of recent workbooks" on File>Recent page doesn't control the
    Jump List on taskbar. Jump List is a Windows feature, I would suggest you check in the forum of
    Windows client, where you can get more experienced responses:
    https://social.technet.microsoft.com/Forums/windows/en-US/home?category=w7itpro%2Cw8itpro%2Cwindowsvistaitpro%2Cwindowsxpitpro%2Cwindowsintune
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Forwarding agreement can not release; Check items and calculation sheets.

    Hi Experts,
    While releasing status of a forwarding agreement to getting error message "Agreement can not release; Check items and calculation sheets''.
    Please refer the screen shot attached and suggest.
    Thanks & Regards,
    Shaktiprasad Dash

    Hello Shakthi,
    Firstly, have you maintained TCCS in your forwarding agreement?
    You migt have  inserted new item. However, there are no TCCS maintinaed in that agreement item.
    In such cases those error messages are displayed. Restricting you from releasing the agreement.
    Other cases:
    is your TCCS local?
    If your TCCS is global then ideally the charge usage should be any of the below: "customer", "Customer & service" or "ALL" for Forwarding Agreement to consume it.
    For Local TCCS by defalut charge usage will be set to "Customer".
    If Local, check whether have you missed any mandatory fields like amount, Currency.
    If there are any % charge line, then the refrence number would have been missing or you might be referencing incorrectly.
    For Global TCCS if any of the above is incorrectly maintianed it will not allow you to save the TCCS.
    If you can attach the screenshot of  the TCCS it will be helpful for me to solve your issue.
    Best Regards,
    Dimpu

  • Outlook 2013 client not showing number of unread items

    Hi there!
    Exchange 2010 SP3 with latest CU.
    Outlook 2013 with latest Windows update.
    Lately (let's say about 1-3 months) we see that in Outlook 2013 client some folder are not showing the number of unread items.
    This thing stopps working randomly and yes if we look under folder properties, option: SHOW NUMBER OF UNREAD ITEMS is enabled.
    We believe it's some kind of bug.
    Anyone else experiencing the same thing and how to solve it?
    with best regards,
    bostjanc

    Hi,
    Does this issue happen to multiple users?
    When you view the folder that has unread emails, is there any unread email with the blue "unread" line before the unread email?
    Please first try to start Outlook with /cleanviews switch to check if this issue is caused by corrupt view. To do this, press Windows key + R to open the Run command, type
    outlook.exe /cleanviews and press Enter.
    Besides, if this issue happens again, you can try to close Outlook and then open it in safe mode (hold CTRL key and double click Outlook icon to open it) to check the result.
    Hope this helps.
    Regards,,
    Steve Fan
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • Display number of line items in my report at the title bar

    hi,
    i would like to ask, how am i going to add in the number of line items to be display under the title bar above of the SAP. example similar to SE16, where it will show you the number of lines under the bar above.
    may i know how am i going to program it for my report? thanks

    Hi,
               check out the following code........copy-paste....and then....................
    data : it type STANDARD TABLE OF vbak,
           wa type vbak.
    data : ctr TYPE sy-dbcnt.
    data : str(20) type c.
    select * from vbak into table it UP TO 10 ROWS.
      ctr = sy-dbcnt.
      move ctr to str.
    set titlebar 'LIST' OF PROGRAM sy-repid with str.
    loop at it into wa.
      skip 1.
      write wa-vbeln.
    endloop  .
    ................create the title-bar 'LIST' as 'List Details : &'.
    (double-click on 'LIST' ....... 
    give 'TITLE' as 'List Details : &'. ).
    run.....& get solved !!!!!
    Rewards points if helpful..............

  • How can I get the checked item from a list that is generated automatically?

    I am still pretty new a CF and could really use some help. I am trying to get each item that is checked from a page that generates the list automatically from a query and get the associated textbox text with it. For example:
                        <!--- Start Get Data Hierarchy List--->
                                  <cfquery datasource="MyDatasource" name="qry_GetData">
                                            SELECT C.taxonomy_id, C.lvl, C.taxonomy_name, C.taxonomy_tree, C.taxonomy_guid, C.taxonomy_standard_name
                                            FROM dbo.taxonomy AS P
                                            JOIN dbo.taxonomy AS C
                                                      ON P.taxonomy_id = 21
                                                      AND C.hid.IsDescendantOf(P.hid) = 1
                                                      AND C.lvl = 3
                                  </cfquery>
                        <!--- Start Get Data Hierarchy List--->
    <cfloop query="qry_GetData">
    <input type="checkbox" name="cbox_PE_SelTax#taxonomy_id#" value="#taxonomy_name#"><font size="4" color="3399FF"> #taxonomy_name#</font>
    <br />
         - Details of experience with #taxonomy_name#:<input name="tbox_PE_SelTax#taxonomy_id#" id="tbox_PE_SelTax#taxonomy_id#" size="50%">
    <br />
    <br />
    </cfloop>

    Dave,
    Thank you for your help so far. I must not be asking the right question. Here is the whole breakdown. I am writing this page to collect the users information, Name, Title, Company, and technologies they are familiar with. I then want that information emailed to me upon submission. The point I am running into a problem (even with your last post) is how to write the action part of it that will email the checked items to me. I cannot figure out if I need to use CFLOOP (if so, how) or what the best method is. I am a very visual lerner and can understand how code works easily, but I have not found any examples for my situation. Again, I really appriciate all of your help thus far.
    Thank you!

  • How to get all checked items from TreeView in VC++ mfc

    void CPDlg::OnTreeClk(NMHDR *pNMHDR, LRESULT *pResult)
    NMTREEVIEW& nm = *(LPNMTREEVIEW)pNMHDR;
    // which item was selected?
    HTREEITEM hItem = m_columnTree.GetTreeCtrl().GetSelectedItem();
    temp = m_columnTree.GetItemText(hItem, 0);
    MessageBox(temp);
    if (!hItem) return;
    // the rest of processing code..
    I'm new in VC++ .
    this code gives only current selected item . but i need to get all checked items from treeView.
    kindly help me..

    no not unchecked .. the all check box's gone from tree view. which means Treeview without check box.
    finally i tried SetCheck 
    void CPracticesDlg::OnSelchangedTreectrl(NMHDR* pNMHDR, LRESULT* pResult)
    NM_TREEVIEW* pNMTreeView = (NM_TREEVIEW*)pNMHDR;
    // TODO: Add your control notification handler code here
    tree_state = 1;//changed
    HTREEITEM hItem = m_columnTree.GetTreeCtrl().GetSelectedItem();
    BOOL chk = m_columnTree.GetTreeCtrl().GetCheck(hItem);
    if (chk == TRUE)
    HTREEITEM hmyItem = m_columnTree.GetTreeCtrl().GetSelectedItem();
    // Check all of the children of hmyItem.
    if (m_columnTree.GetTreeCtrl().ItemHasChildren(hmyItem))
    HTREEITEM hNextItem;
    HTREEITEM hChildItem = m_columnTree.GetTreeCtrl().GetChildItem(hmyItem);
    while (hChildItem != NULL)
    hNextItem = m_columnTree.GetTreeCtrl().GetNextItem(hChildItem, TVGN_NEXT);
    m_columnTree.GetTreeCtrl().SetCheck(hChildItem, 1);
    hChildItem = hNextItem;
    else
    HTREEITEM hmyItem = m_columnTree.GetTreeCtrl().GetSelectedItem();
    // Uncheck all of the children of hmyItem.
    if (m_columnTree.GetTreeCtrl().ItemHasChildren(hmyItem))
    HTREEITEM hNextItem;
    HTREEITEM hChildItem = m_columnTree.GetTreeCtrl().GetChildItem(hmyItem);
    while (hChildItem != NULL)
    hNextItem = m_columnTree.GetTreeCtrl().GetNextItem(hChildItem, TVGN_NEXT);
    m_columnTree.GetTreeCtrl().SetCheck(hChildItem, 0);
    hChildItem = hNextItem;
    code works good . but here is i think small problem . i cant find it.
    when i click the root node it goes to checked state but not child node. again i click same root node it goes to unchecked state but all child's are goes to checked state.
    help me. here what is the problem?

  • How to keep checked items in report

    all I've a interactive report  which has checkbox column but when I click pagination next or prevoius the checked item are lost. how can I keep checked rows when I paginate in apex 4.2? regards

    You would need to populate checked items in a collection
    http://www.inside-oracle-apex.com/checkboxes-in-tabular-forms-the-easy-way/
    then have a dynamic action on refresh of the region to repopulate the checkboxes with some clever jQuery.
    Jari would be the person I'd say would have something in the order of what you're after
    DbSWH Goodies on Oracle Application Express

  • Number of line items in each Invoice

    Hi Gurus,
    I have one requirement
    i need to display one column in the Report i.e. "Line items per eachinvoice" which should give the number of line items per that Invoice
    when iam using tcode 'FB03' at ECC - Document Display it is giving
    for Doc 1111 - 2 line items
    for Doc 2222 - 12 line items
    so in the report that column should display
    2 for Doc 1111
    12 for Doc 2222
    please guide me how to do this
    Thank you

    create a formula with constant 1
    and set the exception aggregation as Total, and set the reference char as Line Item.
    Make sure you have Invocie in the report.
    - Danny

Maybe you are looking for

  • Pages won't print in color on Xerox Phaser 6110

    For some reason, I have to print as pdf, then use preview to print the pdf version if I want the document in color. If I try just going from pages to the phaser, I get a black and white document instead. I've been trying to find a setting in pages th

  • IDOC STUDY MATERIAL

    i'm new to idoc. i have knowledge of ABAP and want to know how to create IDOC. i could not follow the materials from sapbrain....

  • IPhone 3G STILL Crashes with iOS 4.0.x and 4.1 update

    I'm still having performance issues. My iPhone 3G boot up time has increase but it still crashes every time I tried to use it, regardless if I use it for gaming, being on the phone, or anything. The battery meters keeps on showing that my battery is

  • Firefox pops up with "alot" page and I have asked for it to be gone ( don't want to use it at all and it is invasive), how do I do so?

    The update keeps putting "alot" at the forefront and asking me if I want it. Every time I say no and it comes back. Every time I open the browser I have to close this new window and it is getting to the point where i do not want to use Firefox as my

  • Signature not Saved?

    Greetings - I signed a PDF in the new version of Adobe Reader on the iPad. The signature shows on the screen just fine. However, when I e-mail the PDF, the signature is not there. Why is this? How can I fix it? Thanks.