Newb: Need to add certain entries (SUMIF ?)

Hi,
I'm pretty new to spreadsheets...
I'm trying to work out my expenditure on various items under various headings.
Column A contains my expenditure headings: Food, fuel, leisure.
Column B contains the amount I spent.
As I enter in my data in column A the order is totally random:
Food
Food
Leisure
food
fuel
Leisure
food
etc.
How can I add up all the 'Food' items into one cell without actually changing the order in column A and making a total under the last 'Food' entry?
Hope I'm explaining myself
Really appreciate your help
A

Hi Adam,
Welcome to the Numbers discussion. I have named the main table "Data" and added a separate table for the totals. Each table has a Header Row, but has no Header Column. Your expense type is in Column A and your expense amount is in Column B of the data table. In the totals table, your Header row contains the expense types. Your expression for the totals, in Row 2 of the totals table is:
=SUMIF(Data :: $A, "="&A1, Data :: $B) Paste this expression into A2 and fill across all your expense types.
Regards,
Jerry

Similar Messages

  • When do I need to add an entry in the "back to my mac" area?

    Documentation and help is just too terse in this area.
    When do I actually have to make an entry into the "Back to My Mac" list, and what does it actually do?
    What is the purpose of multiple entries?
    I have a remote family member that can already get to their disk shares, even though there is no entry for that MobileMe/iCloud account in my AirPort Extreme.
    On the flip side, they cannot get to the disk shares I actually want them to see, which are on a different computer.
    Need more concrete info!
    Thanks!
    -Rick

    When do I actually have to make an entry into the "Back to My Mac" list, and what does it actually do?
    You would make entries in the Back to My Mac field if you want to be able to access your AirPort base station or an attached AirPort Disk from a remote location.
    Back to My Mac (BTMM) requires both an Apple ID and an iCloud account from Apple.
    To get an idea on how to use BTMM to gain access to an AirPort Disk remotely please check out the following AirPort User Tip. Note the section specifically on BTMM.
    What is the purpose of multiple entries?
    It allows you to configure the AirPort to be accessed from multiple iCloud accounts.

  • How to add the entries and how to delete the entries from custom Z-table?

    Hi Experts,
    My requirement is I need to add the entries from program to three custom z-tables . Assume as zabc1,zabc2,zabc3.
    Here how to add the entries from program to Z-table.???
    And one more requirement is I want to provide a deletion checkbox in selection screen . Initial it was unchecked. If I am giving tick mark then the entries should be deleted from above custom Z-tables. this all will done in backgroung job?
    Could you please guide me the logic how to crack this???
    Let me know if you need more Info
    Thanks
    Sanju

    Hi Sanjana,
    What you can do is to use the ABAP keyword INSERT or MODIFY to add or modify records to a given database table. Here are the syntax taken from SAP documentation:
    *Insert Statement
    INSERT dbtab
    Syntax
    INSERT { {INTO target VALUES source }
           | {     target FROM   source } }.
    Effect
    The INSERT statement inserts one or more rows specified in source in the database table specified in target. The two variants with INTO and VALUES or without INTO with FROM behave identically, with the exception that you cannot specify any internal tables in source after VALUES.
    System Fields
    The INSERT statement sets the values of the system fields sy-subrc and sy-dbcnt.
    sy-subrc Meaning
    0 At least one row was inserted.
    4 At least one row could not be inserted, because the database table already contains a row with the same primary key or a unique secondary index.
    The INSERT statement sets sy-dbcnt to the number of rows inserted.
    Note
    The inserted rows are finally included in the table in the next database commit. Up until this point, they can still be removed by a database rollback.
    *Modify Statement
    MODIFY dbtab
    Syntax
    MODIFY target FROM source.
    Effect
    The MODIFY statement inserts one or several lines specified in source in the database table specified in target, or overwrites existing lines.
    System fields
    The MODIFY statement sets the values of the sy-subrc and sy-dbcnt system fields.
    sy-subrc Meaning
    0 At least one line is inserted or changed.
    4 At least one line could not be processed since there is already a line with the same unique name secondary index in the database table.
    The MODIFY statement sets sy-dbcnt to the number of processed lines.
    Note
    The changes are transferred finally to the database table with the next database commit. Up to that point, they can be reversed using a database rollback.
    Hope it helps...
    P.S. Please award points if it helps...

  • Add an entry in table

    hi,
    can any one please help me how to add an entry in transp.table.
    in the table TVARV table i need to add an entry .
    please any one help me how to add and what are neccessary steps to be followed while adding an entry.
    for eg
    NAME          TYPE                   NUMB                  LOW                HIGH
    ZSAMPLE        P                       001                        /FILE/
    ZSAMPLE        P                        002                      /EXTRACT/
    NOW I NEED TO ADD AN ENTRY LIKE
    ZSAMPLE      P                          003                      /TEST/
    please help me its urgent.
    thanks in advance.

    Hi ,
    Pls fellow this Steps :
       1 ) Go to se 11 u type the table name then press the display .
      2)  in that screen u click utilities , here u click the table contents .
    3) In  that table contents u click the create entires ..
    4) now u enter the values in that screen .
    5) then press save .
    now this entires are stored in TVARV table .
    <REMOVED BY MODERATOR>
    Regards ,
    Shankar GJ
    Edited by: Alvaro Tejada Galindo on Apr 11, 2008 5:44 PM

  • Can not add more entries in feature ABKRS

    Dear Expert,
    This is very strange and gives me a real headache because it's supposed to be very simple.  I have feature ABKRS that queries TCLAS, MOLGA, PERSG, and finally BUKRS.  I need to add more entries in BUKRS field but I can't.  The value of BUKRS that I choose is not displayed on the list and  I've tried several times since yesterday with no result.  Is this a bug or what ?
    Please anyone help me..
    Regards,
    Arief

    Hi Sikindar, below is the screenshot.  I'm planning to add company codes for each and every existing employee groups.
    ABKRS ABKRS  Default value for payroll accounting area                   Status: Active
      ---   TCLAS Transaction class for data storage
    --   B Applicant data
          ---   otherwise
              ---   MOLGA Country Grouping
    --   34 Indonesia (INDONESIA)
    ---   PERSG Employee Group
    --   1 Direct
    ---   BUKRS Company Code
    --   2001 PT Riau Andalan Kertas
    --   2005 PT. East Indonesia Airtax
    --   2007 PT Riau Andalan Pulp&Pape
    --   2012 PT. Anugrah Kertas Utama
    --   2015 PT. Asia Prima Kimiaraya
    --   3000 Asianagro Abadi, PT
    --   3001 Inti Indosawit Subur, PT
    --   3002 Asianagro Lestari, PT
    --   3003 Gunung Melayu, PT
    --   3004 Asianagri Riau Jambi, PT
    --   3005 Asianagro Subur, PT
    --   3100 Supra Matra Abadi, PT
    --   3101 Nusa Pusaka Kencana, PT
    --   3102 Hari Sawit Jaya, PT
    --   3103 Indo Sepadan Jaya, PT
    --   3104 Rantau Sinar Karsa, PT
    --   3105 Andalas Intiagro Lestari
    --   3106 Saudara Sejati Luhur, PT
    --   3200 Mitra Unggul Pusaka, PT
    --   3201 Raja Garuda Mas Sejati,PT
    --   3202 Tunggal Yunus Estate, PT
    --   3203 Rigunas Agri Utama, PT
    --   3204 Pusakamegah Buminusantara
    --   3205 Sari Dumai Sejati, PT
    --   3206 Cemerlang Energi PerkasaD
    --   3300 Dasa Anugrah Sejati, PT
    --   3600 Asianagro Agung Jaya , PT
    --   3700 Karya Dewi Putra, PT
    --   3701 Archipelago Timur Abadi
    --   3702 Kalimantan Ria Sejahtera
    --   4000 PT Riau Prima Energy
    --   5100 Toba Pulp Lestari, PT
    --   5501 PT Pacific Fiber Indonesi
    --   5502 PT Adindo Hutani Lestari
    --   5528 PT ITCI Hutani Manunggal
    --   5530 PT Kreasi Hutani Lestari
    --   5590 PT Kutai Chip Mill
    --   5591 PT Tarakan Chip Mill
    --   6000 APRIL Human Capitals
    --   6101 Pec Tech Indonesia
    --   6201 Pec Tech Svcs Indonesia
    --   6205 Inter Benua Medan Perkasa
    --   6206 Berkat Nugraha Sinar Lest
    --   6207 Sinar Andalan Bekal Murni
    --   6208 Kalimantan Prima svcs Ind
    --   6301 PT Sentosatama IndahAbadi
    --   8100 PT Pacific Oil & Gas Indo
    --   8101 PT Pacific Oil & Gas Perl
    ---   otherwise
    --   2 Matrix
    --   3 HIPO
    --   4 Active Employee
    --   5 Advisor
    --   6 MIPO
    ---   otherwise
                  |--   37 Brazil (BRAZIL)
                  |--   42 Taiwan
                  |--   43 New Zealand (NEW ZEALAND)
                  |--   44 Finland (FINLAND)
                  |--   48 Philippines (PHILIPPINES)
                  |--   99 Other Countries
                  ---   otherwise

  • In f-02 GL item fast entry i need to add WBS element field

    Dear All,
    In GL item fast entry screen f-02, I need to add one field WBS element.
    Please help me how to add the WBS element field in upload fast entry.
    Best Regards,
    Venkat.

    Dear,
    Use transaction O7E6 to add WBS Element into your variant.
    You can find your variant which is assigned in FB00.
    Regards,
    Chintan Joshi

  • A function module to add an entry to the change log of the ODS needed

    Hi all,
    I want to add an entry to the change log table of the ODS .
    Is there a Function module available for this or a work around for this.
    Regards
    Akshay

    Hi Kiran,
    You can directly add days to the date.
    Eg:
    DATA date LIKE sy-datum.
    DATA days TYPE i.
    date = sy-datum.
    days = 100.
    date = date + days.
    WRITE date.
    Regards
    Wenceslaus

  • Newbie: I needs to add a ID attribute to a TD cell tag

    Hi,
    I feel like I bug u to much... but I needs to hide columns and rows so I needs to add a ID attribute to a TD cell tag or a report region, report.
    I tried adding Column Attributes: CSS Class: myclass - it only affects the column text
    do I use "Element Attributes" or "Element Option Attributes" if so how?
    thanks. RJ

    Sorry I posted a little too quick. I see you want to hide a column in a report.
    Place this code in the HTML Header of the page
    <script language="JavaScript" type="text/javascript">
    function getCellIndex(pRow, pCell) {
      if (document.all ){ // if IE do things the MS way
        for (var i=0; i<pRow.cells.length; i++) {
          if (pRow.cells[i] == pCell) {
            lCount = i
      } else { // do things the standard way
        lCount = pCell.cellIndex;
      return lCount;
    function cellColumn(pId, pFunction) {
      var lCell      = $x(pId);
      var lTable     = $x_UpTill(lCell, 'TABLE');
      var lRows      = lTable.rows;
      var lCellIndex = getCellIndex(lCell.parentNode, lCell);
      for (var i=0; i<lRows.length; i++) {
        switch(pFunction){
          case 'TOGGLE':$x_Toggle(lRows.cells[lCellIndex]);break;
    case 'SHOW' :$x_Show (lRows[i].cells[lCellIndex]);break;
    case 'HIDE' :$x_Hide (lRows[i].cells[lCellIndex]);break;
    default:break;
    return;
    </script>
    If your table contained the EMP column you could hide or show with
        cellColumn('EMP', 'SHOW');
        cellColumn('EMP', 'HIDE');

  • Need to add new cameras to Camera Raw in PS CS2 (not ready to update to CS6 yet).  Can do... how?

    Windows Vista-64, CS2 Photoshop and Illustrator.  CS2 works well for what I do... don't need to update yet.  Need to add Canon 5D Mark2.  When try to open Raw files, get error message: Photoshop says it can't complete the request because it isn't the right kind of document.  I believe this means that the camera is not recognized.  Current DNG Converter is 3.7.  Would like to add Raw support for all newer cameras, so able to work with files from virtually any customer.

    I use camera raw to make preliminary color/brightness/contrast adjustments then save as 16-bit RGB file... then final adjustments in Photoshop.  If I can add (for example) DNG Converter 8.2, to simply allow the CR2 image to open, then I don't need any other features.  What I gain be upgrading to CS6 is additional functionality in Photoshop... no doubt I will be very glad when I do, but meanwhile I only need camera raw as a preliminary step in my workflow.
    Not brain surgery... whatever additional functionality is available in Canon 5d mark 2 that is not in Canon 5d is unnecessary for my purposes now.  Is there a reason that Adobe would not allow adding 5d mk2 (even if not all functionality is enabled)?
    Ideally, I would hope to download DNG Converter 8.2, install it in my Photoshop CS2, and continue with my normal workflow process.  Adobe could easily create a warning that "some functionality provided in certain newer camera files is not available, recommend upgrading to CS6."  Just makes sense to support users as long as possible rather than force the upgrade.

  • Flash CS5 Newbie - Need help adding URL link to animated banner

    I apologize if this is a very basic question, but I am a newbie at designing in Flash. I have created a basic animation in Flash CS5 and I need to add a clickable URL link to it. I've tried a few tutorials that looked promising, but none of them solved my problem. I've tried a number of things including converting parts or all of the images to simple buttons or movies and linking them that way as well as typing in code for ActionScript 2 and 3, none of which were successful. The animation plays correctly when viewed in my browser, but when I click on it, the link does not work. I would prefer that the entire banner be clickable to take viewers to the linked website rather than using hyperlinked text. Also, when I open the Code Snippets window, it is empty, no matter what image or frame I've selected. Do I need to import code snippets from somewhere or am I simply going about things the wrong way? Any help is greatly appreciated!

    It all depends whether you're decisively using AS2.0 or AS3.0 .
    In the latter, you would need to use a URLRequest() method in conjunction with a navigateToUrl() call (not sure the exact syntax for navigate to Url, it might be a capitalized "URL" in the method but the request takes a String argument such as http://www.adobe.com)

  • This works for certain entries - why?

    im trying to find out the largest number/age but it only works for a certain set of data for some reason.
    I tested it with ordinary numbers (no objects created) in a seperate program and it works fine but not this one :-/
    ConsoleIO.out.println("\n\n\n\n\nPlease enter the employee number you wish to assign a Mentor to: ");
            int pn = ConsoleIO.in.readInt();
            //get this employees prog lang and age
            Iterator iter = theStaff.iterator();
            while(iter.hasNext() == true)
                 Programmer programmer = (Programmer)iter.next();
                 if(pn == programmer.getPayrollNumber()) //if the pn == payroll number in arraylist
                      ConsoleIO.out.println("They match\n");
                      thisproglang = programmer.getCertainLang(); //get their prog lang
                      thisage = programmer.getAge(); //and age
            //get other employee ages && proglangs
            iter = theStaff.iterator();
            while(iter.hasNext() == true)
                 Programmer programmer2 = (Programmer)iter.next();
                 getlang = programmer2.getCertainLang(); //get other employees lang
                 getage = programmer2.getAge(); //and age
                 if(getage > largeage)
                      largeage = getage; //store the largest age in a variable
            if((thisproglang.equals(getlang)) && (largeage == largeage))
                      ConsoleIO.out.println("Eldest Age: " + largeage + "\nLang: " + getlang + "\n\n");
            }if we type in the payrollnumber of an employee who does java - it shows the eldest employee doing that same language - which is great!
    but if we do the same thing except for the employee who does VB - nothing shows but there ARE older employees doing the same language (VB) as them
    :-/ - whats going on?

    what im trying to do is that if the pn is == (equal
    to) a pn number in the arrayList then go on further:
    get thispn programming language
    (programmer.getCertainLang())
    and get the age
    THEN I want the same thing to happen for all OTHER
    objects (or programmers - same thing) and then compare
    to see if the object's age is less than the other
    objects ageDon't you want to compare the age ONLY IF the programmer is the same language as the first programmer? If you compare the age to all programmers, you will get the oldest programmer, not the oldest programmer of a specific language. Then, if your oldest programmer is not the specified language, nothing will display.
    That's why you need to add a check for the same language before you check to see if the programmer is older.
    For example, P1 and P2 are Java programmers. P1 has 5 years of experience, P2 has 10 years. P3 and P4 are VB programmers. P3 has 6 years and P4 has 9 years. So running your code with P1's pn will find that P2 is the oldest programmer and since P2 is a Java programmer, your code will show P2. Running with P3's pn will find that P2 is the oldest programmer, but since P3 is VB and P2 is Java, nothing will display.

  • Need to add row and set attribute value on pageload

    Guys,
    On my page based on the pageflowscope variable value, i need to add a row for master and one row for detail viewobject and set attribute values. (Some of the attribute are LOV and Checkboxes as well)
    I am using following code to create records.....records are being added but i am not able to set the attributes
    OperationBinding ob;
    ob = ADFUtil.findOperationBinding("Create");
    ob.execute();
    ob = ADFUtil.findOperationBinding("CreateInsert3");
    ob.execute();
    I am using following code to set the attributes value
    DCIteratorBinding dc1 = ADFUtil.getBindingIterator("firstiterator");
    DCIteratorBinding dc = ADFUtil.getBindingIterator("seconditerator");
    row1=dc1.getCurrentRow();
    row=dc.getCurrentRow();
    row.setAttribute("activest","A");
    row1.setAttribute("type","dc14");
    Anything i am doing wrong here or any suggestion to try is greatly appreciated....

    Vinod,
    Yes commit button is there and yes its also has entry in pagedef...
    When I open the same page on edit mode and i can edit regular record and save them
    Problem is that when i open the page on new mode and try to add rows on page load..... and setting values as described above.... save button somehow doesn't work...
    seems like after i add the rows on the fly, i need to refresh the binding?
    any help is greatly appreciated....
    thank you guys

  • Need to add field to standard program.

    Hi all
    I need to add a field to standard program whic is from the Ztable.  How do I do it and where should i add the field. 
    Plz help.
    Regrds
    Mona

    My queries is I need to create a ztable and using that ztable field I need to get data. I need to change the output of the standard program that output shud have that field.
    for eg. Company code specific data. this company code field i need to have in program output that means i need to use this ztable in standard program.
    If not clear plz tell me
    mona Please respond to the same thread.
    so everyone could answer for your query.
    if it is a report program copy it as a Zprogram.
    create a ztable in se11 .
    add fields and data entries finish all those work there.
    and in the copied std pgm
    add select-options: s_new_f1 for ztable-f1.
    or u can also use parameters: p_f1 type ztable-f1.
    under : at selection-screen output.
    <perform select query operation for the new ztable.>
    select singe * from table ztable wa_ztable where f1 = p_f1.
    so that the new field willl also come along with the standard output.
    Please check this

  • Need to add contact with 2 email addresses

    I have a contact in my address book for whom I need to add 2 email addresses in the same field. I know I can add multiple addresses, but that gets confusing for this contact, because I need to send every email to him at both addresses. I tried adding both addresses in the same field, separated by both a comma and a semicolon, and when I tried to sent the message Mail told me it was an invalid address. Is there any way to do this?

    There is no reason why you should not be able to enter both addresses in the Address Book as two separate addresses on the same contact card (e.g. "home" and "work") and when typing in the To: field of a Mail message, start entering as one address at a time. If the addresses exist in Address Book or previous recipients list, each will "quick fill". After first is entered (as a "bubbled" address), enter a comma then start entering second address. If either address is not in Address Book or previous recipient list, separate each entry with comma and spacebar while typing.
    If launching Address Book as a helper application from within the Mail application, single-click each email address (not the name) and either drag each, one at a time, to the To: field or click the To: button in Address book helper app. Repeat with other address. You can't snag 'em both at once.
    I just tried all of the above so these methods work here.

  • Need to add a record in search help

    Hi all,
    I have field in my selection screen with search help.
    serach help contains 4 records  i need to add 5 th record in that search help how can i add that one.
    Thanks,

    check it out may be helpful for u
    Re: how to add a value/entry in a exisiting search help
    check the below link also
    http://help.sap.com/saphelp_nw04s/helpdata/en/b3/4d3642eca5033be10000000a1550b0/content.htm
    Regards,
    Naveen

Maybe you are looking for

  • Error Code 505, proxy, Mail, DNS . . .

    No broadband where I live; wireless out of reach of my budget; so stuck with slow-as-cold-molasses dial up.  My telephone company and isp techies say 4.5 kbs is pretty much as good as it gets speedwise.  Can you imagine, those of you who are racing a

  • Active sync : process selection values are not persistent

    Hi, Version: IDM : 6 I am attempting to provision oracle user accounts through IDM active sync process running against an AD LDAP server. I want to use default forms/views supplied by IDM product, and configure active sync to use my custom workflow o

  • IOS 8.1 iPhone update problem

    I've just updated my iPhone 4 to iOS 8.1 and have lost over 15 GB of storage to "Other".  I've done resets, powered down, etc etc but can't seem to clear the "Other" from the storage thus severely limiting the music, books, etc. that the phone should

  • Duplicate records error?

    hello all while extracting master data am getting duplicate records error? how do i rectify this? in infopackage screen in processing tab,will i get the  option " ignore double data records",? when will this option will be enable? regards

  • I need a timestamp in milliseconds that starts when my program starts

    I currently have the current time in milliseconds as a time stamp. I thought I could program a loop that would subtract the first current time from each but I couldn't make my loop do that. Does anyone know how to make a loop such as this or is there