Hi,
Taking this example as base:
http://www.alchemex.com/blog/excel-t...mifs-function/
If I wanted to SUMIFS all the January and February of the East Coast, would it be possible just by adding something on criteria 1?
Thanks.
Hi,
Taking this example as base:
http://www.alchemex.com/blog/excel-t...mifs-function/
If I wanted to SUMIFS all the January and February of the East Coast, would it be possible just by adding something on criteria 1?
Thanks.
kriggs, welcome to the forum. You would add a 2nd criteria, by using a comma after "criteria1".
Hope this helps.
Brendan.
__________________________________________________________________________________________________
Things to consider:
1) You can thank any poster by clicking the * at the left of a helpful post.
2) You can help to keep the forum tidy by marking your thread as "Solved", if it has been answered to your satisfaction.
3) Help us to help you, by uploading a sample workbook, showing the type of data you're dealing with, and clearly indicating what the results should be.
Perhaps use Sumproduct:
Formula:Please Login or Register to view this content.
If solved kindly remember to mark Thread as solved.
Click the small star icon at the bottom left of my post if this was useful.
Hi,
Rather than using the wizard for building a SUMIFS function one way:
=SUMIFS(C4:C17,A4:A17,"January",B4:B17,"East Coast")+SUMIFS(C4:C17,A4:A17,"February",B4:B17,"East Coast")
Richard Buttrey
RIP - d. 06/10/2022
If any of the responses have helped then please consider rating them by clicking the small star icon below the post.
another way
=SUM(SUMIFS(C4:C17,A4:A17,{"January","February"},B4:B17,"East Coast"))
Josie
if at first you don't succeed try doing it the way your wife told you to
I assume that you are aware that Pivot Tables are very efficient at this type of work. Just checking.
This array formula will also work:Formula:Please Login or Register to view this content.
<----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left
If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.
And just for the heck of it, here's another way to write that:
=SUM(IF(A4:A17={"January","February"},IF(B4:B17="East Coast",C4:C17)))
Array entered.
Biff
Microsoft MVP Excel
Keep It Simple Stupid
Let's Go Pens. We Want The Cup.
Thanks everyone, kbkumar and Richard Buttrey, your options work but my main SUMIFS formula is already 150chars long, and I need it the last criteria to evaluate to 8 diferent words, so the cell would be with around 1200chars, something impractical.
JosephP, BB1972, it worked, but only with static values, how could I evaluate the values to a cell, ex. leaving January and Fabruary in D1 and D2, and the criteria be {D1,D2}? This throws me an error.
Jacc, daddylonglegs and Tony, I've tried alot but those aren't working, they never sum for me, it gives a !value ou 0
you can use sumproduct then
=SUMPRODUCT((ISNUMBER(MATCH(A4:A17,D1:D15,0)))*(B4:B17="East Coast")*C4:C17)
For the time beeing this is the criterias, texts and formulas are in portuguese
SoMASES = SUMIFS
; = ,
=SOMASES('Movimentacao Estacas'!$G$1:$G$40;'Movimentacao Estacas'!$F$1:$F$40;C$2;'Movimentacao Estacas'!$E$1:$E$40;$A3;'Movimentacao Estacas'!$D$1:$D$40;Estoque!$A$1:$K$1)
It's 4 criterias, just that one left for it to be functional.
That's what I needed JoshepP, I'll try to implement the other criterias in it now.
---------------------
JoshephP
Managed to make it work, but it doens't accept a table collunm name as entry, ex.: "Table1[Region]", no problem tough, thanks!
Last edited by kriggs; 03-26-2013 at 12:46 PM.
it will take a column name-how did you do it and what problem did you have?
With the range formula in the above options, use Ctrl+Alt+Enter when entering into the cell, this should fix your problem.
Handy things to keep in mind:
Click *, if my suggestion has helped you
If your problem is solved, then please mark the thread as SOLVED
Sharing is Caring .... spread the knowledge
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks