#1
|
|||
|
|||
Sumif with various conditions in the same range
Hi,
Another sumif issue, please help. Workbook attached Thanks, |
#2
|
||||
|
||||
Hello
Although there is no official rule regarding this behavior,it is advised that wherever possible both the question AND the answer be provided in substantive detail here within the thread. An attached workbook is an excellent aid for posing a question and offering a solution, but solely doing that with no in thread explanation makes it difficult for researchers to understand or consider the Q & A of this thread without downloading what may be a pointless doc to them, if they can do that at all. Doing that also hides the content from search engines so others may never benefit from this.
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#3
|
|||
|
|||
What haha is trying to do is to sumif a column based on two criteria in another. That's quite easy. Just make to sumifs, one with each criteria, and add them together.
In his sheet, he has an equation he wants to work: =sumif(G:G,"Groups 3rd" and "FTI 3rd",F;F) That should be: =sumif(G:G,"Groups 3rd",F:F) + sumif(G:G,"FTI 3rd",F:F) |
#4
|
|||
|
|||
Quote:
Is there any alternative formula? |
#5
|
|||
|
|||
Alternative (but hardly any better) formula:
=SUMPRODUCT(($G$2:$G$1000="Groups 3rd")+($G$2:$G$1000="FTI 3rd"),$F$2:$F$1000) SUMIFS cannot handle OR-conditions. Please be aware that you should never use full column references (as G:G) i array- or array-like formulas (like SUMPRODUCT), but adjust the range to what is needed. |
#6
|
||||
|
||||
And why are you looking for an alternative formula?
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#7
|
|||
|
|||
Quote:
|
#8
|
|||
|
|||
I'm still learning so am looking for an efficient way or better formula at all time. Thanks
|
#9
|
|||
|
|||
Quote:
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sumif with Conditions | Haha88 | Excel | 2 | 12-21-2016 12:08 AM |
Sumif based on date range | Skumby | Excel | 2 | 07-28-2016 10:39 PM |
Name a Range in a Word Document and then copy that range to the end of the doc w button click | DanNatCorning | Word VBA | 1 | 04-29-2016 10:47 PM |
Sumif with multiple sum range | Haha88 | Excel | 6 | 10-29-2015 03:26 AM |
HELP - SUMIF more than 3 conditions + operations in the sum | romelsms123 | Excel | 0 | 06-23-2014 09:59 AM |