How to calculate sum of the fields that will be reflected for every row entry??

Probably, the title might not give you the correct view on the question that I want to ask but, I can describe my question. Well, I have an
Excel sheet for attendance where in I have different columns
for 3 subjects (subject1, subject2, subject3) and a
total column. I also have another column named as Student ID.
I would like to write a formula for the total column where, when I enter the number of classes attended in every subject column for each student present in every row, then the total column is reflected with the sum of no.of classes attended in every subject
for each student automatically.
How can I achieve this? I am looking forward for any help. I am a beginner.
Ex: Excel sheet
Student ID | Subject1 | Subject2 | Subject3 | Total
1               
|     2        
|       3      
|       4       |   
9
2                |     3        
|       5      
|      2       
|   1
The total column should be reflected with the sum of values under subject1, subject2, subject3 fields automatically for every row. How to do it?
Thank you,
Kaushik.

In the first empty cell of the row of Student 1, enter a formula like
=SUM(B2:D2)
where column B is headed Subject 1 and column D is headed Subject 3, then copy down to match your student list.
Then below the last row of column B, enter the formula
=SUM(B2:BXXX)
where 2 is the row of Student 1, and XXX is the row number of the row above the formula, then copy across to match.

Similar Messages

  • How to calculate sum of the fields in adobeforms

    Hello Experts
    can  i know how to calculate sum of fields in the adobe form.  I have few fields to be summed in total field.
    Regards

    Hello Surendra,
         Suppose you are having 4 fields and the 4th field is the TOTAL field.
         Write the below Javascript on the Initialize event of TOTAL field as shown below.
    Remember that if you use just "+" sign without Number() or ParseInt() function it acts like String Concatenation.
    this.rawvalue = Number( this.parent.field1.rawvalue ) +
                          Number( this.parent.field2.rawvalue ) +
                          Number( this.parent.field3.rawvalue ) ;
    You can also write is as shown below.
    this.rawvalue = parseInt( this.parent.field1.rawvalue ) +
                             parseInt( this.parent.field2.rawvalue ) +
                             parseInt( this.parent.field3.rawvalue ) ;

  • How to caluclate stdev of the field that is priory calculated?

    Post Author: inge
    CA Forum: Formula
    I would deeply appreciate any suggestions asap related to calculation of stdev of the field that is priory calculated using the formula. Thank you in advance.

    I'm afraid I'm still not clear on the desired mapping. Context class has
    a Map of Data objects. Each Data object has a name and a value. That
    much I understand.
    However, your previous description said that the map of Datas is keyed on
    the KEY column in the CONTEXT table... that doesn't make any sense,
    since there is only one KEY value stored for each row, so why would you
    need a Map? Also, the DATA table just showed NAME and VALUE columns...
    how is a DATA row linked to a CONTEXT row?
    So I guess we'll need you to post a much more detailed description of the
    problem.

  • How can I find out  the strings that will be presented to the UI

    Hi All,
    I am working on a Swing based application (Swing based UI)
    I am requested to do the following on the bytecode of that application:
    I am supposed to find out what strings from within that bytecode will be presented to the UI and what will be used for an internal usage.
    i have no way of running the application to verify that, i can only work on the static bytecode files.
    hard question ha?
    Thanks,
    EItan.

    You would of course have to run it. Either via a VM or recreating a VM yourself.
    As an example of that how would you figure out what string occurs in the following (pseudo) code?
    String msg = (cnt > 1) ? ("files=" + cnt) : ("file=" + cnt);
    if (cnt > 1) DisplayMessage(msg);

  • Debugging the program that will get triggered for a particular output type

    Hi all,
             I have one program,which will get triggered when a Sales order of type 'VOR' is created.Whenever 'VOR' order is created it will trigger the 'ZALT' output type.And this output type 'ZALT'has been configured to my program.This output type configuration has been set up by my functional consultant.
    My problem is I created Sales order of type 'VOR'.But I want to debug my program,which has to be triggered because of that 'VOR' sales order type,which in turn triggers 'ZALT' output type and in turn triggers my program.
    My problem is I created Sales order of type 'VOR' by keeping debugging point in my program.But it is not going to my program and simply displaying sales order has been saved.
    So is the outtype has been configured properly?.Do I need to go to my functional consultant?Could anyone explain in this regard?
    Rgds,
    Balaji

    Hi Balaji,
    If possible, try to repeat the output in the output type messages screen of VA02 and change its dipatch time to '1'(Through further data). Now put the break point in the program assigned to output tye 'ZALT'(You can see this in the TNAPR table) and run the program RSNAST00 through SE38. The program will stop at the break point.
    If its not possible to repeat the output and if you want to check it the first time the output type is processed, ask the functional consultant to change the dispatch time in the condition record that is being retrieved for proposing the output type to '1'. Now run RSNAST00. The program will stop at the breakpoint.
    Thanks,
    Vinay

  • How do you create PDF Form Fields that will expand to contain their content?

    I use Acrobat XI and so far as I know LiveCycle Manager taken away.
    1. Is there a way one can do it directly in Acrobat?
    2. Or is there a simple Javascript i can use?

    I know, but it should be possible to make it so that all items were moved forexample down if an item over was extended

  • Please tell me how i can get to the page that let's me change my printer from computer to printer to

    please explain how I can get to the page that will let me change my printer to the wireless system instead of computer to printer I had to use the hardwire way to use my print shop, but now I would like it to be a wireless system  cannot find the page to let me change it back please help

    Usually the HP Printer software/driver folder in the Start Menu has the option to switch to wireless from usb.
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

  • How do you change the fields that are displayed on the email preview list after a search?

    How do you modify the fields that are displayed in the mail preview list in the center column of Mac mail after you conduct a search of your email?   All of a sudden the displayed fields changed on me whenever I do a search in mail.   When I have not filtered my email with a search, the default field shown in bold at the top of each message's preview is the "From" field.   However, when I do a search this changes to the "To" field.   Can anyone help?   Thanks, ccarey

    ipicus
    But why would you want this?
    iTunes is responsible for the File Management, let it get on with it, you do your organisation in the iTunes window. And everything you need to do, you can do via the iTunes Window. Want to find the file of a track quickly? Right click on it in the iTunes Window and select Show File: A finder window pops open with the file already selected.
    Regards
    TD

  • How do I create a text field that can be manipulated by the user?

    I have created a form that will be changed by the user from month to month. In this form they may have the need to make some of the font bold.
    The text fields that will end up being bold will not be the same every time so I can't format the field to be bold.
    Is there any way to allow the user to be able to choose whether a text field is bold or not?
    Thanks,
    T_Sands

    Thanks GKaiseril. When I do that and go to preview the form I see where the properties are listed as an option, but they are in light gray so I can't select them. Any idea why this is happening?

  • How can I sum all the amount per line?

    HI,
    How can I sum all the amount per line?
    EXAMPLE:
    [code]
                                             TOTAL:
    1,000         2,000     5,200            $8,200
      400         1,200     6,000             7,600
    [/code]
    THANKS!!

    If you are sure of the number of columns that you are gonna get then you can add them to a variable and display.
    total = itab-col1 + itab-col2 + itab-col3.
    If you dunno how many columns will come , you have to use field symbols.
    Say the datatabse table has 16 columns which will contain your price and you have to calculate the sum of all those , then assign them to field symbols and calculate.
    Have a look at the following code.
    FORM GET_VALUES_FROM_COSS .
      FIELD-SYMBOLS: <FS1> TYPE ANY.
      DATA: V_COMPONENT1 TYPE I.
      V_COMPONENT1=31.  " your field of table from which amount field starts
    Cumulate the posting values of all the 16 period buckets as to get
    total production order cost. This is to handle the partial posting of
    production order values in different periods.
      DO 16 TIMES.
        ADD 1 TO: V_COMPONENT1.
        ASSIGN COMPONENT V_COMPONENT1 OF STRUCTURE COSS TO <FS1>.
        IF COSS-WRTTP EQ '05' AND COSS-KSTAR EQ C_KSTAR1.
          ADD <FS1> TO I_FINAL-PL_LABCOST.
        ELSEIF COSS-WRTTP EQ '04' AND COSS-KSTAR EQ C_KSTAR1.
          ADD <FS1> TO I_FINAL-ACT_LABCOST.
        ELSEIF COSS-WRTTP EQ '05' AND COSS-KSTAR EQ C_KSTAR2.
          ADD <FS1> TO I_FINAL-PL_MATCOST.
        ELSEIF COSS-WRTTP EQ '04' AND COSS-KSTAR EQ C_KSTAR2.
          ADD <FS1> TO I_FINAL-ACT_MATCOST.
        ELSEIF COSS-WRTTP EQ '05' AND COSS-KSTAR EQ C_KSTAR3.
          ADD <FS1> TO I_FINAL-PL_OPCOST.
        ELSEIF COSS-WRTTP EQ '04' AND COSS-KSTAR EQ C_KSTAR3.
          ADD <FS1> TO I_FINAL-ACT_OPCOST.
        ELSEIF COSS-WRTTP EQ '05' AND COSS-KSTAR EQ C_KSTAR4.
          ADD <FS1> TO I_FINAL-PL_FACCOST.
        ELSEIF COSS-WRTTP EQ '04' AND COSS-KSTAR EQ C_KSTAR4.
          ADD <FS1> TO I_FINAL-ACT_FACCOST.
        ELSEIF COSS-WRTTP EQ '05' AND COSS-KSTAR EQ C_KSTAR5.
          ADD <FS1> TO I_FINAL-PL_LABCOST.
        ELSEIF COSS-WRTTP EQ '04' AND COSS-KSTAR EQ C_KSTAR5.
          ADD <FS1> TO I_FINAL-ACT_LABCOST.
        ELSEIF COSS-WRTTP EQ '05'.
          ADD <FS1> TO I_FINAL-OTHER_PL_COST.
        ELSEIF COSS-WRTTP EQ '04'.
          ADD <FS1> TO I_FINAL-OTHER_ACT_COST.
        ENDIF.
      ENDDO.
    ENDFORM.                    " GET_VALUES_FROM_COSS
    Let us know if u need more inputs

  • How can I count only text fields that have been used?

    Hi,
    I'm using Livecycle Designer for a dynamic form.  I have a section of the form that contains field for the user to enter goals and then rate the goal.  I'd like to count only the text fields with entries and then have the total number of rates divided by the number of text field entries.
    Row 1 , column 1 -- Goal is to pick up 5 apples.   Row 1, column 2 - the rate given is 5
    Row 2, column 1 - Goal is to pick up 5 pears.  Row 1, column 2 - the rate given is 5
    Two goals for a total rating of 10     ---  10 divided by 2 = 5
    Is it possible to count only those fields that are populated?
    Also, is it possible to create an error message if the user entered 5 goals but only rated 4 of them?

    You could do a simple check for null and increase a counting variable if there's a value in the field. Here's a sample:
    var goalCount = 0;
    if (field1.rawValue != null){
         goalCount = goalCount + 1;
    if (field2.rawValue != null){
         goalCount = goalCount + 1;
    if (field3.rawValue... etc.
    this.rawValue = totalPoints/goalCount;
    where totalPoints is a sum of the values in the goal fields. This script is javascript and should be placed in the calculate event of the field showing your average score.

  • I paid for exportpdf and everytime i try to use tool on pdf, it asks me to subscribe. i have to log into website EVERY time. not acceptable.  how can i export only form fields that were filled in?

    i paid for exportpdf and every time i try to use tool on pdf, it asks me to subscribe. i have to log into website EVERY time. not acceptable. Some forms can't be saved so having to log in and only use webtool to upload a saved pdf won't work.
    as well, how can i export only form fields that were filled in if I can get pdf to save to computer?

    Hi kstine,
    I can see why that would be frustrating! Have you tried selecting Stayed Signed In underneath the Adobe ID and Password boxes when you try to log in?
    What did you use to create the PDF form? If you used FormsCentral, form data is saved to your online FormsCentral account. If you have Acrobat, you can export form data as described  here: Adobe Acrobat X Pro * Manage form data files
    Best,
    Sara

  • How to enter values in the fields of standard SAP Infotype e.g. IT0024

    Hi,
    How to enter values in the fields of standard SAP Infotype?
    e.g. I want to enter values in infotype IT0024(Qualifications) in the field AUSPR(Profincy):-
    1-Level 1
    2-Level 2
    3-Level 3
    4-Level 4
    5-Level 5
    Thanks,
    Ameet

    Hi Divya,
    I checked with the screen and report which is mentioned by you. But I want to modify/make changes that should appear in the screen when you view details for a particualar employee in Qualifications(IT0024).
    Please refer the screen 2000 of module pool MP002400 in SE80. In that screen I want to make change as listbox with key.
    Can it be achieved in the same way as mentioned by you before by making standard SAP report as Z and then modify using layout editor?
    Please help me out. I think I am almost there.
    Thanks,
    Ameet

  • How to calculate sum in jtable

    Hi,i want to ask.Can you teach me how to calculate sum in jtable?For example i got rows of qty,price and total.The total is null unless the user enter value in qty,and when the user press enter key in the qty,the sum will be displayed in the total.Thanks a lot..

    Calculate the sum on the fly when the tableModel is updated (setValueAt() ) or let your row Object deal with it.

  • How to choose fields that will be displayed on CFL?

    Dear All,
    How to choose fields that will be displayed on CFL?
    Thank u

    hi ,
    please go through the following code
    Case SAPbouiCOM.BoEventTypes.et_CHOOSE_FROM_LIST
                    Dim oDBs_Head As SAPbouiCOM.DBDataSource
                    Dim rs As SAPbobsCOM.Recordset = objMain.objCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                    Dim rs1 As SAPbobsCOM.Recordset = objMain.objCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                    Dim oCFL As SAPbouiCOM.ChooseFromList
                    Dim CFLEvent As SAPbouiCOM.IChooseFromListEvent = pVal
                    Dim CFL_Id As String
                    objForm = objMain.objApplication.Forms.Item(FormUID)
                    oDBs_Head = objForm.DataSources.DBDataSources.Item("@ZAM_CO1")
                    CFL_Id = CFLEvent.ChooseFromListUID
                    oCFL = objForm.ChooseFromLists.Item(CFL_Id)
                    Dim oDT As SAPbouiCOM.DataTable
                    oDT = CFLEvent.SelectedObjects
                   If oCFL.UniqueID = "CFL_3" Then
                            Try
                                oDBs_Head.SetValue("U_RStaff", 0, oDT.GetValue("firstName", 0) + " " + oDT.GetValue("lastName", 0))
                            Catch ex As Exception
                            End Try
                        End If
                   If oCFL.UniqueID = "CFL_4" Then
                            Try
                                oDBs_Head.SetValue("U_App1", 0, oDT.GetValue("firstName", 0) + " " + oDT.GetValue("lastName", 0))
                            Catch ex As Exception
                            End Try
                  End If

Maybe you are looking for

  • I want to set up my Airport Express Base Station again but do not remember how. Please walk me thru it.

    I am trying to hook my Airport Express Base Station up to be a router again and have forgotten how to do this. Before I had it hooked through the modeum and would like to have it that way again but for some reason the process has completely left my m

  • Imovie events out of order

    Since ive upgraded to imovie  in Maverick all of my events are not in order according to dates the clips were taken.  They all out of order. is there an easy way to have the events in order according to date the video clips were taken?

  • Distinc on a subset of columns

    Hi, I have a query working such as: selec distinct t1.col1, t2.col1, t2.col2, t3.col1 from table1 t1, table2 t2, table3 t3 where t1.some_id = t2.some_id and t2.some_val = t3.some_val order by t1.col1 This goes through some code that outputs the same

  • Burned DVD skips frames (?) on DVD players

    I recently used my EyeTV 200 to encode some video, which I then exported to iMovie, and then sent it to iDVD from iMovie. I then burned the video to a DVD using iDVD. The burned DVD plays fine on my computer, but does not play correctly on two stand-

  • HT1975 why does my ipod touch 4th gen can't detect my location?

    why does my ipod touch 4th gen can't detect my location? i thought it was because updating foursquare. i have erased and restored its settings, but i was able to use my foursquare before even after the restoration, but now it's not working even my lo