Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-21-2016, 12:18 AM
Haha88 Haha88 is offline Sumif with various conditions in the same range Windows 8 Sumif with various conditions in the same range Office 2010 32bit
Advanced Beginner
Sumif with various conditions in the same range
 
Join Date: Mar 2015
Posts: 77
Haha88 is on a distinguished road
Default Sumif with various conditions in the same range

Hi,

Another sumif issue, please help.



Workbook attached

Thanks,
Attached Files
File Type: xlsx Sumif 03.xlsx (19.5 KB, 9 views)
Reply With Quote
  #2  
Old 12-21-2016, 12:28 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Sumif with various conditions in the same range Windows 7 64bit Sumif with various conditions in the same range Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,780
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

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
Reply With Quote
  #3  
Old 12-21-2016, 06:31 AM
gebobs gebobs is offline Sumif with various conditions in the same range Windows 7 64bit Sumif with various conditions in the same range Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

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)
Reply With Quote
  #4  
Old 12-22-2016, 04:53 PM
Haha88 Haha88 is offline Sumif with various conditions in the same range Windows 8 Sumif with various conditions in the same range Office 2010 32bit
Advanced Beginner
Sumif with various conditions in the same range
 
Join Date: Mar 2015
Posts: 77
Haha88 is on a distinguished road
Default

Quote:
Originally Posted by gebobs View Post
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)
Many thanks for your help.
Is there any alternative formula?
Reply With Quote
  #5  
Old 12-23-2016, 12:03 AM
xor xor is offline Sumif with various conditions in the same range Windows 10 Sumif with various conditions in the same range Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

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.
Reply With Quote
  #6  
Old 12-23-2016, 12:27 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Sumif with various conditions in the same range Windows 7 64bit Sumif with various conditions in the same range Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,780
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

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
Reply With Quote
  #7  
Old 12-28-2016, 09:11 PM
Haha88 Haha88 is offline Sumif with various conditions in the same range Windows 8 Sumif with various conditions in the same range Office 2010 32bit
Advanced Beginner
Sumif with various conditions in the same range
 
Join Date: Mar 2015
Posts: 77
Haha88 is on a distinguished road
Default

Quote:
Originally Posted by gebobs View Post
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)
Many thanks for this. I've never used sumproduct before so this will be interesting.
Reply With Quote
  #8  
Old 12-28-2016, 09:14 PM
Haha88 Haha88 is offline Sumif with various conditions in the same range Windows 8 Sumif with various conditions in the same range Office 2010 32bit
Advanced Beginner
Sumif with various conditions in the same range
 
Join Date: Mar 2015
Posts: 77
Haha88 is on a distinguished road
Default

Quote:
Originally Posted by Pecoflyer View Post
And why are you looking for an alternative formula?
I'm still learning so am looking for an efficient way or better formula at all time. Thanks
Reply With Quote
  #9  
Old 12-28-2016, 09:15 PM
Haha88 Haha88 is offline Sumif with various conditions in the same range Windows 8 Sumif with various conditions in the same range Office 2010 32bit
Advanced Beginner
Sumif with various conditions in the same range
 
Join Date: Mar 2015
Posts: 77
Haha88 is on a distinguished road
Default

Quote:
Originally Posted by xor View Post
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.
Perfect. Many thanks.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sumif with Conditions Haha88 Excel 2 12-21-2016 12:08 AM
Sumif with various conditions in the same range Sumif based on date range Skumby Excel 2 07-28-2016 10:39 PM
Sumif with various conditions in the same range 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 various conditions in the same range 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

Other Forums: Access Forums

All times are GMT -7. The time now is 09:21 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft