Using SUMIFS When Text Is Involved
Feb 25, 2014
I'm having a complex issue that I've tried solving with =SUMPRODUCT(SUMIFS( and regular old =SUMIFS(, but all to no avail. Here is the issue at hand:
I need to look up three criteria, one of which is a text column.
Column A - Qualifier, is this a qualified sale (yes or no)?
Column B - Salesperson, who had the sale (Jacob, Charles, etc)
Column C - Date, when did this happen (2.2.14, 2.14.14, etc)
I need these three criteria to return a sum of Column A - how many are a yes. The formula that typically works for me for such a big sum, when only numbers are involved for the summing, is:
=SUMIFS(A:A,B:B,"Salesperson name",C:C,"Coordinating date")
I've uploaded how the final product should look across.
View 1 Replies
ADVERTISEMENT
Dec 6, 2011
I have an array which I am attempting to use a simple Product function on. If one of the cells does not have a number, but instead contains 'N/A' or some other type of text, how do I get my Product function to result in 'N/A' rather than having the Product just ignore the text.
I cannot attach an XLS file but just pretend Cells A1:H1 read 1, 2, 3, N/A, 5, 6, 7, 8.
View 7 Replies
View Related
Jun 5, 2009
I need to sort a dataset by a column that may sometimes contain blanks. I'm sorting by time in decending order however excel is keeping any blank rows at the top.
Is there a way i can sort the column decending but keep the blanks at the bottom?
View 3 Replies
View Related
Nov 3, 2008
I've been having problems coming up with a formula that will take a start date and an end date and come up with the number of weeks INVOLVED within this date range (each week being a Sunday through Saturday).
My problems is that the start and end dates could be any day of the week and not necessarily the same day (meaning divisible by 7 doesn't always work). I tried using ROUND((A2-A1)/7,0)+1 where A1 was the start date...and A2 was the end date.
The problem I had was if I picked a Monday as the start date, and went 12 days out (The saturday of week2)...it came up stating 3 weeks were involved - AND if I selected a Friday start date and picked the following monday in week 2 - the result was 1 week involved when 2 different weeks were involved.
View 4 Replies
View Related
Sep 12, 2012
How do I post a formula without hidden rows being involved?
View 1 Replies
View Related
May 5, 2014
I do have the following problem:
When I use the SUMIF(S) function and a criteria range that has numbers stored as text (eg: '394) the unequal operator (<>) doesn't work.
=SUMIFS(B:B,C:C,"<>493") doesn't work
I'm able to get the salary of employee 493 by using "493" instead of "<>493", but it seems that with the unequal operator Excel starts treating this ID as number. The only work-around I found so far is to use a wildcard e.g. "<>*493" or "<>493*". Excel then treats it as text again, but this is dirty workaround. What happens if an employee with an ID e.g. 1493 shows up!?
"<>'493" or something doesn't work unfortuantely..
Employee ID
Salary
'250
10000
'493
13000
View 14 Replies
View Related
Mar 8, 2013
When I need to return numerical data with multiple criteria, I use the SUMIFS and it works fine. But when I need to return a text string, the function is not called for. What function can I use to make this happen? I've tried SUMPRODUCT, which I've had success with in the past, but it's not working this time. Maybe I'm laying it out wrong, but this is how I currently have it:
=SUMPRODUCT(column of text to be returned,((column of criteria1)=criteria1)*((column of criteria2)=criteria2))
Do I need to fix this formula or use something else?
View 2 Replies
View Related
May 3, 2014
Let's say I have a simple table like below:
Region
Date
Qty
N. America
23/4/2014
10
EMEA
24/4/2014
50
EMEA
25/5/2014
20
I want to sum up all EMEA quantities that are in the month of April.
I've tried this:
SUMIFS(C:C,A:A,"=EMEA",MONTH(B:B),"=4")
I've also tried:
{=SUMPRODUCT(IF(A:A="EMEA",1,0)*IF(MONTH(B:B)=4,1,0)*C:C)}
Both do not work.
Also as the data grows each month, I would want to refer to the entire column in my formula, e.g. 'Region' as A:A (rather than A2:A4).
View 4 Replies
View Related
Feb 19, 2014
Figuring out a SUMIF or SUMIFS formula which will clean up some weekly data. I am envisioning a SUMIF formula which looks at the client name in column A in a table and then it will search through the long list of data for all entries for that specific client on another sheet in column "A", for instance. It needs to take into consideration only the encounters which happened between the dates in the table for that client listed in column B & C. The sum will be the column next to the column with each client's name which has a procedure date in between the date criteria's from the table. I have attached an example to better illustrate.
SUMIF Example.xlsx
View 5 Replies
View Related
Aug 1, 2012
I was using SUMIFS on a large amount of data, but wasn't getting back the exact sum that I needed.
It turns out that I had cells with values similar to the following
Code:
000123
0123
Basically, text fields with the same numerical values, except for the number of leading zeros. Due to the nature of the table, the number of leading zeros is important.When I did SUMIFS, it counted the sum of the two values together. For example with the following:
Item
Batch
Qty
ABC
123
1
It appears that even if a numeric value is stored as text, SUMIFS treats it like a number.
View 3 Replies
View Related
Feb 25, 2013
I'm trying to find the maximum over a set of conditional sums, preferably using an array formula or some other single cell solution. My experience with array formulas so far has been to copy things off the internet and modify slightly to my needs.
Here is how my data is set upA
B
C
D
Trait1
Trait2
Value
Trait 1 to Max over
Cat
LongHaired
3
Cat
[code]....
The "Trait1" I am summing over will remain constant for each refresh of the spreadsheet. I want to return the max value of the sum over each "Trait2" that falls into the "Trait1" category.
In this example for Trait1 of "cat" I would return 8 (5+3) that corresponds to LongHaired cat.If I were writing straight SumIf and then Maxing over I would write
Code:
=SUMIF(C:C,A:A,$D$2,B:B,"LongHaired")
for each unique Trait2 and then Max over the set of outputs.
View 3 Replies
View Related
Jan 1, 2014
I am using a SumIfs formula and I want to add a criteria that only sums the Sum Range when it is between two given dates (01/01/2013 and 31/12/2013).
View 2 Replies
View Related
Jan 20, 2009
Using TODAY() in SUMIFS
so, this formula works as expected:
View 2 Replies
View Related
Jun 17, 2009
I've been looking for an alternative to SUMIFS as I have a sheet I need backwardly compatible with Excel 2003. I've looked at SUMPRODUCT which I understand is a good alternative to COUNTIFS but does not allow for summing. I've now moved on to looking at an array formula I picked up from an internet search, but it's not working properly for me. The crux of my Excel 2007 formula is:
View 2 Replies
View Related
Aug 11, 2012
I have the following formula in Col C
=SUMIFS(C$275:C$379,$A275:$A$379,{"Idle Time","Oil stock *"})
The criteria "Idle Time" & "Oil stock losses" are in Col A.
I would like to add the values in Col C based on "Idle Time" & "Oil stock losses" which are in Col A
The formula =SUMIFS(C$275:C$379,$A275:$A$379,{"Idle Time","Oil stock *"}) adds the idle time value correctly, but ignore the values of Oil Stock losses
View 4 Replies
View Related
Oct 15, 2009
I have the formula below which sums range dv77:dv81, if dy77:dy81 is not an error. Works perfectly.
={SUM(IF(ISERROR(DY77:DY81),"",DV77:DV81))}
However I cannot seem to modify it correctly to work with a sumifs formula. Could someone please show me how it might work?, or a workaround?
For reference the sumifs would sum range(DV77:DV81), if range(E77:E81) is "Neutrogena" and range (A77:A81) is "9".
View 9 Replies
View Related
Jan 17, 2013
I am trying to create a master spreadsheet to sum up other tabs for the number of funds that are going operational by month. The date is formatted at "January 31,2013".
See attachment as an example : Client Schedule Example.xlsx
View 3 Replies
View Related
Oct 31, 2013
Having issues trying to do a sumifs function using multiple criteria to get a final total. I want to sum a list of values that have different transaction types from a transaction table. The only working way I have found is to do a sumif and create a CSE formula for it and drag it down and sum to the total. I am looking for a way to sum the the entire list of transaction types I need from the transaction tab and get to the total value rather than have to use a CSE and then sum. Basically I want to take out the sum of the CSE results....Is there anyway to do this?
View 5 Replies
View Related
Apr 8, 2014
I have the following figures in my spreadsheet and I have been trying to use SUMIFS. However, I don't want to count values in a continuous way, rather than that, I need to count the values ONLY until the number that is being counted repeats.
Example: Spreadsheet from Column Q1 to Column Q6:
Q1 Controlling
Q2 8
Q3 8
Q4 8
Q5 8
Q6 8
On this case, the Excel would count the number 8 five times in this array. However, If there were more number just below the number 8, it would count them as well and that's not what I am looking for.
Q1 Controlling
Q2 8
Q3 8
Q4 8
Q5 8
Q6 8
Q7 5
Q7 8
What do I need is not to count them when the number being counted has stopped to appear eventhough it can be found at Q7.
For my needs the answer should be that the number 8 was counted 5 five times rather than 6.
View 14 Replies
View Related
Apr 11, 2014
Here is a sample of the formula I am currently using.
Formula:
[Code]....
This works perfectly for what I was needing but I am adding more criteria and running into a problem. I am rolling together usage for parts with different part numbers but the same function in order to reduce SKUs (as well as capture replaced SKUs) needed. These are located in Columns A:G. what i would like to add is more conditions to where the parts are going. Currently I have one location located in cell B2. To analize my usage further, I want to add another location in C2. So i want my formula to look like this.
Formula:
[Code] .....
when I use this it still only adds up with what matches in B2 regardless of the value in C2. Conversely, I can get the formula to work if I take out the extra part numbers.
Formula:
[Code] ....
View 6 Replies
View Related
May 24, 2014
Attached is a spreadsheet. The first worksheet is a summary of the data inputted in the second. I am trying to total the "total spend field depending on whether it is "Extra Works", "Spares & Materials" or "Other" which works fine. I would now like to sum depending also on the month that it was spent.
Order Tracker 2.xlsx
View 13 Replies
View Related
Jun 21, 2014
Using the SUMIFS function, I could successfully get the expected results from extracting data from 15 base separate excel files (from where the data will be extracted). However, whenever I am re-opening my master sheet(where I want the data to reflect) it gives me #VALUE!
Only after opening all my 15 base sheets, my master sheet fetches data.
View 12 Replies
View Related
Aug 12, 2014
I am trying to do a formula that will add two different sums and so far I have this:
={SUM(IF('FAC Open POs'!$F:$F='Cash Waterfall'!$B6,'FAC Open POs'!$V:$X))}+SUMIFS('Cash Report'!$O:$O,'Cash Report'!$S:$S,'Cash Waterfall'!$B6,'Cash Report'!$T:$T,'Cash Waterfall'!G$4))
But I keep getting an error. I know that the formulas apart work, but I keep getting an error with trying to use an Array formula like this.
View 3 Replies
View Related
Dec 2, 2013
I am trying to solve the problem I am having for my weekly report. Currently our Reporting has to be done Via Excel, with no reporting consule to have dynamic ability. I am trying to put a formula table together so all my manager has to do is dump raw data and the calculations take care of the totals for the table. I am running into the issue of when trying to return certain data at a certain date. So here is what I have and what I need (If it can be done without changing the formula each week)
For the MTD calculation I have:
=SUMIFS('Raw2'!$L$2:$L$902317,'Raw2'!$O$2:$O$902317,"=2013",'Raw2'!$M$2:$M$902317,"=11",'Raw2'!$N$2:$N$902317,">
=1",'Raw2'!$N$2:$N$902317,"<=31",'Raw2'!$B$2:$B$902317,"=0000013")
The raw data wont have information past the current day of the month so the <=31 allows for the current month to calculate correctly.
Where I am having trouble is the Previous Month Formula:
=SUMIFS('Raw2'!$L$2:$L$902317,'Raw2'!$O$2:$O$902317,"=2013",'Raw2'!$M$2:$M$902317,"=10",'Raw2'!$N$2:$N$902317,">
=1",'Raw2'!$N$2:$N$902317,"<=24",'Raw2'!$B$2:$B$902317,"=0000013")
This returns the data, but I have to change the "<=24" every week to the date that I want up to.
I have tried =eomonth(today(),-2+1) but that is not allowed as the Criteria.
View 5 Replies
View Related
Dec 23, 2013
Following the syntax of the SUMIFS formula --> Can "criteria_range1" be the same as "criteria_range2" ?
It didn't work for me and I got the result as 0.
View 5 Replies
View Related
Jan 7, 2014
I am trying to use the sumifs function to add a column that is in pounds but with multiple criteria.I am trying to add a price field but between two dates (between the beginning and end of each month) another criteria from a range of cells I have copied the formula I have written below
=SUMIFS(Sheet1!K:K,Sheet1!B:B,">="&I17,Sheet1!B:B,"<="&J17,Sheet1!W:W,"="&M17)
try to explain a little column K is the column I need to sum column B is the date field that I need to extract i.e. 1st to 31st January (I have put these dates in a cell that correspond to I17 and J17)
then the last bit column W is another criteria that I need met, this works for just one cell however if I try to add another criteria in another cell it doesn't work after M17 I add to the formula ,Sheet1!W:W,"="&M18)
View 4 Replies
View Related
Feb 7, 2014
Attached file should be self-explanatory.
I want to be able to set sum range using lookup or match.. For example if I change B2 value to Nov-13, I want it to sum column K.
View 5 Replies
View Related
Aug 1, 2014
I have a nifty formula that conditionally tots lots of figures up, and conditionally tots up another set of figures up and divides them to create a percentage
=SUMIFS(INDEX(MATRIX!$S$1:$BC$5933,0,MATCH($D$2&$D$3,MATRIX!$S$1:$BC$1&
MATRIX!$S$2:$BC$2,0)),MATRIX!$N$1:$N$5933,$H12,MATRIX!$L$1:$L$5933,$D$5)
/SUMIFS(INDEX(MATRIX!$S$1:$BC$5933,0,MATCH($D$2&$D$3,MATRIX!$S$1:$BC$1&
MATRIX!$S$2:$BC$2,0)),MATRIX!$L$1:$L$5933,$D$5)
There are 4 conditions in the first part of the formula and 3 conditions in the second one. A division and a neat little percentage.
What I would like to do is add a median to this.....
Essentially I want the formula to 1. Calculate the same as above (as I need the median to be based on the percentages) and then there should be 18 figures that I would like to median
Is a nested sumif and a median possible?
View 2 Replies
View Related
Sep 21, 2009
=AVERAGEIFS($D$106:$D$2825,$D$106:$D$2825,">"&$I117,$D$106:$D$2825,"<"&$J117)
Returns = 0
But on a copy of the same worksheet, the same formula returns the correct value. Is there something wrong with my formula cotext?
View 6 Replies
View Related
Nov 20, 2009
Is there an easier way to construct the formula in the sales revenue col of the monthly analysis table on the summary tab so that one does not have to enter the specific dates into the formula?!
View 5 Replies
View Related