This tutorial explains the difference between the SUMIF and SUMIFS functions in terms of their syntax and usage, and provides a number of formula examples to sum values with multiple AND / OR criteria in Excel. Continue reading
by Svetlana Cheusheva, updated on
This tutorial explains the difference between the SUMIF and SUMIFS functions in terms of their syntax and usage, and provides a number of formula examples to sum values with multiple AND / OR criteria in Excel. Continue reading
Comments page 15. Total comments: 675
Thanks - was struggling with SUMIF and AND together - this explained it clearly and concisely and my report now does what I want it to do.
I want to sum a range to be identified (ex: I have multiple case Id's in which I need to sum the age of the same case id's). Any find formula available.
Example
Case ID Hold Age
10241993 1342.87
10241993 0.02
10241993 126.38
10241993 0.01
10505177 144.04
10505177 18.83
10505177 117.7
... might be nice to point out that the ranges cannot be in adjacent worksheets within a workbook, but must be on the same sheet as the cell in which the formula is entered. I've been trying for an hour to find out what's wrong with my SUMIFS using the sum range and one of the two criteria ranges on another worksheet in the workbook. Always got a 0. Then I moved it all to the same worksheet and it worked fine. Waste of an hour, though...
Hi Dave,
In fact, the sum range and criteria ranges can be on different worksheets provided that all the ranges are of the same size. I've just tested a simple formula like =SUMIFS(Sheet1!A1:A4, Sheet2!A1:A4, "a", Sheet3!A1:A4, "b") and it worked just fine.
I am trying to obtain a year to date utility total using this sumifs formula.
=SUMIFS(cost,meter,$B7,service,$C7,period,"<=$M$1",year,$I$6)
Where range names are
cost = total invoice
meter = the meter number
service = type of utility (gas, water, electricity)
period = the accounting month January - December
year = 2015 or 2016
Thus, the report contains data for all periods 1 - 12 but I want a year to date for any month end (e.g. March would include periods 1, 2, and 3).
Any ideas would be appreciated.
Thanks
I managed to find a solution to my earlier query. I used the sumproduct function and it works perfectly. Irrespective of this, I'd still be interested to know why the sumifs function gives out an error. Regards Charles
I'm trying to use the sumifs function in the last column of a Table (Table1) with a Header Title "Total". Want I need is to add cells of each row based on part of their header title. The first header title within Table1 is "Country", while the other header titles include an abbrev. of the name of each month in the year (i.e. Jan, Feb, etc.). For instance, the header title of B2 is "No of Ships - Jan", C2 is "No of Ships - Feb" and so on until - Dec. The formula is in the rightmost row with a Header Title = "Total". I want to add the No of Ships from x month to y month (x & y being two numeric values inserted by a user outside of the table. Therefore I first started out by using the following formula: =month(datevalue(right(Table1[[#Headers],[No of Ships - Jan]:[No of Ships - Dec]],3)&"1")) which works fine when pressing F9 as the resulting value = 1,2,3..12. However when I try to incorporate the array into the sumifs function, I get an error. Here's the first part of the formula placed in n3:
=sumifs(b3:m3,month(datevalue(right(Table1[[#Headers],[No of Ships - Jan]:[No of Ships]],3)&"1")),">="&A1),... A1 = 5 (meaning start adding from May). If I can get the first part to work, I would then continue the sumifs with the same criteria but based on B1 value (say = 8) being the last month to take into account (in other words add those cells from May to August only). I'd appreciate your help and guidance. (Note that the above is only a simplified version of Table1, which actually incorporates other Header Titles but do not include the month name). Thanks Charles
DATE A B C
01-01-16 999.9 2548.75 2510
01-01-16 1982.7 522.15 0
01-01-16 440.9 0 54
01-01-16 535.5 294.95 0
02-01-16 274.4 0 19
02-01-16 697.5 313.5 0
02-01-16 690.3 179.25 120
03-01-16 158.16 153.8 0
03-01-16 207.5 0 560
04-01-16 1034.1 354.2 0
04-01-16 0 1165.5 8600
04-01-16 180.3 27 0
04-01-16 329.4 665.1 0
Please any one can help me.. i want to total date wise of "A" , "B" AND "C".
Please suggest me how can i total this data..
Hi MANOJ KUMAR,
You should use the following array formulas to sum the values for date 01-01-16:
to sum the "A":
{=SUM(B1:B10 * (A1:A10 = DATE(2016, 1, 1)))}
to sum the "B":
{=SUM(C1:C10 * (A1:A10 = DATE(2016, 1, 1)))}
to sum the "C":
{=SUM(D1:D10 * (A1:A10 = DATE(2016, 1, 1)))}
where
"DATE" values are in A1:A10
"A" values are in B1:B10
"B" values are in C1:C10
"C" values are in D1:D10
To enter this formula press CTRL+SHIFT+ENTER.
I think the SUMIF is exactly what I need - but, I want to find matches in column 1 and 2 (names for example) and then when there is a match - check the third column for a value and place the sum of the values in the third column. If somebody can help I would SO appreciate it..
Hi Beth,
You can use the array formula to solve this task.
For example:
{=SUM(C2:C10 * (A2:A10 = "Text1") * (B2:B10 = "Text2"))}
where
The values are in C2:C10.
The column 1 names are in A2:A10.
The column 2 names are in B2:B10.
To enter this formula press CTRL+SHIFT+ENTER.
Hi Svetlana
Column A: Project ref
Column B: Total hours on Project in one day
Column C: Total hours on one project overall
Rows = Days of the week
Column A consists of multiple reference numbers which repeat if a project is worked on for more than one day, but not necessarily on consecutive days. I want to be able to cumulatively add the total hours worked on a project over multiple days using a sumif calculation. For example i would like the total number of hours worked on project ref 222 over several non consecutive days in one month. The project ref range is large and therefore i do not want to specify "222" in the criteria but all instances where a reference number is repeated in the ref column.
Can you please help.
Thanks
Hi Petros,
You should use the following array formula:
{=SUM(B2:B10 * (A2:A10 = "222"))}
where
"Total hours on Project in one day" is in B2:B10
"Project ref" is in A2:A10
To enter this formula press CTRL+SHIFT+ENTER.
Thanks you all.
hello,
Please send me Formulas
Exp.
this is pan number list
AAAPA1234A
AAACA1234A
AAAHA1234A
When Pan number Four letter is P=2
otherwise=1
AAAPA1234A 1
AAACA1234A 2
AAAHA1234A 2
AAAFA1234A 2
ABCPA1250A 1
Please send me formula....
Hi SACHIN,
Please try the following formula:
=IF(MID(A1, 4, 1)="P", 1, 2)
Hello,
I am trying to say sum a column which does not equal a range of criteria in one criteria range.
This is an example of my criteria range & criteria, but I cannot get it to work: (The actual formula is more complex and much longer)
Data!$A:$A,""I have to put SUM() around the SUMIFS() which works, but not when I add ""&
Any suggestions?
Thanks
Hi Victoria,
To be able to assist you better please describe your task in more detail.
I want to Use SUMIF Function in a column where i need to find different values and total it for example:
i want to use sumif formulae like this in n. no of cell
SUMIF(I1:I1000, "6625", K1:K1000)
SUMIF(I1:I1000, "6626", K1:K1000)
SUMIF(I1:I1000, "6627", K1:K1000)
SUMIF(I1:I1000, "6628", K1:K1000)
now how can i rite this in entire cell with different values to search
Dear All
Looking for needy help..
I have to prepare one Status report to My Manager, Actually in my office several consultant working on a daily basis and my boss given to them number of works on a daily basis for example:- A, B , C consultants, Boss has given number of works to them like For A on 21-01-2016 hes has to complete 10jobs and "B" 5Jobs,C" 8. On 22-01-2016 "A" 5,"B"8,"C"10. We want to know how much they completed as on date and how much pending namewsie.
Waiting for positive reply
Thanking you
Hi Alexander,
Please check the below table for the same.
OrderID AgentName Center Qty Sum of Single cell Qty
VI8736656 Amit Kumar Techm Noida 23 5
VI8736685 Rakesh Chand Techm Noida 245 11
VI8736986 Ruby Techm Chennai 23 5
VI8737133 Lokesh Kushwaha Techm Noida 31 4
VI8737537 Seethala Devi L Techm Chennai 234 9
VI8737539 Seethala Devi L Techm Chennai 2 2
VI8737682 Md Rafee Alam Techm Noida 134 8
VI8738184 Komal Singh Techm Noida 246 12
VI8738222 Chakshu Jain Techm Noida 309 12
VI8738396 Md Rafee Alam Techm Noida 278 17
VI8738507 Aanchal Techm Noida 245 11
Hello Anand,
Would it be possible for you to email your Excel file to support@ablebits.com?
It is very difficult to see the structure of your data here and tell one column from another.
Hi Guys
Anybody could you help me and can you explain the below formula step by step
Because I am not able to undersand this formula.
please please help me
=SUMPRODUCT(1*MID(H7,ROW(INDIRECT("1:"&LEN(H7))),1))
Hello, Anand,
To help you better, we need a sample table with your data in Excel. You can email it to support@ablebits.com. Please add the link to this article and your comment number.
Hi!
I'm trying to use function SUMIFS to sum up numbers by account (column A), product (column B), year (row 1) and scenario (row 2). But the only thing I get is #VALUE.
Is it possible to at all to use SUMIFS in such cases? Or is there any better function for this purpose?
Hi Melissa,
It is possible, but could you send a sample worksheet to support@ablebits.com? Please include a link to this blog post and your comment number.
We'll do our best to assist you.
Hi Irina!
Thank you! I think I have figured out it in a slightly different way:-) But I'll keep in mind your site!
/Melissa
I almost have this figured out...Help please.
I have a simple list of ages and zip codes. Ages are broken into categories as such:0-5, 6-11, 12-18, Adult, Adult +. The zip codes and ages need to be tallied. I need to know how many of each age participated and I need to know from what zip codes these folks have come from. Here is an example...
A B C D E F G H
55 ADULT 97478 0 0 0 0 0
56 ADULT 97402 0 0 0 0 0
57 3 97402 1 0 0 0 0
58 3 97402 1 0 0 0 0
59 6 97402 0 1 0 0 0
AGE 0-5 6-11 12-18 Adult Adult +
TOTALS
ZIP CODE 97402 97404 97405 97478
TOTALS
The formula in D57 is =IF(AND(B60>0,B60<6),"1","0") This formula does exactly what I ask it to do. However, I am unable to sum each column, The formula does not recognize text, and I am not sure what to do with The zip codes. Can you help?
Hi Shelly,
You can use the COUNTIF or COUNTIFS functions, please see the following articles for more details:
COUNTIF in Excel
How to use COUNTIFS
If you need to get a unique list of ZIP codes for each age group, then please follow these steps:
- Create a copy of your worksheet;
- Add a helper column J, enter the following formula into its first cell:
=IF(AND($B1>=0,$B1<=5),"0-6",IF(AND($B1>=6,$B1<=11),"6-11",IF(AND($B1>=12,$B1<=18),"12-18",IF($B1="Adult","Adult","Adult+"))))
- Copy it down the column;
- Run our Combine Rows Wizard add-in
- Use column G as the key column, choose to combine the unique values in the column with the ZIP codes and separate them with a comma.
I have a budget workbook I'm working on.
We have expenses assigned to Categories, Types. They are allocated in Programs. In one worksheet, columns have an array formula to sum up data from an expense page
{=SUM(SUMIFS('Dollar Data'!$E$2:$E$352,'Dollar Data'!$A$2:$A$352,$A10,'Dollar Data'!$C$2:$C$352,D$154:D$173))}
Dollar Data A is Type,
Dollar Data C is Category,
Categories are allocated to Programs (multiple columns).
Right now all of a Category is assigned to a Program, and we want to assign it proportionally. Is it possible to tweak the array formula to use a percentage? We could specify it next to our Category Criteria in D$154:D$173, e.g. E$154:E$173.
as a simplified example:
e.g. Program A = Break Room Program B = Parties.
Program A Prcnt Program B Prcnt
Silverware 60 Silverware 40
(Type is Knives, Forks, Spoons, all added together into Silverware by the array formula).
Excellent, many thanks for your help, the community appreciates !
I'm trying this formula but its not working on my sheet
=SUMIFS(I10:I88,G10:G88,"AGO - PETROL",H10:H88,"874")
My table has all the columns but when pressing enter key to get the
result comes a #value . Can anyone help me knowing the problem?
Control + Shift + Enter instead of Enter to enter it as an array formula...
Very helpful article, and it got me almost all the way to a solution, but now I am stuck because I can't get the SUMIFS function to apply as an array formula. Right now I am using the following (=SUMIFS($J2:$J152, $L2:$L152, L2, $E2:$E152, E2). I need the values with the $ to stay static and for the values without the $ to move as the formula is applied, but with SUMIFS it doesn't seem to work the way normal formulas work. How can I get SUMIFS to respect the $?!
Thank you.
I believe you would not include the parentheses around the very outside around the =. you would enter the formula, and hit Control + Shift + Enter to create the array formula...
Hi,
Sorry if I missed this in your post. I am using the below formula:
=SUM(IF(FREQUENCY(A2:A367,A2:A367)>0,1))+SUM(IF(FREQUENCY('Sheet2'!A2:A367,'Sheet2'!A2:A367)>0,1))
This gives me a total unique count from two separate sheets. However I now want to count the unique values with criteria attached. I tried the following:
=SUMIFS(IF(FREQUENCY(A2:A367,A2:A367)>0,1),B2:B4367,">="&Settings!B6, B2:B367,"0,1),Sheet2!B2:B367,">="&Settings!B6,Sheet2!B2:B367,"<="&Settings!B5)
However it only comes up with a #Value! error. I feel as though I am missing something obvious with the structure of the nested IF within the SUMIF but I can't see it.
Thanks for any help :)
Just as an update, I attempted nesting the IF functions against the criteria and against the range manually but I was still unable to retrieve a functional result.
Hello, Michael,
To find an error in the second formula we need to see your data. You can send us a small sample table with your data in Excel to support@ablebits.com. Please include the link to this article and the number of your comment.
Thank you for your reply. I worked it out as follows:
=SUM(IF(FREQUENCY(IF(CUKD>=Settings!B8,IF(CUKT"",MATCH("~"&CUKT,CUKT&"",0))),ROW(CUKT)-ROW('Current Year UK'!A2)+1),1))+SUM(IF(FREQUENCY(IF(CUSD>=Settings!B8,IF(CUST"",MATCH("~"&CUST,CUST&"",0))),ROW(CUST)-ROW('Current Year US'!A2)+1),1))
The structure was flawed in that the criteria was being applied but not as part of the SUMIF function, at least not correctly. It was far easier instead to simply specify nested IF functions as above and push as an Array. The named ranges are simply just to reduce loading time for adjusted ranges, it will eventually become a requirement to use SQL to perform the same function, but by that point I think I will migrate from Excel altogether.
After much "Googling", this is the best treatment of this subject that I saw.
Mega-thanks to you Svetlana.
I want to use the sumifs formula but for a "text" in the sum_range. Is this possible? I have a list of products or tours, by date with a particular guide or guides. I am using sumifs to get the criteria of the date and guide name but the resulting answer is in text (product), not a numerical value. What would be the formula for sumifs for a text value?
Thanks in advance!
Hello, Robin,
It's not possible to sum text with SUMIF. The cells must contain numbers, names, arrays, or links to numbers. Empty cells and text cells are skipped.
Hi There are subject codes and grades scattered in various columns & rows in excel sheet . how can i extract counted grades & code in one cell of excel sheet jointly. FOR EXAMPLE CODE 30 GRADE A1 I WANT TO KNOW 4 Columns is there for formula help automatically count and write whole sheet how many code 30 get A1 grade manually count code 30 grade A1 is 4.please solve my problem.
chart is given below.
NAME CODE GRD CODE GRD CODE GRD CODE GRD
RAM 30 A1 41 A1 30 A1 41 A1
SHYAM 41 A1 30 A1 41 A1 30 A1
Advance thanks
As soon as possible please give reply
Hi, There are subject codes and grades scattered in various columns & rows in excel sheet. how can i extract counted grades & codes in one cell of excel sheet. For example code 30 grade A1 how to count how many 30 code get A1 grade manually count code 30 A1 grade is 4. but i want to formula help automatically count and write.Please help me. pandey5375@gmail.com
chart is given below.
NAME CODE GRD CODE GRD CODE GRD CODE GRD
RAM 30 A1 41 A1 30 A1 41 A1
SHYAM 41 A1 30 A1 41 A1 30 A1
Hi,
in my spreadsheet a column has date values. eg
F20 = 1/1/2016, G20 = 120
F21 = 1/2/2016, G21 = 80
F22 = 1/5/2016, G22 = 120
F23 = 1/6/2016, G23 = 100
F24 = 1/9/2016, G24 = 200
and it has been entered so on.
I'm querying F column for the cell having latest date value. here F24 has.
then i want to retrieve cell G24 value in corresponding row, here G24 = 200 and want to store in Cell E2.
Now as i enter new data in F25:G25, F26:G26 and so on Cell E2 should update automatically as per latest date entry in F column.
please guide here how to achieve this in Excel 2013.
Try using max(F:F) as your criterion.
can sombody tell me
how is use this
=sumproduct(K1:K10)*(L1:L10)*(O1:O10)*(P1:P10)*(B1:B10={"A","B","C")*(1)
XAX
THANK'S MAM FOR PROVIDING FANTASTIC FORMULAS TIPS............
Hello Everyone,
...Im a bit stuck on a formula. I hope I can find a solution
I have to create a price list for a bunch of products that have up to 3 different discount prices available depending on the quantity..
How do I write the formula so that the correct amount will appear?
So for example :
When buying :
- a quantity of 49 apples or less, the cost of each apple would be .20 cents each.
- a quantity of 50 - 75 apples, the cost of each apple is .10 cents
- a quantity of 76 - 120 apples, the cost of each apple becomes .5 cents...
Thank You!
Jean
=IF(A176,0.05,0.1))
Where A1 is your product quantity. Just copy down against all products.
Though, if you are discounting, you would be better off listing the full price and applying a discount rate based on cell values held elsewhere.
Dear Svetlana,
I am struggling with the following formula. I would like to sum a1:a200 if b1:b200 contains patrial text match "CMCM*" AND "CMME*" AND "CMCO*", but also if c1:c200 matches with {'sheet2'!a1:a50} (so any match in that range)
I came up with =SUMIFS($A$1:$A$200;$B$1:$B$200;{"CMCM*";CMME*";"CMCO*"};$C$1:$C$200;{'sheet2'!A1:A50}).
The issue in this is that it does sum some of the matches, but I want to sum all possibilities.
Could you help me find the right formula? I hope it is possible.
Best regards, Bram
I found out how it works. The following formula does the trick:
=SUMPRODUCT(--(ISNUMBER(MATCH($C$1:$C$200;'sheet2'!$A$1:$A$50;0)));--(ISNUMBER(MATCH($B$1:$B$200;Formula!$A$1:$A$3;0)));$A$1:$A$200)
where Formula!$A$1:$A$3 contains the partial match criteria.
please some one explain this to me
=1-SUMIFS(AG:AG,AB:AB,AB181,AE:AE,"No")/(1440*224)
Sumif does not consider case because in the examples, bananas matches Bananas.
However, does sumif match the entire cell's text? I.E. if the text being searched for was "banana" would it match "Bananas"?
I think not as I tried it in one of my spreadsheets. In order to match "grape" and "grapefruits" I used "grape*", but my results are not what I expected even then.
I got zero (for the sumif) when I didn't use the '*' wildcard, but the non-zero number I got using the wildcard(s) does not match the number I get when I use the find (button) to look for "grape" ("find" the button, finds subsets of text within the cells so it does find both Grapes and Grapefruits) and then I used "=sum()" of the found text's associated number cell).
What's even more interesting is that the non-zero number I got doesn't match the "=sum()" of ANY combination of the cells I want sumif'd!
For this sumif case it's only four cells of >400 to be summed, but there are other cases where I will need a hundred out of thousands of cells, so I'd like to figure this out.
To figure this out, how can one determine which cells a sumif is summing?
(I.E. what is it doing so I can make it do-right?)
(I don't know if it matters but I'm using Office 2011 on Mac OSX.)
I found out that selecting the cell with the formula and then going to the Formulas tab (Excel 2011) and clicking on Trace Precedents draws arrows from the cells feeding the formula. Clicking it again should show the next prior cell feeding the formula. It worked for my =cell+cell+cell+cell formula, but for my sumif it drew one arrow from the formula to the top cell of the search for text cell, ie, D1. That's it. I can't even find any cell with the number the sumif gives (1076.35).
By the way, in my case the numbers to be sumif'd are 1244.24 + 361.80 + 1047.35 + 433.35 = 3086.74, but the sumif result is 1076.35.
Hi,
The following formulas cannnot work. I tried removing (GL!$BG:$BG,CY$1:CY$2), it works. Apparently, it can't seems to add more than 1 range of cells in the formulas below. Is there any solutions to this? Appreciate your help.
=SUMPRODUCT(SUMIFS(OFFSET(GL!$D:$D,0,MATCH(CY$9&"-"&'Grp PnL'!$T$3,GL!$D$1:$BN$1,0)-1),GL!$D:$D,'Grp PnL'!$D71,GL!$C:$C,CY$3:CZ$6,GL!$BG:$BG,CY$1:CY$2))
Hello, Jacqueline,
It's hard to find the error without looking at your data. Please send us a small sample table with your data in Excel to support@ablebits.com.
Summing Across a Row?
I thought this would be relatively simple but I cannot figure a way to do it (granted I am not a superuser - yet). Here is the problem:
Given a ROW of data as follows:
A,3,B,6,A,5,A,2,B,7
I want to sum all the values which follow an A and then sum all the values which follow a B. So output would be in two cells one for A values which would equal 10 and the other for B values which would equal 13.
I tried using SUMIF array formula but maybe that is not possible. I would hate to have to use a combination of simple IFs as the rows are long and there are a lot of them so thought array formula might help. Any suggestions?
Hello, Eddie,
If the number of values in rows is fixed, you can use this formula:
=SUM(F12*IF(E12="A", 1, 0), H12*IF(G12="A", 1, 0),J12*IF(I12="A", 1, 0),L12*IF(K12="A", 1, 0),N12*IF(M12="A", 1, 0))
=SUM(F12*IF(E12="B", 1, 0), H12*IF(G12="B", 1, 0),J12*IF(I12="B", 1, 0),L12*IF(K12="B", 1, 0),N12*IF(M12="B", 1, 0))
If the rows length varies you need this array formula:
{=SUM(IF(OFFSET(B1:K1, 0, -1) = "A", 1, 0) * IF(ISNUMBER(B1:K1), B1:K1, 0))}
{=SUM(IF(OFFSET(B1:K1, 0, -1) = "B", 1, 0) * IF(ISNUMBER(B1:K1), B1:K1, 0))}
Hi,
Some thing is not right in my function ( ie 'BIN DETAIL'!Y3:Y1000,{"";"="&today()} ) it is giving me the total of one criteria instead of two creteria)
=sum(SUMIFS('BIN DETAIL'!H3:H1000,'BIN DETAIL'!I3:I1000,"",'BIN DETAIL'!X3:X1000,""&"rej",'BIN DETAIL'!Y3:Y1000,{"";"="&today()}))
Can you provide me with a basic difference between SUMIF and SUMIFS?
Thank you.
Hello Julie,
SUMIF adds up cells based on 1 criterion, SUMIFS allows for multiple criteria.
in the first chart (product, supplier).. is there a way to know for example the number of total "Apples" if I leave blank in "supplier"? in other words: if i choose a specific product and supplier, i use sumifs. BUT if i want to leave blank in supplier or product, and want to get the total (would be: blank criteria = consider all). how can I do this? thanks!!!
I would like to use the SUMIFS formula but in the criteria I would like to use the "inverse" of a criteria. For example using your example above I would to sum all items that are NOT supplied by John. This is because sometimes to specify all the criteria would be laborious!!
please help me with this
i need a formula that says
ex.
A2 B2 C2 D2
10 4 40% Not ok
if the result of c2 is equal or less than 50% put "ok" otherwise not ok. thank you very much and i will really appreciate your response.
Hi, Please see spreadsheet below. what i want to do is: Calculate the total of apples in column 1 but only if column 2 is yes.
fruit sold
apples yes
banana no
pineapple yes
pear yes
litchi no
total sold total not sold
apples
banana
pineapple
pear
litchi
Hi - I just can't figure out what to do! This is my first time using SUMIFS ... and I can't get the right answer.
Raw Data
Column A - List of Names
Column C - No. of Hours
Column D - Hour Type (Class, Coach, Administrative, etc.)
SUMMARY
Column H - Name Entered
Column J -- Need to use SUMIFS to total all hours (Column C) for the name in (Column A) that equals the name listed in Column H as long as that Hour Type is NOT "Administrative"
Thanks!!!
Hi,
EXPENSES Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
Rent 32903 23984 11990 48653 4745 1720 24218 21844 11752 30100 25235 292
Salaries 42648 18557 16997 47318 43743 12539 12315 43353 26527 17536 41008 2324
Power 12778 43341 10086 31906 17087 47991 28095 25891 16000 7763 22037 1359
Fuel 33187 25257 30246 37761 836 16396 47184 46502 8481 28548 20981 43096
I want to know Jan month Salaries, using sumifs function
I have a large spreadsheet and need an array formula to average month end stock and place it as a starting stock for the next month. I have an array formula as follows {=AVERAGE(IF(R5&G5=$R$5:$R546&$G$5:$G546,$Q$5:$Q546))} but I cant get it to average the following {=AVERAGE(IF(R5&G5=$B$5:$B546&$G$5:$G546,$Q$5:$Q546))}
As you can see I am trying to get the formula to average all in column Q only for those cells in Q that have the same value in Column B & G. I get an answer when the same value is in the same column but i.e value needed to be the same is in the same column as the range but not when I need another reference from a difference cell? I hope I've explained myself
Can someone help me with the following?:
Col A Col B
$31.39 8.25%
$97.43 8.25%
$ 5.31 6.25%
What I'm trying to do is to create a formula where if Col B is 8.25% then sum Col A and divide by 1.0825, and if Col B is 6.25% then sum Col A and divide by 1.0625. Please help. Thank you!
Hi,
Can some body help me to sum the top 10 or 15 values with multiple conditions
I have a sheet 1 with 12 tables, 1 for each month, each table has has 2 rows, engineer name and total repairs. sheet 2 (Raw Data) has a list of each repair over the year, I want to take data from this to show on sheet one how many repairs each engineer did each month. So I need a formula that will sum or count where John did 32 repairs in Jan etc, so I guess I need to set criteria to count if John, if greater than 01/01/15 if less than 31/01/15 but I can't, I triend Sumif, sumifs, countif, countifs, sumproduct, vlookup, I just get the #value error, I can get it to count engineers or dates in the entire raw data sheet but not together. Any Help would be appreciated, my formula is, =COUNTIFS('Raw Data'!A2:A1500, "176WS", 'Raw Data'!H2:H1564, ">=01/01/2015", 'Raw Data'!H2:H1564, "<=31/01/2015")