DSUM Formula Instead SUMIF Formula
Dec 19, 2006
I come across a spreadsheet that is using DSUM formula, I did not understand why someone used DSUM instead of SUMIF formula, because using DSUM formula they had to use two extra cells for criteria, as seen in this example.
I like to know is there any advantage of using DSUM instead of SUMIF in this example.
The formule they used is =DSUM(J109:K113,2,$M$2:$M$3)
and the criteria is G,D
so they are adding all Debits in that column.
I changed the formula to =SUMIF($J$110:$J$113,"D",$K$110:$K$113)
that of course does not need $M$2:$M$3 range criteria.
G 3458224.37
D 3401317.50
C 3401317.50
C 56906.87
D 56906.87
View 9 Replies
ADVERTISEMENT
Nov 17, 2006
I'm trying to keep a running total (in one cell) for a range of cells
(see below).
The cells in the range consist of two columns- account number and an
amount. Given that the account numbers range from those beginning with
2XXX, 3XXX and 4XXX. The running total should be derived from the
totals associated to accounts beginning with 2XXX and 4XXX.
First attempt using pivot tables doesn't work since the amount column
is dynamic and thus is changed by user input - pivot tables would need
to be refreshed regularly which isn't possible. My goal is to have
this running total also be dynamic and performed automatically.
Second attempt using SUMIf doesn't work because the 'criteria' also
changes and isn't statis; the criteria in this case would be moving
with each row of data.
Third attempt using DSUM doesn't work b/c I can't seem to get the
syntax correct.
Account Original Budget
535030 24,600.00
535030 -
535036 36,900.00
535037 -
247695 -
258804 17,936.10 ..........
View 9 Replies
View Related
May 2, 2007
I am using the SUMIF formula to sum all the cells that meet a certain criteria and at the moment, this works fine. Now I want to extend the criteria to 2(3 later) conditions. I've read that the SUMIF function only handles 1 criteria. Is this correct? If so should I use SUMPRODUCT or DSUM? I eventually will have to check about 2000 cells in a workbook. Sample work book attached: where I need to total the price of all the items that are shoes and are red in colour. A pivot table beckons in the future, but for now I need this in a workbook format.
View 3 Replies
View Related
Sep 21, 2006
I currently have a report with so many large array formulas that it is virtually unusable. I want to use the DSUM formula in place of my array formulas but I am vexed in regards to creating a DSUM formula that I can put in the top-left cell of my report and then copy down to the bottom right side of my report. Currently, the array-formulas sum data from a large list when it meets two criteria -- one part of the data-record in the list must match the row label of the current row in the report and another part of the data-record in the list must match the column label in the current column of the report. I have found with the DSUM formula that you can use a "formula" criteria in place of a static criteria...the problem I am having is that the part of the formula that points to the data-set must be relative while the part that points to the formulas criteria needs to be static -- in order to be able to make one DSUM formula and copy it down and over I would need my formula criteria to have the opposite setup (with the data-set part static and the formula criteria as relative).
View 9 Replies
View Related
Oct 25, 2007
I am trying to pull cell values similar to a SUMIF function (SUMIF(range,criteria,sum_range)). For example, in A1 I use a data list created from data elsewhere on the spreadsheet. In the data I created elsewhere, there are 2 columns being used. The 1st column is the information that is being used to create the list and the second column contains specific values (number or text). In the dropdown menu I select an available value (text or number) . When I have selected that value I would like cell A2 to show what the cell directly to the right of it shows from the data I have elsewhere in the spreadsheet as mentioned. I have tried the SUMIF function however it seems to exclude certain values (number or text) and I am not sure what else to use.
View 9 Replies
View Related
Aug 26, 2009
Can anyone tell me why this formula is not working?
=SUMIF($D$6:$AL$6,"=TM Goals",D12:AL12)
The entry under cell T12, which I am hoping this formula will pick up is based on the following formula.
=IF(E12="A",$L$5,"0")
View 12 Replies
View Related
Jan 18, 2009
I am trying to sum a column if Col B is equal to "TM" & Col A is equal to "Launch" then sum Col H. I am sure it can be done and I am hoping the right person reads this posts and enlightens me.
View 9 Replies
View Related
Apr 21, 2014
i am using "sumif" formula in cell C5 and C10, the next step is to add up these two cells (sum up the figures of "sumif"), then the answer will be +15+6=21, how to do with using single formula.
View 7 Replies
View Related
Dec 28, 2013
I need a formula which can sum the mode of payments separately occurring on different dates.
See the attachment. It is like
table 1
date cash credit card
1-1-14
2-1-14
3-1-14
table 2
product booking date booking amount payment date payment amount form of payment
a 1-1-14 100 2-1-14 100 credit card
b 1-1-14 150 3-1-14 150 cash
c 2-1-14 200 3-1-14 200 credit card
I want to add value in table 1 from table 2. In front of date CELL Both cash and credit card amounts should appear separately.
Book1.xlsx
View 11 Replies
View Related
Feb 23, 2014
Below is my formula that works for a specific date. F$8 is the date.
How could I change this if I want data b/w two time periods.
>=F$6, and <=F$8?
[Code] ....
View 3 Replies
View Related
May 14, 2009
The section I have highlighted in orange has three ranges added together how would I show this in a simplified formula?
=sumif(DailySalesAnalysis!$C$1:$GA$1,A25,DailySalesAnalysis!$C$85:$GA$85)+sumif(DailySalesAnalysis!$C$1:$GA$1,A25,DailySalesAnalysis!$C$44:$G A$44)+sumif(DailySalesAnalysis!$C$1:$GA$1,A25,DailySalesAnalysis!$C$41:$GA$41)
View 2 Replies
View Related
May 30, 2009
The following formula finds the lowest five values in row 6 from column H to W. However if there are less than five values in the row the formula returns 0. I need to tweak it to return the smallest 5 values weather there is one or a full row of 16. Also if there are any of the same values I still want only the five lowest.
View 2 Replies
View Related
Jul 24, 2009
is there away to do the sumif formula with 2 criteria? See attachment
View 3 Replies
View Related
Aug 24, 2009
a1=good
a2 = 100
b1 = bad
b2 = 50
c1 = good
c2 = 100
would like to sum a2+b2+c2 only if a1,b1,c1 = good.
View 6 Replies
View Related
Sep 29, 2009
I'm trying to do what I think its a simple formula with Excel 03 but can't get it to work. The info is in two work sheets - A&B.
[code]WORKSHEET A WORKSHEET B
A COLUMN 1 COLUMN 2 COLUMN 3 COLUMN1 COLUMN 2
B BLANK BLANK 10 BLANK DATE:1/28/09
C NAME DATE WORKED 12 NAME
D Jones 1/2/09 13 Bell
E Smith 1/6/09 12 Smith
F Cox 1/28/09 12 Cox
G Cox 1/28/09 10 Collins
H Collins 1/28/09 11 Jones
In worksheet B, Column 2, I need to pull the SUM of COLUMN 3 IF THE NAMES IN BOTH MATCH AND THE DATES MATCH
I've spent hours tyring to get this thing done!
View 11 Replies
View Related
Jan 27, 2010
The below formula is giving the desired result and everything seems fine. Need if there is an alternative formula which can give same result in more refined and simplified manner. =K28+SUMIF($E$3:$E$24,$E$7,$D$3:$D$24)/(K23)-SUMIF($B$3:$B$24,$B$8,$D$3:$D$24)/(K23). The formula is based on the following data:
K28 = Last month balance
Column E = Type of expenditure
Column D = Values
Column B = Payments
K23 = Currency conversion rate
View 2 Replies
View Related
Feb 5, 2013
I am new to using SUMIF. I successfully wrote a formula telling it to sum one column for each row in another column where it equal "Forecast*". Now, I want to write a formula that says to sum a column for everything in the other column that does not equal "Forecast*". I tried using , but either it did not work, or I did not use the right syntax.
View 5 Replies
View Related
Apr 20, 2007
It's been awhile since I've used excel formulas so I'm very rusty but I need to count the number of times I see a particular item in a list as long as it has another criteria as well. Example List and Result are below: I want to count the number of AAA Rewards that Alex has....
List
#DateEmployeeAmountReward Type
14/17/07Alex$5.00AAA Reward
24/19/07Joe $10.00AAA Reward
34/19/07Alex $5.00 Store Certificate
44/20/07Alex $10.00 AAA Reward
Result
Employee # AAA Reward Amount # Store Certificates Amount
Alex
Brian
Joe
View 12 Replies
View Related
Jan 8, 2009
I have columns A and B, and want to add values in column B based on corresponding criteria in column A. The criteria is if the first two characters in the string in column A = 15.
The only way I can think to do this is with LEFT, but LEFT asks for a specific string, and I want to evaluate each cell in a column. So I could write
=sumif(A:A,"LEFT(A:A, 2)=15",B:B)
but of course that doesn't work.
View 9 Replies
View Related
Jan 28, 2009
The value in A1 can range from 0-10. If the value is 0 I need the result to be 0, if the value is 1-10 I need the result to be the number multiplied by 613.35 plus 29.35 for example =sum(1*613.35)+29.35 or =sum(2*613.5)+29.35.
View 9 Replies
View Related
Jan 30, 2009
How do I modify my formula (below) to include an OR statement?
=SUMIF(I4:I20,"Core",G4:G20)
I need something like this:
=SUMIF(I4:I20,"Core" or "Existing",G4:G20)
View 9 Replies
View Related
Sep 11, 2003
All I believe Juan Pablo posed a quick little diddy on how to have the SUMIF ignore #N/A?? I promised myself I would remember it but here I am asking if anyone remembers it or know how to have Excel add up a column even though the column contains #N/A's.
View 9 Replies
View Related
Oct 19, 2006
I have a workbook setup to give me the nutritional break down of all of the foods I consume. I can get the subtotal of each day. What I need is to also get the subtotal of each meal. I can't seem to get this meal subtotal without adding it to the daily total twice (once in the listing and once in the subtotal). I was thinking of trying to add an exception to the sumif formula in columns I, K & M but I don't know if that is possible. I have included a cut down version of my workbook to illistrate the problem. I will gladly supply a full vertion to anyone who would like a copy for thier own use.
View 5 Replies
View Related
Apr 13, 2007
Is there a way to use sumif on blank cells. That is I only want to add the contents of column Q provided the Column I corresponding rows are blank. I used this formula but it didnt work =sumif(I:I,ISBLANK,Q:Q)
View 5 Replies
View Related
Jul 16, 2013
Just to give you a quick overview (i cannot attach workbook due to data protection for our customer), I have a workbook with two tabs on it, an invoice summary tab and a rentals tab.
This is an extract of the table from my invoice summary tab:
Tab
Net (Zero Vat)
Net (Standard Vat)
Initial Rentals
Rentals
0
[Code] .....
The invoice data is on the rentals tab. Column "C" on the rentals tab details what type of rental it is, as per column A in the table above. the amount to sum on my rentals tab is in column "S".
I have a formula currently which looks like this:
=SUMIF(Rentals!$C:$C,'Invoice Summary'!$A2,Rentals!S:S)
this works fine.
Now the problem i have is i have an autofilter on the rentals tab which will be filtered by different accounts, I need the formula on the invoice summary tab to only show the visible amounts (as per the filter) and not the whole column. I was thinking of a subtotal formula but can't use a sumif and subtotal together (i dont think).
View 8 Replies
View Related
Jun 22, 2009
I need to add the total of staffs hours worked for one day, but the problem is that I don't recieve the data as hours but as symbols(letters of the alphabet) representing time worked. Eg "A" is 3.5 hours, "B" is 4hours "C" is 4.5 hours ect, ect.
In the example the top table is a one month time sheet for each staff and there working shifts. The bottom table is the part that I need a formula for. I need a total for each symbol for each day so I can total the hours at the bottom where it says total hours. I have given an example on how the bottom table should look when the formula is completed.
View 2 Replies
View Related
Jul 28, 2009
is there any way for a sumif formula to have multiple criterias? for my case, after the formula checks for a condition, it has to check for another condition before summing up the figures.
this is my current formula:
View 8 Replies
View Related
Dec 17, 2009
Can someone explain this formula to me -- and not the person who sent it to me please -- he confused me even more and I need to understand it so that I can learn for the future of how to apply it!
=IF(AC$17<=0,0,SUMIF($B16:INDEX($B16:AA16,$AC17-4),"<>",$B17:INDEX($B17:AA17,$AC17-4)))
So basically it is pulling aC17 -- if it less then zero, return zero.
If not, SUM B16-? this is where I am lost.
View 9 Replies
View Related
Jan 15, 2010
I've hit a major brick wall and hoping someone will be able to help! I've written an array formula to replace a pivot table (long story) anyway, they now want to be able to filter the data by date (between two dates) i'm using the current formula:
{=SUM(IF('SAP Data Current'!$A$2:$A$39802='Payment Block by Ac. Clerk Cal'!$B$84,IF('SAP Data Current'!$I$2:$I$39802='Payment Block by Ac. Clerk Cal'!$C101,IF('SAP Data Current'!$B$2:$B$39802='Payment Block by Ac. Clerk Cal'!S$2,'SAP Data Current'!$AA$2:$AA$39802,0),0),0))}
I know I need to put it at the beginning, but not sure how! I have the following formula for between dates:
=SUMIF(B2:B24,"<="&F7,C2:C24)+SUMIF(B2:B24,"<="&F8,C2:C24)
but then this isn't working right either!
View 13 Replies
View Related
Jan 27, 2010
Can anyone tell me what is wrong with the formula on page 1 cell F56? it is not adding the 666 gallons at the end of column F for 426 - cc. Any ideas?
View 11 Replies
View Related