Sum The Totals On One Column, If Two Other Columns Are True

Aug 18, 2008

(Excel 2003 on windows XP.)

I need to SUM the cells in column J when column E has the word "yes" and the range N:R has a letter "w" in one of the columns. Only one of the N:R columns will have an entry on any one row and it may not necessarily be a "W".

I have Googled, and being a beginner I don't comprehend the result! Some people were talking about using an add in, but I won't be allowed to add software to our PC's.

Note that the "Fruit" and "Fruit Totals" column letter position will always be different every time I run the macro, so I would like the macro to find these columns by name rather than by column letter.

I'd like a macro that adds the total number of fruits in the "Fruit" column by looking doing 2 things...

1. Add the total number of "Fruits" in the "Fruit" column, find the bottom-most row of data in the "Fruit" column, go down 2 rows, and create the text named "Fruits Total"

2. In the cell directly to the right of "Fruits Total" put the value of the total number of fruits in this cell (which will be in the "Fruit Totals" column)

3. Add the total number of "Apples" in the "Fruit" column, find the bottom-most row of data in the "Fruit" column, go down 2 rows, and create the text named "Apples Total"

4. In the cell directly to the right of "Apples Total" put the value of the total number of apples in this cell (which will also be in the "Fruit Totals" column)

OK, I have a spreadsheet that has several pages for tracking when items are added and removed. On the main sheet I need to have the total items added, the total items subtracted, and the total avaialble. This is also based off of month.

For example, on sheet 2 it would show 5 of an item added, 2 of an item subtracted, all for March. It would also show 3 items added, 2 subtracted for April. On Sheet one i need to report in a row any items added, any subtracted, and the current total. I am pretty sure that i have the formula for added items and subtracted items for the given month, but i do not know how to get the current total.

I have a workbook that has 2 sheets; "Quote Summary" and "ECS". The "ECS" sheet contains columns "C" through "L" each of which has a total on row "27". At any time, one or several (but never All) of these columns may be unused and therefore hidden.

I would like to know if it is possible to sum the total of only those columns that are NOT hidden and display that value in cel "C15" of the "Quote_Summary" sheet.

A B C D Visit_Date Day_of_the_VisitHousing_Tour_TimeNumber_in_Party 3/22/2012 0:00Thursday 12:00 P.M. 2 3/22/2012 0:00Thursday 12:00 P.M. 4 3/22/2012 0:00Thursday 12:00 P.M. 1 3/22/2012 0:00Thursday Not Requested 2 3/22/2012 0:00Thursday 12:00 P.M. 3 3/22/2012 0:00Thursday 12:00 P.M. 3 3/22/2012 0:00Thursday 12:00 P.M. 4 3/22/2012 0:00Thursday Not Requested 1 3/22/2012 0:00Thursday 12:00 P.M. 2 3/23/2012 0:00Friday Not Requested 2 3/23/2012 0:00Friday Not Requested 5

What I'd like to be able to do is if Column A,B, and C are the same to sum column D. So, for example, I would like the data above to look like this:

A B C D Visit_Date Day_of_the_VisitHousing_Tour_TimeNumber_in_Party 3/22/2012 0:00Thursday 12:00 P.M. 7 3/22/2012 0:00Thursday Not Requested 3 3/22/2012 0:00Thursday 12:00 P.M. 12 3/23/2012 0:00Friday Not Requested 7

Now i want the total column in the second table to update and add the numbers as i update the rounds in the first one Which i can do through SUM or SUBTOTAL. However i want to sort the total column so the highest number is at the top and everytime i do it changes the name column not the total column.

I need help to total a column but in four cells the values are as a result of conditional formatting and the total ignores those cells. Is this difficult or am I a bit slow? This is in 2003.

I have a large spreadsheet, almost 9000 rows. I need to calculate the totals in column AB. There is a blank row seperating each group I need to total. Is there a faster and easier way for this to be done without adding the formula manually to each row? Here is a small example - I need to total the data under Total_USG

I have a column of figures and a formula that displays the sum. My issue is that I occassionally insert more rows with more figures but obviously the sum doesn't include this new figure as the range is static. I guess I'm looking for a way to dynamically perform sums in a column.

I'm using multiple data tables to run sensitivity analyses on a very large model. At the end of the analysis, I've got a matrix that tells me which scenarios are TRUE or FALSE (based on multiple criteria). I'm looking for an elegant way to extract the combinations that give TRUE.

Here's what I want in a sentence: If one of the cells in grouped row is "T", column B = True, if not then column B = False. (row groups are separated by a blank row)

I’m putting together a blackjack odds calculator. I could use some help with a formula. If I have an A,7 (ace low) it needs to return a 0 (or false) for a “Possible Hand” because further down the column A,7 (ace hi) has a true “End Hand Total”

I was going to use an IF and a VLOOKUP (looking lower on the column), but then I cannot sort the column. Is there a formula that will find the hand and check for true 2 columns over from identical hand. There are 169 starting hand combinations. The attached worksheet only has 31 – for simplification.

I have 2 sheets. On one sheet, this column J2:J490 contains text that either says "TRUE" or "FALSE" and another column AJ2:AJ490, text that says "FEES". (many of the other cells in this column say something else). I need a formula that can find the matching text TRUE/FEE or FALSE/FEE in these columns, count them, and give me the product.

I have just started using pivot tables and I have ran into a problem with the count feature. I have an original data list that breaks down in the pivot table to:

date events on that date

Using the pivot table facilities, I want to do a count of those who said they were going to attend, and those who actually attended. The detailing both of these columns on the original list have a true false designation. When I do the count, the summarised information only counts the number of records for each of these events, and not the 'true' field entries for each of these columns.

How do I count these two parameters for 'true' from the original list in the pivot table so I can see a comparison between these two numbers?

Would like to add totals to stacked column chart in Excel 2007.

I have followed same steps listed here [url] but cannot position data labels above column.

Excel only gives me the options Center, Inside End, and Inside Base.

I also tried setting label position with VBA:

For Each co In ChartObjects For Each s In co.Chart.SeriesCollection If s. Name = "Totals" Then For Each dl In s.DataLabels dl.Position = xlLabelPositionOutsideEnd Next dl End If Next s Next co

Also tried the following without luck:

dl.Position = xlLabelPositionAbove

For each VBA example I get following error: Run-time error '-2147467259 (80004005)': Automation error Unspecified error

It seems like Microsoft has removed this positioning option for stacked column charts because it works fine for normal column charts. Anyone find a way to do this otherwise?

I am trying to do a running total in one column with data added from the columnn before it. But I dont want the last amount in the running total to continue down the page I would like it to be either blank or zero amounts. Also if there is a zero amount in the first column the running total should show the amount previous.

I have a worksheet where I have around 300 rows, each with 7 columns. What I want to do is add a checkbox to each column. I plan on setting non-applicable checkboxes to mixed status and locking the worksheet. I will unlock applicable checkboxes and sumif or countif their value according to row-based scoring, for example, each checked checkbox represents a value of 3. I do not know VBA and have chose to use the form control checkboxes rather than ActiveX.

I believe that a formula for this would be something like: =SUMIF(B1:B3,True,"3") or =COUNTIF($B$1:$B$3,True)*3

I am wondering firstly if I have that right and secondly if there is a way to stop my checkboxes from displaying labels. Currently, if I click on one it displays True behind the active checkbox. If I uncheck it, it displays False.

I am a bit stuck with an excel spreadsheet I do for work and would like to ask your advise, I will try to explain as best as I can. I am running a small store that feeds 13 buildings.

On the spreadsheet there are 13 sheets, one for each building. The items will go out monthly.

What I need to do is record the total items from each sheet in a column called All Totals on the first sheet, this will add up the totals for all the buildings.

If I put an attachment that may help out a bit. If you can look at P3 it is all the P3s to add together, next down will be total of P4,P5,P6.

I am looking to create a macro which, when executed, will:

1) search sheet 1 column B for any instances where a "batch #" from sheet 2 column B appears 2) add in the corresponding "Destruct Form #" from Sheet 2 Cell B1 into sheet 1 column b

Therefore after the Macro is run, sheet 1 will look like this:

I am trying to write a code for the following and am having quite a bit of trouble (I am also dealing with almost 1500 rows of data for each of these examples). If a surgery in column A occurs on a certain day (e.g., 10/1/12), at a certain time (e.g., between 7:30am and noon where the times are written in 24hr), in a certain OR room number, (e.g., 10), then I want the value to write the name of the physician in the cell. I've tried multiple IF, COUNTIF, SUMIF, statements and have continued to get errors.

I am looking for a formula that will satisfy the following:

1) find all the values in column "A" that match 2) In column "G", sum up all the values in "F" that go with the matching values in column "A" 3) For example, in rows 14-16, the values in column "A" match. Cell G16 sums up F14:F16

In the attached spreadsheet I would like to create a list of part numbers if column D E & F all have a #N/A value. Right now I'm using a True/False but this list contains around 3000 items and I don't want to have to scroll down to find the True values. Is there a way I can just create a list of corresponding part numbers to the True Values?

I have a list of items that I am preparing to upload to an access database. The list is quite lengthy and has required a lot of manual corrections to get it prepared for upload. It also has several columns that are not needed in the access database, but that I used to make sure that all of my data was ready. What I'd like to do is create a new table that will have the same structure as the table in my access database and upload the portion of data that I have ready now so that I can do some further development using actual data. In order to do this I need to extract the ID Numbers (column B values) of the records that are marked "True" in the "Ready" column (column G Values) and deposit them in the new table. I only want to copy over the ID Numbers as the additional fields will be populated with match / index lookups from a third table that I have on another worksheet.

make and loop that loops true all values in column A and B. For example, if the cell A3 is higher the cell B3 then I want it to write the higher value in new sheet.

I am trying to create a formula to count the number of time the word "NEW" appears in one column, provided the result of another column gives a certain answer. Sample of my problem and question in detail on attached.

I am applying data validation in my workbook. The data in ColS consist of:

ColS (Row2) X (Row3) Y (Row4) Y (Row5) Y (Row6) X

In ColT, I am to apply data validation: i.e. If in concerned row of ColS is having "X" value, then I am to show an error message. Else, values from A2:A5 should be shown in the as list and these should be accepted in ColT.

I am trying to Sum lines of info with "True or False" and "Yes and No". I would like to assign 1 to True and Yes and 0 to False and No when I total the rows. Never tried this in Excel, on Lotus and the formula does not work. I can find and replace, but I would like to be able to use a formula.