How do I get a sum of cells for rows that contain a text in a drop down menu?

I am trying to track individual sales with each of my vendors. I have a column of drop down menu's that list each of my vendors. I am trying to associate a dollar amount for a single transaction in a row that is associated with a vendor and get a sum for all of my single trasactions with that vendor for the year. I have used =countif to build a pie chart of % of transactions per vendor now I am trying to get a dollar amount as well
Thanks in advance
Don

HI Don,
COUNTIF will count, SUMIF will sum.
The main difference between them is that COUNTIF works with data in a single column—in this case the column containing the vendor names—while SUMIF uses two columns—the vendor names to decide which rows to include in the sums and the amount column to determine the amount to incude.
Example:
Main: Vendor names in column A, descriptions in columns B and C, and dollar amounts in column D
Summary: Vendor names in column A, Number of transactions in column B, Dollar totals in column C
Formulas inn Summary (both are entered in row 2 and filled doen to the last row):
B2: =COUNTIF(Main :: $A,A2)
C2: =SUMIF(Main :: $A,A2,Main :: $D)
Regards,
Barry

Similar Messages

  • How can I restore my iphone to a backup that's not listed in the drop down menu

    I updated my iphone and everything was removed. I attempted to restore it however the only backups that are available when I have the iphone logged into itunes is the one from today. How can I apply an older backup say 1 to 2 days ago to the drop down menu of the restore button? Right now the only thing that's showing up is the one for today and that's abslolutely not the one I want or need. And before the question is asked no I didn't save it to icloud.

    iTunes only keeps one normal backup, per device. Thus, there are no previous backups from 1 or 2 days ago unless you restored your phone & backed up before you restored. Restore point backups are time/date stamped & are not overwritten.

  • How to I get the Keyboard Plug In for Logic that includes the B3 Hammond Organ?

    I just downloaded Logic Pro X, along with all the additonal instruments, but I can't seem to find any of the keyboard plug ins that I thought came with it. I'm really interrested in the B3 Hammond Organ plug in. How to do I get that? Can anyone help me?
    Thank you!

    Search for Organ patches, the instrument used is named "Vintage B3 Organ"

  • How do I delete web site addresses that appear in the navigation window drop-down menu?

    In Explorer you can quickly delete any web address in the navigation window drop-down list. Also, only addresses that I actually type into the navigation window appear in the drop-down. I like this system.
    But in Firefox, I cannot discern the rules at work. Web addresses appear and disappear in the drop-down list seemingly at random, and no way to delete addresses.

    Selecting "Never Remember History" will make you enter [[Private Browsing]] mode, so be careful with selecting that.
    See:
    * http://kb.mozillazine.org/Deleting_autocomplete_entries
    * [[Clearing Location bar history]]
    * [[Cannot clear Location bar history]]
    * [[Location bar autocomplete]]

  • How do I delete Bluetooth devices that only show up from the drop down menu bar, and not in the Bluetooth preferences devices?

    I recently attempted, and failed, to pair/link/use my Playstation 3 Controller with my 13" Macbook Pro Retina (OS X Yosemite 10.10.1), and now I've been left with three unwanted 'devices' in my Bluetooth's menu bar, that don't show up in the Bluetooth's preferences devices, so I am unable to delete them from there.
    The devices in question are labelled as "00-00-00-00-68-2f", "00-00-00-00-68-7f", and "00-00-00-00-68-ef".
    I've read that resetting the PS3 Controller will remove these, but every attempt at that has failed as much as trying to use the Controller for gaming.
    Any help with this little issue will be much appreciated, as I've found it very annoying.
    Cheers

    *Click the (empty) input field on the web page to open the drop down list
    *Highlight an entry in the drop down list
    *Press the Delete key (on Mac: Shift+Delete) to remove it.
    *http://kb.mozillazine.org/Deleting_autocomplete_entries

  • Drop-down menu in table cells - how to expand over the column width?

    Hello!
    A client is migrating their 2,400 forms from old JetForms to PDF (LiveCycle Designer) and would like to keep the same functionalities he's used to in the old platform. However, some of the old tool features do not seem to be present in LiveCycle.
    Suppose a drop-down menu in a table cell, containing items which lengths are bigger than the table column. In JetForm, when you open the drop-down it spans over the columns to show all its contents, not cutting the drop-down list contents.
    I tried this in LiveCycle, but the drop-down gets cut and its contents are limited to the table column (hence the drop-down menu) width.
    Is there a way to work around this limitation, even if I have to use some scripting?
    Thank you for any ideas!
    Marcos

    Hi again, Niall!
    Thank you again for your great examples!
    The dynamic width drop-down will cover some of the client's expectations.
    However, they would like it to work even when the drop-down is within a table cell with a width smaller than the width they want the drop-down to show when the mouse enters the field.
    I'm afraid you will say this is not possible... Or at least not without a lot of coding, using subforms or the like.
    Any ideas? 
    Thank you very much!
    Marcos

  • How do i get a drop down menu? my original one has disappeared.

    I can't seem to find my drop down menu that I had before downloading Firfox 3.6.16
    How can I compile a new list? bookmarking them is not putting them in the drop down menu.

    This can be a problem with the file places.sqlite that stores the bookmarks and the history.
    * http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox

  • The edt option in the orange drop down menu is grayed out, how do I fix this?

    It's the first time that I've went into the drop down menu since installing the latest FF and the edit option it grayed out, and not letting me access it.

    That is normal. Does the menu open if you hover the arrow at the right of the Edit entry in the App menu?
    Does the Paste link get highlighted if there is content on the clipboard and a text area is selected?
    The entries in the Edit menu only work if they apply and there is something to do like text is selected and Copy will work.

  • How do I find the drop down menu on Safari?

    I'm a total novice so apologies right now.  I've only had my Mac for a couple of weeks and already I can't sign into ebay which (on my old pc) meant I had to clear my cache.  I've searched and seen that I have to use the drop down menu but er, I have no idea what that is, where I can find it or how.   Many thanks in advance!

    Like I said, apologies!   Obviously, I didn't make myself clear at all!  Bodycalming, I can confirm that it isn't always possible to successfully sign into ebay.  Especially if you need to clear your cookies.
    Thank you Carolyn, I actually laughed when I read your reply and I'm sorry to have wasted your time.  I've been on ebay since 2003 so I know how to sign in there, I was just being bounced back to the sign in page each time I tried.  As I said, I knew how to deal with it on my old pc but was at a loss on my shiny new Mac. 
    shdr2thewheel, thank you for those links, I've had a quick look and they seem really useful.  I've already implemented a few changes!  I found the drop down menu now and have cleared my cookies and it seems to be working just fine.
    Thank you!

  • How to automate Drop Down menu in OpenScript

    Hello Team,
    Can someone help me in automating a drop down menu? The following is what I'm trying to achieve
    For iteration 1 the first value from the drop down menu should be selected, continue rest of the task as per the initial record
    for iteration 2 the second value from the drop down menu should be selected.. and so on till all the values in the drop down are selected.
    I guess we should use for loop? I tried most of the option as per the user guide but unfortunately I wasn't able to crack it :( can some one tell me what to do from the Tree view of the openscript? Alex (guru) can you please throw some light on this :)
    N.B: I was able to make a field data driven!
    Thanks

    Hello,
    Thanks for your reply, please find the drop down box record script. From the below you can see first I selected Accounting from the drop down & then later i selected Administration..similarly if i want to select all the values from the drop down what do i need to do? Do i add a for loop? if yes where do i add them from the Tree view & how. I somehow can't understand the user guide. Or maybe Im not thinking right! Kindly help. I have figured out how to run data driven test from an input file, however in this case I can't possibly add all the values from the drop down in an input file also that approach isn't healthy!
                   web
                             .selectBox(
                                       5,
                                       "/web:window[@index='0' or @title='SEEK - Australia's no. 1 jobs, employment, career and recruitment site - Microsoft Internet Explorer']/web:document[@index='0']/web:form[@id='layout' or @name='layout' or @index='0']/web:select[(@id='catindustry' or @name='catindustry' or @index='0') and multiple mod 'False']")
                             .selectOptionByText("Accounting");
                             .selectBox(
                                       16,
                                       "/web:window[@index='0' or @title='SEEK - Australia's no. 1 jobs, employment, career and recruitment site - Microsoft Internet Explorer']/web:document[@index='0']/web:form[@id='layout' or @name='layout' or @index='0']/web:select[(@id='catindustry' or @name='catindustry' or @index='0') and multiple mod 'False']")
                             .selectOptionByText("Administration");

  • How do I aphabetize the drop down menu for favorites?

    I have been able to sort my bookmarks menu from A>Z while in the "organize bookmarks" view, BUT that doesn't change the bookmarks drop-down menu, which is what I want to do so I can find bookmarks quickly. How to I re-sort the bookmarks drop-down menu list?

    The Views menu in the Bookmarks Manager (Bookmarks > Show All Bookmarks) is for viewing the bookmarks in a different sorting order (hence the name Views) and doesn't sort bookmarks permanently.<br />
    Clicking the column header does the same.<br />
    If you want to sort bookmarks then you need to right-click a folder and use "Sort By Name" to sort that folder.<br />
    You can't sort individual bookmarks, only folders can be sorted this way.
    * http://kb.mozillazine.org/Sorting_and_rearranging_bookmarks_-_Firefox

  • How do I un-delete a website from the drop down menu?

    I deleted a website from the awesome bar before. Now I want that website to appear on the drop down menu again. I visit it almost everyday but I cannot see it on the awesome bar. How can I fix this?

    Hi thankyou,
    If it was removed it may no longer be listed, however if you have visited the site again I am guessing two things are happening if it does not show up:
    #The settings for your url bar have changed, check to make sure that history is checked in the Location bar settings about:preferences#privacy
    #[[Remove websites from the Awesome Bar suggestions]]
    Did this help?

  • (JTable) How can i get the first columns cell in a selected row?

    Hello. I am trying to figure out how i can get the first columns cell within a selected row no matter what cell is selected in that row. I have a class that extends AbstractTableModel which represents the table. Now i have another class that extends DefaultSelectionModel. Each model is added to the JTable via setModel(TableModel dataModel), setSelectionModel(ListSelectionModel newModel). Now i don't understand what i have to return from getMaxSelectionIndex(). Any ides? Thanks.
      class xTableModel extends AbstractTableModel{
         private static String[] cols;
         private Object[][] data;
            public void setTableModel(Object data[][], String[] cols){
             this.cols = cols;
             this.data = data;
            public String getColumnName(int col){
             return cols[col];
            public int getRowCount() {
             return data.length;
            public Object getValueAt(int row, int col) {
             return data[row][col];           
            public void setValueAt(Object value,int row,int col){
             data[row][col]=value;
            public int getColumnCount(){
             return cols.length;
    class ColumnListenerModel extends DefaultListSelectionModel{
         public int getMaxSelectionIndex(){}

    int row = table.getSelectedRow();
    Object data = table.getValueAt(row, 0);

  • How can I get the iCloud/iTunes password for my (now) deceased Father-in-Law's Imac?  I have a list of his passwords, but nothing works!

    How can I get the iCloud/iTunes password for my (now) deceased Father-in-Law's iMac?  I have a list of his passwords, but nothing works!  I know his email, but that account has been cancelled for security purposes, so we can't just request a new one.  I tried his security questions to no avail.
    Thanks

    Since that password is tied to his Apple ID, you will need to contact Apple; as far as I know, it will be a somewhat lengthy procedure and you will  need to furnish necessary paperwork (including a death certificate as far as I know). Best to either stop at an Apple store or call them to find out exactly what it is you need to do.

  • How can i get all these values in single row with comma separated?

    I have a table "abxx" with column "absg" Number(3)
    which is having following rows
    absg
    1
    3
    56
    232
    43
    436
    23
    677
    545
    367
    xxxxxx No of rows
    How can i get all these values in single row with comma separated?
    Like
    output_absg
    1,3,56,232,43,436,23,677,545,367,..,..,...............
    Can you send the query Plz!

    These all will do the same
    create or replace type string_agg_type as object
    2 (
    3 total varchar2(4000),
    4
    5 static function
    6 ODCIAggregateInitialize(sctx IN OUT string_agg_type )
    7 return number,
    8
    9 member function
    10 ODCIAggregateIterate(self IN OUT string_agg_type ,
    11 value IN varchar2 )
    12 return number,
    13
    14 member function
    15 ODCIAggregateTerminate(self IN string_agg_type,
    16 returnValue OUT varchar2,
    17 flags IN number)
    18 return number,
    19
    20 member function
    21 ODCIAggregateMerge(self IN OUT string_agg_type,
    22 ctx2 IN string_agg_type)
    23 return number
    24 );
    25 /
    create or replace type body string_agg_type
    2 is
    3
    4 static function ODCIAggregateInitialize(sctx IN OUT string_agg_type)
    5 return number
    6 is
    7 begin
    8 sctx := string_agg_type( null );
    9 return ODCIConst.Success;
    10 end;
    11
    12 member function ODCIAggregateIterate(self IN OUT string_agg_type,
    13 value IN varchar2 )
    14 return number
    15 is
    16 begin
    17 self.total := self.total || ',' || value;
    18 return ODCIConst.Success;
    19 end;
    20
    21 member function ODCIAggregateTerminate(self IN string_agg_type,
    22 returnValue OUT varchar2,
    23 flags IN number)
    24 return number
    25 is
    26 begin
    27 returnValue := ltrim(self.total,',');
    28 return ODCIConst.Success;
    29 end;
    30
    31 member function ODCIAggregateMerge(self IN OUT string_agg_type,
    32 ctx2 IN string_agg_type)
    33 return number
    34 is
    35 begin
    36 self.total := self.total || ctx2.total;
    37 return ODCIConst.Success;
    38 end;
    39
    40
    41 end;
    42 /
    Type body created.
    [email protected]>
    [email protected]> CREATE or replace
    2 FUNCTION stragg(input varchar2 )
    3 RETURN varchar2
    4 PARALLEL_ENABLE AGGREGATE USING string_agg_type;
    5 /
    CREATE OR REPLACE FUNCTION get_employees (p_deptno in emp.deptno%TYPE)
    RETURN VARCHAR2
    IS
    l_text VARCHAR2(32767) := NULL;
    BEGIN
    FOR cur_rec IN (SELECT ename FROM emp WHERE deptno = p_deptno) LOOP
    l_text := l_text || ',' || cur_rec.ename;
    END LOOP;
    RETURN LTRIM(l_text, ',');
    END;
    SHOW ERRORS
    The function can then be incorporated into a query as follows.
    COLUMN employees FORMAT A50
    SELECT deptno,
    get_employees(deptno) AS employees
    FROM emp
    GROUP by deptno;
    ###########################################3
    SELECT SUBSTR(STR,2) FROM
    (SELECT SYS_CONNECT_BY_PATH(n,',')
    STR ,LENGTH(SYS_CONNECT_BY_PATH(n,',')) LN
    FROM
    SELECT N,rownum rn from t )
    CONNECT BY rn = PRIOR RN+1
    ORDER BY LN desc )
    WHERE ROWNUM=1
    declare
    str varchar2(32767);
    begin
    for i in (select sal from emp) loop
    str:= str || i.sal ||',' ;
    end loop;
    dbms_output.put_line(str);
    end;
    COLUMN employees FORMAT A50
    SELECT e.deptno,
    get_employees(e.deptno) AS employees
    FROM (SELECT DISTINCT deptno
    FROM emp) e;
    DEPTNO EMPLOYEES
    10 CLARK,KING,MILLER
    20 SMITH,JONES,SCOTT,ADAMS,FORD
    30 ALLEN,WARD,MARTIN,BLAKE,TURNER,JAMES
    CREATE OR REPLACE FUNCTION concatenate_list (p_cursor IN SYS_REFCURSOR)
    RETURN VARCHAR2
    IS
    l_return VARCHAR2(32767);
    l_temp VARCHAR2(32767);
    BEGIN
    LOOP
    FETCH p_cursor
    INTO l_temp;
    EXIT WHEN p_cursor%NOTFOUND;
    l_return := l_return || ',' || l_temp;
    END LOOP;
    RETURN LTRIM(l_return, ',');
    END;
    COLUMN employees FORMAT A50
    SELECT e1.deptno,
    concatenate_list(CURSOR(SELECT e2.ename FROM emp e2 WHERE e2.deptno = e1.deptno)) employees
    FROM emp e1
    GROUP BY e1.deptno;
    DEPTNO EMPLOYEES
    10 CLARK,KING,MILLER
    20 SMITH,JONES,SCOTT,ADAMS,FORD
    30 ALLEN,WARD,MARTIN,BLAKE,TURNER,JAMES
    CREATE OR REPLACE TYPE t_string_agg AS OBJECT
    g_string VARCHAR2(32767),
    STATIC FUNCTION ODCIAggregateInitialize(sctx IN OUT t_string_agg)
    RETURN NUMBER,
    MEMBER FUNCTION ODCIAggregateIterate(self IN OUT t_string_agg,
    value IN VARCHAR2 )
    RETURN NUMBER,
    MEMBER FUNCTION ODCIAggregateTerminate(self IN t_string_agg,
    returnValue OUT VARCHAR2,
    flags IN NUMBER)
    RETURN NUMBER,
    MEMBER FUNCTION ODCIAggregateMerge(self IN OUT t_string_agg,
    ctx2 IN t_string_agg)
    RETURN NUMBER
    SHOW ERRORS
    CREATE OR REPLACE TYPE BODY t_string_agg IS
    STATIC FUNCTION ODCIAggregateInitialize(sctx IN OUT t_string_agg)
    RETURN NUMBER IS
    BEGIN
    sctx := t_string_agg(NULL);
    RETURN ODCIConst.Success;
    END;
    MEMBER FUNCTION ODCIAggregateIterate(self IN OUT t_string_agg,
    value IN VARCHAR2 )
    RETURN NUMBER IS
    BEGIN
    SELF.g_string := self.g_string || ',' || value;
    RETURN ODCIConst.Success;
    END;
    MEMBER FUNCTION ODCIAggregateTerminate(self IN t_string_agg,
    returnValue OUT VARCHAR2,
    flags IN NUMBER)
    RETURN NUMBER IS
    BEGIN
    returnValue := RTRIM(LTRIM(SELF.g_string, ','), ',');
    RETURN ODCIConst.Success;
    END;
    MEMBER FUNCTION ODCIAggregateMerge(self IN OUT t_string_agg,
    ctx2 IN t_string_agg)
    RETURN NUMBER IS
    BEGIN
    SELF.g_string := SELF.g_string || ',' || ctx2.g_string;
    RETURN ODCIConst.Success;
    END;
    END;
    SHOW ERRORS
    CREATE OR REPLACE FUNCTION string_agg (p_input VARCHAR2)
    RETURN VARCHAR2
    PARALLEL_ENABLE AGGREGATE USING t_string_agg;
    /

Maybe you are looking for

  • Apple mobile device support install/uninstall sets my wireless to limited access

    Dell Pavilion dv7 Windows 7 64 bit. Current itunes 10.4 When installing itunes 10.5, my wireless connection changed to limited access.  I can not connect to the internet with wireless.  If I put my ethernet cable in, i can connect to the internet thr

  • Where are itunesu downloads on my ipad?

    I've downloaded itunesU audio episodes onto my pc, but when I sync my ipad they don't seem to appear on my ipad.  I've found the itunesU option under "Music", and the "More" tab, but the itunesU episodes aren't there.  Does anyone know where they cou

  • Patching the database

    Hello, I just entered metalink to download some patches to update my database (I have 11.1.0.7.0). I found an patch set to update to 11.1.0.7.4 at least and want to install it. When I need to choose for which platform to download it to I cannot find

  • Custom/ Extended DataTable Design

    Hi, I need to develop an Extended datatable component based on existing Sun JSF h:dataTable component. The following features are needed for table ( And may be all these should be configurable as well): 1.Column Sorting 2.Select All Checkbox Coulmn 3

  • Wireless Router WAN Question

    I currently have a WRT600N wireless router. This router allows me to release the WAN IP and get a new IP. It may rotate through what ever my service provider is offering but it is always different at least 4 times in a row. I have another cable conne