Formula to total items from a drop list with values in several col

```I am trying to create a formula for the following:

Have spreadsheet locate all columns matching "name" and total those columns
total and provide grand total, please see example listed below

Column A  Column D Column G Column H
Dog           10                           35
Cat            15            10
Mouse        19                           48
Cat             10            2             7
Cat            15             1            19
(All other colomns have various other information listed)
Grand Totals:
Dog = ? (answer: 45)
Cat = ? (answer: 79)
Mouse = ? (answer: 67)

Thanks!!
MD

```
 0
Mittens (1)
7/30/2005 12:02:02 AM
excel.misc 78881 articles. 5 followers.

1 Replies
801 Views

Similar Articles

[PageSpeed] 25

```you could sumif each column using a sumif formula and then sum the respective
rows.Or are you wanting a drop down box to select say cat and get the
appropriate sum....sumproduct maybe?(I am not quite up with the play on that
function......:) )
--
paul
remove nospam for email addy!

"Rescues Mittens" wrote:

> I am trying to create a formula for the following:
>
> Have spreadsheet locate all columns matching "name" and total those columns
> total and provide grand total, please see example listed below
>
> Column A  Column D Column G Column H
> Dog           10                           35
> Cat            15            10
> Mouse        19                           48
> Cat             10            2             7
> Cat            15             1            19
> (All other colomns have various other information listed)
> Grand Totals:
> Dog = ? (answer: 45)
> Cat = ? (answer: 79)
> Mouse = ? (answer: 67)
>
> Thanks!!
> MD
>
>
>
>
>
```
 0
7/30/2005 12:17:02 AM

Similar Artilces:

help with formula please #2
Can anyone please help with this formula. If Sheet1 Column A = nothing(blank) And Column B = \\\\\\CC\\\\\\ Then Sheet 2 B7 = SumTotal. As a regular formula would be nice or VB code Hi Richard you want nothing at all in the whole of column A in sheet 1? do you want every cell in column B of sheet 1 to have \\\\\\CC\\\\\\ or should this (can this) only appear in one cell? and what range are you summing on sheet 2 in cell B7? Cheers JulieD "Richard" <anonymous@discussions.microsoft.com> wrote in message news:82ce01c477e1\$77f0e740\$a301280a@phx.gbl... > Can anyone please ...

Changing a range of an array in a SUMPRODUCT formula gives a #N/A error
I have a working SUMPRODUCT formula {=SUMPRODUCT((\$C\$4:\$C\$4341=z8)*(audittypefm1="Standard"))} that I need to change the 1st array to C5623. When I do I get a #N/A error. I've tried giving the range a name (empnofm2), and I've verified all the data in the C4:C5623 range is formated the same (general, it is all employee numbers from 2 to 5 digits long. I'm using a "trim all" macro which is working great. I am unable to determine what is causing the #N/A and how to fix it. Basically I copied an entire worksheet within the same workbook and changed the name, wh...

Value from a closed workbook
Hi How can I extract a value from a closed workbook? I've tried with the 'Indirect' function but have since learnt that this doesn't work when the wookbook is closed i need something like A1="C:\folder\<filename> TIA Hi Anthony I have examples on my site http://www.rondebruin.nl/tips.htm -- Regards Ron de Bruin http://www.rondebruin.nl "Anthony Slater" <AnthonySlater@discussions.microsoft.com> wrote in message news:3790E107-1BA5-40F2-853A-B31BC04FECF3@microsoft.com... > Hi > > How can I extract a value from a closed workbook? &...

Counting List Box Items
I have a form with several list boxes. One is for services provided, another is for county call received, another for referred by, and etc. I need to be able to count the results of these categories. When I run my report, these fields are included and I get a long ... cell of "0"s and "1"s. I realize "0" indicates the first item in the list box was not selected and the "1" indicates items that were selected. (In some cases, more than one item can be selected such as services provided.) But, I have to count over the intergers to see where it i...

Appending or Up-dating a formula
I am using an =Ave function in a formula to average quite a few cell values together. I add new information all the time; sometimes 5 or 6 new cells at a time. How can I append or up-date my formula to include these new cells with out have to type the new cells into the formula? When I make the cell that has the formula in it active/edit, all of the cells that are referenced in the formula have a highlight around them. Is there a key or key combination I can press while clicking on the cells I want to add to the formula? Thanks, john Hi see your post in Excel.misc -- Regards Frank ...

drag and drop to/from MacJournal
Version: 2008 Operating System: Mac OS X 10.5 (Leopard) Processor: Intel I used to be able to do this but now cannot. Had an unrelated problem which caused me to repair hard drive, to reload word programs, and update them - I have both 2004 and 2008 and neither give me this functionality any more - it is sorely missed. I used to be able to work on a .doc or .docx on my desktop and drag it back and forth into Macjournal as needed. Hope I just have a wrong box checked somewhere. I am still able to do this with Excel, btw. Much obliged for any help. Rita The operation of dragging files ...

Dynamically change Icon of List control
Hello all I want to change the icon of the list control dynanically ?? Regards use SetImage function of the CListCtrl Mathieu "Aftab Alam" <aftab.alam@ascertia.com> wrote in message news:%23IT0LQunDHA.644@TK2MSFTNGP11.phx.gbl... > Hello all I want to change the icon of the list control dynanically ?? > Regards > > > ...

help with a formula #5
I have 98 sets of magazines each set has 12 in the set what formula can I use to get a total of issues in all sets have you tried 98*12 -- Don Guillett SalesAid Software dguillett1@austin.rr.com "Just Me" <no@isp.com> wrote in message news:eZ66ZEGHGHA.1192@TK2MSFTNGP11.phx.gbl... >I have 98 sets of magazines each set has 12 in the set > > what formula can I use to get a total of issues in all sets > =98*12 or =A1*A2 if the numbers are in A1 and A2 -- HTH Bob Phillips (remove nothere from email address if mailing direct) "Just Me" <n...

Running Total from a Subform
I have a unbound control box (called textbox 20) in the details section on my subform that calculates unit price and units orders. The data source looks like this ...=[UnitPrice]*[UnitsOrdered] I want to get a running total set up on my main form. Before I do that I'm pretty sure I need to set up my header on the subform. In my subform, I entered another unbound textbox (called textbox 26) on the header with a datasource that looks like this =sum([textbox20]). Both of these control boxes are set to currency and when I try to preview the form, my header gives me a #...

Problem getting values in iframe
Hi, I have placed an iframe to the account form. This iframe calls an .aspx page that is also placed on the same server as the CRM. I am trying to get an value from the CRM form to the .aspx page in the iFrame. my function that I call upon "onLoad": <script language="javascript"> function GetSomeValues() { document.getElementById('TextBox1').value = parent.document.forms[0].all.name.DataValue; } </script> This fails! I get the message: "Access denied!" Is there any setting in the CRM I have forgotten to turn on or off?? Can a...

Formula #29
Hi, What formula should I use if I want it to look at a specific cell and then work out the total number between two numbers. e.g. if cell H6 had 7-4 entered the number 9 would be returned. Thanks in advance I'm not sure how you got 9, but your life would be much easier if you used two separate cells and then subtracted the smaller from the larger (and then added one???). Boenerge wrote: > > Hi, > What formula should I use if I want it to look at a specific cell and then > work out the total number between two numbers. > e.g. if cell H6 had 7-4 entered the number 9 woul...

Can offset be used in this formula?
Can the offset be used in the below formula for the information in column "K"? In column L have the the following formula's L46 =MAX(\$I46*1000-\$K\$46*\$J46,0) L47 =MAX(\$I47*1000-\$K\$46*\$J47,0) .... L99 =MAX(\$I99*1000-\$K\$46*\$J99,0) What I'd like to do is to copy the fomula into columns M, N, O, ... M47 =MAX(\$I47*1000-\$K\$47*\$J47,0) M48 =MAX(\$I48*1000-\$K\$47*\$J48,0) M49 =MAX(\$I49*1000-\$K\$47*\$J49,0) .... N48 =MAX(\$I48*1000-\$K\$48*\$J48,0) N49 =MAX(\$I49*1000-\$K\$48*\$J49,0) .... O50 =MAX(\$I50*1000-\$K\$50*\$J50,0) O51 =MAX(\$I51*1000-\$K\$50*\$J51,0) .... How abou...

I have a report that must be turned in the night before for tomorrow's date. Is ithere a date formula that will return tomorrow's date to a cell in Excel? One way: =TODAY() + 1 In article <668782AC-774A-475F-9821-8A4C3B14A983@microsoft.com>, "Shadyhosta" <Shadyhosta@discussions.microsoft.com> wrote: > I have a report that must be turned in the night before for tomorrow's date. > Is ithere a date formula that will return tomorrow's date to a cell in Excel? I assume that you want the date to remain static after entry. Easiest way, use 2...

Determine subform total before code runs
I asked this question before, but it was in another thread. The only person replying in that thread did not post in response to my follow-up question after several days, so I am posting again. I have a typical Purchase Order database (Access 2003) in which the main PO information is in the PO record (and on the main PO form) and the line items are in a related table (and appear on a continuous subform). There is more, such as a Products table, but it is not relavant to the question at hand. Every PO is approved by several departments. When the line items total for a single purchase ...

Weekday formula
Can anyone help with the weekday formula. What I want to do is enter the date in say A1 11/20/2003 and have B return the answer of Thursday. Currently I use the weekday formula bu only returns the number of the day. Thanks in advance B ----------------------------------------------- ~~ Message posted from http://www.ExcelTip.com ~~View and post usenet messages directly from http://www.ExcelForum.com There are several ways to do this. One is to enter =A1 and format the cell with a custom number format of dddd. Another way is to use the function =TEXT(A1,"dddd"). -- Cordiall...

Formula to return a formula
At least I think that's what I'm looking for. here's my situation: I've got a sheet where there is a variable (X) that changes depending on what row it is on. So I have a column (column c) that lists these variables (X is dependant on things from a different sheet). X is a muliplier that is utilized differently depending on the value of N. N is a Picklist selection and can change periodically. Or even be duplicated on more than one row. I have a vlookup that checks the value of N (column a) and needs to return a formula that has X applied if needed on the approp...

Count formula within a named range.
Hi, How do I change the following formula =SUMIF(\$F\$39:\$F\$79,"PW Shopfitters",\$D\$39:\$D\$79)/COUNTIF(\$F\$39:\$F\$79,"PW Shopfitters") to count within a named range (PW Shopfitters). Any help would be great. Cheers, Phil Hi A range name cannot have spaces, maybe that's your problem. Name your range PW_Shopfitters. Then replace your cell references with PW_Shopfitters, eg =Sumif(PW_Shopfitters,"PW Shopfitters",............ -- j.kasselman@atlantic.net.remove_2nd_at. Randburg, Gauteng, South Africa "PW11111" wrote: > > Hi, > &g...

How to use a text formula as code formula
Hello. I have this formula loaded from a text field on a form: val([field10])+val([field20]) and I would like to use this as a code formula. I mean, if I use that in VBA code it works, but If I load from a text field it doesn't work. I need that my form use that formula stored in a text field to calculate values. Regards in advance, Marco responded to in another newsgroup. It's rarely necessary to post the same question to more than one group. If it is necessary, select all the relevant newsgroups in the "To:" or "Newsgroups:" field. That way, folks who...

Including a formula in a path name.
Dear MS, How about a new function for this one. I'm sure MANY users have the same problem as me. The research below seems quite comprehensive and has effectively come up against a brick wall. Thanks Peter Harlan Grove posted this UDF: http://www.google.com/groups?selm=hkQVb.2432%24_4.259%40www.newsranger.com Peter wrote: > > Very Helpful Papou - thank you! > Do you know of an additional / alternative method where you achieve the same tihing but are not required to have all the relevant work sheets open? > Many thanks > Peter > > "papou" wrote: > ...

Inventory Values Copied from Old into New Items
Guys, When I use the Copy function to create new items from older items, the invenory values are carried over. In other words, the On Hand, Committed... field values under the Inventory tab are the same as the source item. Now, this cannot be correct behaviour, since a new item is independent onto its own, with its inventory quantities totally unrelated to the item from which it was originally copied. Anybody has come across this before? How can I set this right? Thanks, This is a multi-part message in MIME format. ------=_NextPart_000_0053_01C92EF5.0E1EBB10 Content-Type: text/plai...

FORMULA #14
What formula in access can do =COUNTIF(CAF!D:D,A3) Basicly I have 2 tables I want the 2nd table to count how many times a number is listed in the 1st table. I am trying to do this with a query and the count expression but keep getting errors. Dont bother with this one guys just figured it out AMDGUY [MCP] wrote: > What formula in access can do > =COUNTIF(CAF!D:D,A3) > > Basicly I have 2 tables > > I want the 2nd table to count how many times a number is listed in the > 1st table. I am trying to do this with a query and the count expression > but keep getting e...

How to search and add a value from sheet1 to sheet2
Hi, Let's say you have one sheet with a list of products. Column1 = product name Column2 = product number I would like to have a cell on Sheet2, where I can start typing something, and it would let me see a list based on what I typed so far. E.g when I type "Volks" it should show a list of all Volkswagen Cars. If I then choose the value, it should use this value and add the product number in the cell next to it. What function should I use, or how can I do this? Thanks, Roel Roel You could use Data Validation drop-down list for the selecting the product name and VLOOKUP ...

Pull Unique Values From a List/Table
How can I pull unique values from a table? I track vendors who might sell multiple items, but I only need to show the vendor once so I can pull other information. There are also may be blanks in the rows if the vendor is inactive. Thanks! Let me add one more twist to this problem: The unique values also need to filter out where it may be 'VendorA - West' and 'VendorA - East' and combine them into one record. I only need it to show VendorA and not both records East and West (same company, just different drop ship location). Thanks! "Karl Burrows" <kfb1@spa...

What does the \$ symbol mean in a formula?
What does the \$ symbol mean in a formula? example: =G8*(\$A\$14*2)*100 thanx The \$ is used for absolut referencing. For e.g lets take your formula =G8*(\$A\$14*2)*100 suppose you enter this formula in cell B2, now simply copy this formula one cell to the right (C2) by and one cell down (B3). C2: =H8*(\$A\$14*2)*100 B3: =G9*(\$A\$14*2)*100 So you see that The original G8 has changed, whereas \$A\$1 remains the same in both the new formulae because of the dollar signs. Mangesh "S" <S@discussions.microsoft.com> wrote in message news:D86597A4-C0A1-46AF-9DA6-FE06AB9C1FA0@mi...

Clearing the recently used list of other users folders
Hi Does anyone know how to clear the list of previously opened 'other user's folders' under File/Open. I have a user who only needs to open the calendars of a couple of people but has four on her list. She keeps clicking on the wrong one as the names are similiar. I've tried going to 'Customise' to drag them off to no avail and can't find anything in Tools/Options to clear the list. My only other last resort 'solution' is to open the calendars of two completely different names so that she doesn't get confused anymore! But would love to kn...