Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Excel


Advertisements:










Sum 1 Or More Items In A Cell


I have a monthly calendar on each sheet for employees, attached is a copy of one of the sheets. I can have up to 2 combinations of text in a cell, i.e., 'V' or 'T' in this example, followed by a number, that can range from 1-12, i.e., V12T4. What I am trying to do is add up the total 'T' and 'V' time for the month for each employee. Hopefully between what I have written and my attached sheet, will explain what I am trying to do. I know how to write the =Sum(If for using only 1 item in a cell, but not 2.


View Complete Thread with Replies

Sponsored Links:

Related Forum Messages:
Creating A Unique List Of Items In Column A That Have A Corresponding Non-zero Value In Column B, I.e. Excluding All Items Where Sumif ColumnB Would Sum To 0
I know how to use array formulae to create a unique list, i.e.{=INDEX($G$1:$G$760,SMALL(IF(ROW($G$1:$G$760)=MATCH($G$1:$G$760,$G$1:$G$760,0),ROW($G$1:$G$760)),ROW()))}

however this is giving all the unique items from column G and I only want the unique items that have a non-zero value in column H as well. This would be the sumif of all instances that would have to be zero. I've tried to crack it and I've tried to search for solutions but so far no joy.

View Replies!   View Related
Sum Up The Same Items
I have an Excel spread sheet as shown below. Sometimes, there are two rows (could be more )with the same items-for example, such as Inventories, but different values. How can I sum those rows with the same items and put it in a different column, and in the same time also copy over the single item to the same column? ....

View Replies!   View Related
SUM Of Clumps Of Different Items Sold
I have a 7000 row spreadsheet of items sold over the past 6 months. I sorted them by their SKU, but some of them sold in multiple qty in a given day.

What is a formula to calculate the total qty of each SKU sold?

Example:
Column A = SKU 001
Column B = Qty Sold in a particular purchase (most have 1, but some are 2 or 3 or 4, etc.)
Column C, (Row 10) = Total where I would like to come up with a number for columns 1-10 (for example).

next item:
Column A = SKU 002
Column B = Qty Sold in a particular purchase (most have 1, but some are 2 or 3 or 4, etc.)
Column C, (Row 17) = Total where I would like to come up with a number for columns 11-17 (for example).

View Replies!   View Related
Sum For A Register For Cleared Items Only
I'm sure this has an easy solution, but I'm having a problem putting it into a working formula. Column I lists checks numbers. Column J contains the amount of the check. Column K contains a "Y" when the check clears the account, otherwise it's left blank until the item clears. Cell O2 is where I want the balance formula.

I want O2 to look at Column K & then sum the amounts from Column J where the corresponding Column K is blank. If it were just one cell, it's a pretty easy if(k4="Y","", j4), right? But since it's a range of cells, not sure how to tell it to look down the range for all uncleared checks and put the sum in one cell.

View Replies!   View Related
Sum Up For Display Items After Filtering
when filter is used, how to sum up for items shown in the display only? When i summed it up, it includes all those hidden rows.

View Replies!   View Related
Divide A Sum By Number If Items In List
I basically have lots of lists of 12 cells. how ever some of those lists contain errors (e.g instead of having 12 numbers it will only have 10)

so instead of doing =sum(a1:a12)/12 i want to divide by the amount of numbers in that area in this case 10 so i can get an average.

View Replies!   View Related
Sum Of Items In A Table, After Using A Dropdown, That Conform To A Formula
If I have a table with, For example:
dates in the first column, and an A,B,C,D,E, or F in the next.
Is there a way that you can have a cell that will tell me how many A's, C's, and F's (summed) are in the current selection, when someone uses the dropdown to narrow it down to one date?

View Replies!   View Related
Excluding Selections: Added To The 20 Items And Not To The 3 Items
If i select 3 items from a list 20 items to be show on the cube this is fine and works however if i then add another item to the list i now have 21 items and for some reason it also adds itself to my 3 selected items to become 4 items. Is there anyway I can get it to be added to the 20 items and not to the 3 items..

View Replies!   View Related
Return Cell Location: Of Several Items
I would like to return the cell location of names in column A as they are located in columns B and C, and return the locations in column D....

View Replies!   View Related
Count Only Items In Cell With Black Font
I found this formula and it works great, but I need to count only items with black font. We use red font to identify lost items so don't want to count them as part of our inventory.

View Replies!   View Related
Selecting Multiple Items From A List In One Cell.
Is it possible to restrict the values of cells in a particular column to entries defined in a list BUT to allow each cell in that column to display multiple items from the list (seperated by a comma for example). I've attached an example of what I would like to do -

In Sheet "2010 Data" I want to be able to select multiple values in column F....(the values are defined within the list named "Platforms" on the worksheet called "Lookups"

View Replies!   View Related
Sum In A Macro (sum One Column After The Last Cell With A Value In It)
I have a Macro and I would like sum one column after the last cell with a value in it. This cell has variable length with each file.

Is ther a way to include this function in my existing Macro?

View Replies!   View Related
COLOR Items, Text & Cell(s), Unresponsive
I should much appreciate your help on this strange new problem which is twofold:

1. Clicking either color item (for text or for cell) brings no change in designated cell(s)

2. When colors appear on Print Preview they do not on the Printout.

It occurs on Dell Vista Ultimate SP2. Am on IE8; Ctrl Panel list also shows !E7.

It does not occur on HP XP SP3 desktop although no discernable differences in spreadsheet.

On laptop I am unable to use either COLOR icons -- for text or for cells. No trouble heretofore which makes it so frustrating.

Ordinarily, following usual usage, all is well. For unknown reasons, now neither has any effect.

Explored for cause/cure without finding anything more than instructions already well known.

Did see note saying High Contrast might make colors ineffective, so searched out that.

Found how to turn on/off, and easily turned off High Contrast. Made no difference.

View Replies!   View Related
Validate A Cell To Only Allow Items In List1 Or List2 Or A Numeric Value
I have 2 lists and I want to validate a cell to only allow items in List1 or list2 or A numeric value.

List1
D1
D2
D3
..
D10
..
Dxx


List2
Hol
Off
Sick

These lists may changein length and number of items

the second part, is can you valudate based on other values in a column, basically I have a list of names of available operatives, and I want to make sure each name can only be entered once in a column! Would be even better if I could get a dropdown which showed the remaining choices!

View Replies!   View Related
How To Use One Cell To Match Pairs Of Cells For Missing Items
We use a program at work to check items out to individual people but sometimes an item is missed and it takes forever to manually look for who it is. In the attached example, (keep in mind there might be more than 100 people on this list...this is just two people), the first 2 items are a pair (radio and radio case) and the second 2 items are a pair (laptop and laptop case).

Id like a way (condition formatting) to flag a person who has one item from the pair checked out and not the other. (Ive manually highlighted one person who only has one of the paired items...id like this to happen automatically)

EDIT:: If the first person were missing the radio in this example, his name would be highlighted on the line with the matching pair...cell D1 (radio case)

Other information:

Radios will always be RFAMRC***
Radio cases will always be RFAMF****

Laptops will always be RFAMTD***
Laptop cases will always be RFAMTE***

View Replies!   View Related
Find Array Uniqe Items And Transpose 1 Each Into Cell
I have a col of dates that change, 9/15, 10/15, 11/05 and reside in col. I
I then have a corresonding cell in row I136, M136, Q136, U136, Y136 and AC136.
I want to find the starting at the earliest date starting in I36 , M136, Q136...

So I136 would be updated to 9/15, M136 = 10/15, Q136 = 11/05, ...

I am thinking a CSE type formula would be a possibility, but need assistance in this or in a piece of code..

View Replies!   View Related
Allow Items To Be Added To "cell" Shortcut Menu
I am using the following code to add an item to the right click " cell" shortcut menu.

I placed it in a Worksheet_Activate module in ThisWorkbook. I'm pretty sure the code is correct but it seems something is preventing the code from executing properly because no item is added to the menu. Is there some setting in a workbook that might prevent changes to the right click menu from being made? How can I get this code to execute properly?

'Set NewItem = CommandBars("Cell").Controls.Add
'With NewItem
' .Caption = "MACRO1"
' .OnAction = "MACRO1"
' .BeginGroup = True
'End With

View Replies!   View Related
Copy The Dynamic Auto-Sum Cell And Paste It To Another Cell
2 Different worksheets to work with

The "Nursery" Worksheet
I already have code that puts the Auto-Sum amount below the last data row in the column named "Nursery Grand Total" in the Nursery Worksheet.

This Auto-Sum amount, however, will always be in a different row because the amount of rows generated from the report is always different as well, therefore, the Auto-Sum cell/row changes with that to be right below the last data row in the "Nursery Grand Total" Column.

I would like to copy (values only) the amount from this dynamically changing Auto-Sum cell and paste it into another worksheet named "Totals".

The "Totals" Worksheet
In my "Totals" worksheet, I have two columns.
"Master Total Description" and "Master Grand Totals".

In the "Master Total Description" column, I have a cell named "Nursery Grand Total" which is exactly the same name as the header row in the "Nursery" worksheet.

So,

In the "Nursery" worksheet/"Nursery Grand Total" column, I would like to copy the auto-sum amount

and paste it into....

the "Totals" worksheet/"Nursery Grand Total" row/"Master Grand Totals" column

Here are some pictures for reference...

View Replies!   View Related
If The Sum Of A Cell Is A Certain Text Then A Dollar Amount Populates Another Cell
Attached is an example. Office 2007 & 97 versions attached. If a drop down menu on one sheet selects a certain word, then on another sheet based on that selection a dollar amount is entered. I am guessing this would involve some if commands, I am really weak on making those.

View Replies!   View Related
Sum A Cell Dynamically Based On Another Cell
I have a spreadsheet which I use a number in cell E4 which can be an integer for instance let's say E4=9.

I want to go down a column and get the sum dynamically for let's say when the cell in E4=3.

The range in column G starts at G27. I then want to return the dynamic value to cell E3.

What is the best way to accomplish this using vba code?


View Replies!   View Related
Cell Sum :: Trying To Add The Numbers In A Cell
I am trying to add the numbers in a cell.

A1 12345 - the formula would be in A2 and would return 15 (the sum of 12345).

View Replies!   View Related
Multiple Sum If A Cell Value Equal Another Cell
I'm doing a spreadsheet where there is ten cells or top ten positions. Where there is one sheet for where the ten values and another sheet with cells that might or might not match the other sheet. For instance.

If any cell A1 on sheet 1 matches cell A1 on sheet 2 Then give cell A15 the value of 10. The If cell A2 on sheet 1 matches A2 on sheet 2 Then add another 10 giving A15 a total of 20. And so on up To A10. Then If it doesn 't match exactly lets say If cell A4 on sheet 1 match cell A2 the Minis 4 from 2 giving you 2 Then minis 2 from 10 giving 8 While still totaling In cell A15, which would equal 18 now.

View Replies!   View Related
Sum Next Available Cell
Building on my previous post, after deleting the last line and everything below, I would like to be able to sum the columns across, but since it changes everyday I'm not sure how to do this.

View Replies!   View Related
Sum Value In A Cell
in cell A1 numaric value is 123
In want to calculate in cell B2 as 6

(1+2+3=6)

12365 caluated as 1+2+3+6+5=17 then 1+7=8 only one digit

View Replies!   View Related
Insert Sum In Cell
I have a worksheet that before I print.

I have a macro that inserts a sum at F27 (I also have sums at G27 & H27) prints the worksheet and then after printing clears the contents of F27.

If I was to add in a row and then run this macro of course the sum appears at F27 and my other two sums at now G28 & H28.

My question is there a way that when the "F27" sum is inserted it is somehow tied to the position of the G27 & H27 cells so that all 3 sums will be on the same row.


View Replies!   View Related
Sum A Range Of Cell
I would like to Sum a range of cells which has specific text (Text will be given specific value as classified below) in them.

Here is my classification:

I need column 1 to 7 to be added & the final result should be displayed in 8th column (SL)

HSL = 0.50
SL = 1
HCL = 0.50

1 2 3 4 5 6 7 SL CL HSL SL 1 HCL HSL SL 1 3
0.50


View Replies!   View Related
Sum Below Until Blank Cell
The first program should fill in the coloured cell's per sort.
First it should look for non-blanc cell's in colum A.
Then it shoud sum up the totals between the different sorts of goods.
Then it should look for the next-blanc cell in colum A and do the same.

Basilcally I need a sum function that will add SUM(X:Y-1).
Where X is the row the Xth non-blanc cell is and Y is the X+1th row with a non-blanc cell.

A second program should run after the first one and should copy the coloured cell's to a result page at the end.
First it should look for non-blanc cell's in colum A.
Then copy the name of the product and the coloured cell's per artikel to an result page.


View Replies!   View Related
Sum Of 1 Cell In 40 Sheets
I want to add up the total of cell A200 in over 40 worksheets, I have tried the SUM() but this makes it a large formula.

View Replies!   View Related
Sum Based On A Different Cell
attempting to create a spreadsheet that will do some basic record keeping for 6 rental properties I own.

I have the individual income listed out on an "Income Received" sheet These cells are d5,d9,d13,d17,d21,d25. They are the rental incomes for January. I would like for the program to separate out monies deposited into the bank from that left in cash. I am attempting to do this by entering the date into a cell for each of the rental amounts that were deposited into the bank. These cells would be d8,d12,d16,d20,d24,d28. I want excel to add only the rental amounts that have a date in these previous cells. I want excel to place that total into cell d30.

how to do this or where I can find more info? I have searched out SUMIF functions and can't seem to locate any help with that.

View Replies!   View Related
Sum To Last Used Cell In Column
i would like to sum from from e8 to the last cell in that row and then copy that down to the last row with information in it

View Replies!   View Related
Sum With Out Cell Reference
i m trying to see if there is any way that i can get a sum for a colum with out actually selecting a specific cell. this way no matter how many cells are in the sheet it goes to the last cell and sum's that column. Here is the code I have been able to get rid of most of the specific cell references that are at the bottem of the page excetp this one. Here is the code i have so far.

Sub Macro1()
Rows("1:1").Select
Selection.Insert Shift:=xlDown
Range("A1").Select
Rows("1:1").Select
With Selection
.HorizontalAlignment = xlGeneral
.VerticalAlignment = xlBottom
.WrapText = True
.Orientation = 0
.AddIndent = False
.ShrinkToFit = False
.MergeCells = False
End With
Range("A1").Select......................

View Replies!   View Related
Sum Values Corresponding To Cell Value
I am trying to create a macro that sums up values in multiple tables based on their "type" based on user input on dropdown menu.

I've created an image to show what I actually want to do:

The problem is, I don't know how to handle multiple dropdown menus nicely without typing out every possibility with case- functions in vba. Which isn't a good solution because the code needs to handle several dozens of drop down menus. The code doesn't need to be vba, basic excel functions do well, if possible. I am not after perfect ready made solution, just how to handle multiple drop down menus efficiently with not too much writing.

View Replies!   View Related
Sum Same Cell From All Worksheets
I seem to recall that I was able to sum a particular cell from every sheet between a starting sheet and an ending sheet using a single formula but have been unable to locate how I did this in the past.

View Replies!   View Related
SUM Or Lookup (extract The Sum Of Each Of The Sum Value For Each )
I am building a template which needs to pull values from an excel sheet that
will be copied and pasted into one of the worksheets in the template. These
values are always in the same columns but not always in the same row as the
length of the file varies. One of the main problems I am having is that there
these values are sums (located at the bottom of the table) but they do not
have any indicator in the first column (it is blank so I cannot use vlookup).
Also there may be multiple tables (each under the privious one) and in this
case I need to be able to extract the sum of each of the sum value for each
table.

Also, I was thinking of taking another route. Instead of looking up the
already calculated sum values I was thinking there might be a possibility to
sum the values my self and pull that value for the columns needed into my
template. The first lign of each table begins with "Asgn" and ends with "End"
and I was wondering if there is a way to sum the values between (and
including) these two markers for the columns needed.

View Replies!   View Related
Conditionally Format Cell If Last 3 Characters Of Another Cell = The Word "sum"
I have certain cells in column ‘D’ with a ‘nine digit code’ then a ‘space’ and the word ‘sum’ e.g. ‘123456789 sum’.

What I require is the formula to enter in ‘formula is’ when you select Conditional Formatting so the cells in column ‘E’ changes to a green background if the corresponding cell in column ‘D’ has text in it and the last three characters are the word ‘sum’

View Replies!   View Related
Complex SUM With ROUNDing - All In One Cell Possible?
I am an experienced Excel user, but it does not seem possible for this formula to be written all within one single cell. The SUM combines rounding a known value, followed by calculations, and subtracting a rounded number with modified calculations.

This is the formula which does work, although I would prefer for the sake of accuracy (and succeeding in the task of making the formula do exactly what I wanted it to do!!):

=ROUND(SUM(T9/1.5)/5,0)*(5)*(6.5%)+(26.25+15.81+1)+SUM((T9/1.5)*(6.5%)+26.25+15.81+1)*19%

The value of T9 is 2283.3 recurring.


There are two main parts to the SUM:

=ROUND(SUM(T9/1.5)/5,0)*(5)*(6.5%)+(26.25+15.81+1)

...and:

+SUM((T9/1.5)*(6.5%)+26.25+15.81+1)*19%


The challenge is to insert another:

=ROUND(SUM(T9/1.5)/5,0)*(5)

in replacement of:

=SUM((T9/1.5)

I'm aware that the use of brackets differs between the two sections of the sum, but it is neccessary to allow the correct answer.

Is this too much for one poor cell to handle?

View Replies!   View Related
How Do I Sum Values When Text Is Also In Cell ?
Cells have both text and values in and I need a formula to sum up only the values.

An example is:

joe 22
jim 33
sue 44

...where the formula needs to produce the answer 99.

View Replies!   View Related
Sum Cell Range On Specified Worksheet
I have the following line of VBA code that sums a range of cells on the active worksheet. I need to change that to sum on a specified worksheet. Is there a way to do that? I thought it would be simple, but have had no luck... Actually using variables for the cells, but simplified here for example's sake.

If Application.WorksheetFunction.Sum(Range(Cells(2, 2), Cells(123, 2))) = 0

View Replies!   View Related
Sum Totaling Of A Single Cell?
Is there any way that one would be able to sum total a single cell?

I have my numbers listed in column A & would like the return in column B .....

View Replies!   View Related
To Sum Every 2nd Cell In A Row
I'm using Excel 2007 and I'm trying to make a sales tracking calendar, down the left side we have sales people listed, across the top dates. The dates take up two columns which will hold unit sales for item "A" and item "B". I want to be able to show totals for each.

I originally tried just selecting each individual cell and summing them...
=sum(f11,h11,j11,l11,n11 all the way to bw11)
This gave me the following error message "More arguments have been specified for this function than are allowed in the current file format." (I should mention that one month in each quarter has 5 weeks.)

So i did a little looking thru the help features and google trying to find a way to sum every 2nd cell in a range. I came across a site suggesting they had a way to do it so I modified it for my cells and all it seems to do is add all the cells together rather than every other...
{=SUM(IF(MOD(ROW($F$10:$BW$10),2)=0,$F$10:$BW$10,0))}

I did not type in the {} i used the Ctrl-Shift-Enter like the site suggested.

View Replies!   View Related
Control The Sum Range With A Cell
I would like to define the range of cells in the sum with a number in another cell. Say I want to sum the past 10 years, I would like the sum definition to be controlled by another cell that includes the number 10.

If I want B1 to be the sum of A1:A10, B2 to be the sum of A2:A11, etc., I would like to be able to control the range of the sum with say, C1, which in this case would contain the number 10.

This would allow me to easily change the range of data I am summing: if I changed C2 to 15, B2 would give me the sum of A1:A15 for example.

View Replies!   View Related
Sum Of Cell In Array From Addresses
i have a 2D array of numbers (7 columns x 30 rows which doesn't change size nor place in the book).

I have the address of the "starting" and "ending" cells of the area I need to sum (often in more than one row) squeezed between other tables which must not be part of the calculation.

How can i get the sum i need without macros?

Ex:

||A|B|C|D|
|1|1 7 5 0|
|2|5 6 8 4|
|3|2 6 7 4|
|4|8 4 5 3|

Sum from B2 to C4 = (6,8,4,2,6,7,4,8,4,5) = 54

View Replies!   View Related
Sum Empty Cell Will The Above Data
vba macro, I've a s/s where column "W" is named "Proceeds" column and i would like to sum empty cell with above data. see below raw data:

Proceeds
-23,900.00

-18,100.00
198,000.00

198,000.00

-326,250.00
-326,250.00

Now i would like to sum empty cell & colour background with yellow and borders with top and thick bottom border.

View Replies!   View Related
Have Sum Always In Column C One Cell After The Data
is it possible to have sum always in column C one cell after the data

View Replies!   View Related
Sum A Range Based On A Cell Value
I am looking fo a simple way to carry out the following..

My Spreadsheet has a range of data from column D to O

I have a Total Column Q

I have a Cell, eg A2, where I enter a value from 1 to 12

Depending upon the value entered into A2 will dictate the range of cells to sum, ie

A2 = 4 - Column Q would Total Range D?? to G??
A2 = 12 - Column Q would Total Range D?? to 0??
etc.

View Replies!   View Related
Sum Returning Blank Cell
I have a current formula using SUM formulas obviously in the answer cell the answer is returning 0 due to no data inputed, how do i make the cell show empty.

eg. =SUM(A1*A3) returns answer 0 need cell to be blank.

View Replies!   View Related
Combining SUM With Fixing A Cell Value
how can I combine the Formula =(SUM(A2:A100))/(SUM(B2:B100)) with setting a value of the cell D2?

What I want would look like this (in column C):

=(SUM(A2:A100))/(SUM(B2:B100)) with the condition that D2=0
=(SUM(A2:A100))/(SUM(B2:B100)) with the condition that D2=100
=(SUM(A2:A100))/(SUM(B2:B100)) with the condition that D2=200
=(SUM(A2:A100))/(SUM(B2:B100)) with the condition that D2=300

and so on.

The point is that the values A2 to A100 are dependent on the input value in D2.

View Replies!   View Related
Add To Total And Sum In Same Cell
I would like to do the following:

The current value in A1 is 10, now add 10 to that to get 20 but accomplish it all in cell A1.

Is this possible either as a function or code.

I have not found the answer anywhere else.

View Replies!   View Related
Cell Sum Offset Using Date
I am trying to determine a cell row thru which I want to sum a column based on date. For example, if today is in the month of December, the offset is row 87. When the month changes to Jan 09, the offset will be 88.

I have the formula which does this for me, but I am not sure how to use it in the sum formula. So if I want the sum for December, it would be =SUM(K18:K87) and Jan would be =SUM(K18:K88). Here's the wrong formula:

=SUM(K18:K&(ROUND((TODAY()-39783)/30.35+87,0)))

What I cannot get is how to properly format the formula so that the :KXX increments based on the formula. I tried this: =SUM(K18:K(ROUND((TODAY()-39783)/30.35+87,0)))
but get a NAME error.

View Replies!   View Related
Cell Entry Auto Sum
What could be the formula if i want a particular cell to auto sum the data input. For example if i click cell a1 and entered a number and again entered a number , the previous entry will be added to recent entry.

View Replies!   View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved