0% found this document useful (0 votes)
180 views7 pages

Subtotal and Sumif Combination Help

Subtotal and Sumif Combination Help

Uploaded by

vietpine
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
180 views7 pages

Subtotal and Sumif Combination Help

Subtotal and Sumif Combination Help

Uploaded by

vietpine
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

UserName

Password

Login

Help

Register

RememberMe?

Forum
BoardFAQ

Forum

SearchNewPosts
ForumActions

ZeroReplyPosts

SubscribedThreads

MrExcelConsulting
AdvancedSearch

QuickLinks

QuestionForums

ExcelQuestions

SubtotalandSumifcombinationhelp

BecomeaRegisteredMember(free)toremovetheadthatappearsinthetoppost.
Ifthisisyourfirstvisit,besuretocheckouttheFAQbyclickingthelinkabove.Youmayhavetoregisterbeforeyoucanpost:clicktheregisterlinkabove
toproceed.Tostartviewingmessages,selecttheforumthatyouwanttovisitfromtheselectionbelow.
Clickheretoresetyourpassword.YouMUSThaveavalidemailaddresssothatyoumayreceivetheinstructionstocompletethereset.
Results1to10of27

Page1of3 1 2 3

Last

SubtotalandSumifcombinationhelp
ThisisadiscussiononSubtotalandSumifcombinationhelpwithintheExcelQuestionsforums,partoftheQuestionForums
categoryAlright,Ineedhelpcombiningtwoformulas.Whatweneedistosubtotalarangebasedonacriteriaand...
LinkBack

SubtotalandSumifcombinationhelp

NewMember
JoinDate:
Posts:

Jun2009
35

Display

#1

Feb17th,2011,10:05AM

Sourkraut

ThreadTools

Alright,Ineedhelpcombiningtwoformulas.
Whatweneedistosubtotalarangebasedona
criteriaandweneedthatsubtotaltochangewhen
therangeisfiltered.
Wehavetwoformulasthatworkseperatelybutwe

needtocombinethemintoone.
=SUBTOTAL(9,Summary!H3:H39)
=SUMIF(Summary!F3:F39,B35,Summary!H3:H39)
B35=Thenamewe'retryingreference
ColumnFisthecolumnthatwouldholdthatname
ColumnHhasthevalueswewanttosum

Share
ReplyWithQuote

#2

Feb17th,2011,10:09AM

barryhoudini
MrExcelMVP
Moderator

Re:SubtotalandSumifcombinationhelp
Trylikethis
=SUMPRODUCT(SUBTOTAL(9,OFFSET(Summary!F3,ROW(Summary!F3:F39)
ROW(Summary!F3),0)),(Summary!H3:H39=B35)+0)

JoinDate:
Location:
Posts:

Mar2005
England
20,447
Share
ReplyWithQuote

#3

Feb17th,2011,10:21AM

Sourkraut

Re:SubtotalandSumifcombinationhelp

NewMember
JoinDate:
Posts:

Jun2009
35

Didn'tworkbutwe'rejustgoingtotryanimplentaworkaroundsincewe'rekindaona
deadline.Thankstho!

Share
ReplyWithQuote

#4

Feb17th,2011,10:25AM

barryhoudini
MrExcelMVP
Moderator

Re:SubtotalandSumifcombinationhelp
SorryIgottherangesthewrongwayround,thisshouldfixit.....
=SUMPRODUCT(SUBTOTAL(9,OFFSET(Summary!H3,ROW(Summary!H3:H39)
ROW(Summary!H3),0)),(Summary!F3:F39=B35)+0)

JoinDate:
Location:
Posts:

Mar2005
England
20,447
Share
ReplyWithQuote

#5

Feb17th,2011,10:36AM

Sourkraut

Re:SubtotalandSumifcombinationhelp

NewMember
JoinDate:
Posts:

Jun2009
35

You'retheman!Thankssomuch

Share
ReplyWithQuote

#6

Nov28th,2012,04:24AM

rangu

Re:SubtotalandSumifcombinationhelp

NewMember
JoinDate:
Posts:

Nov2012
3

HI,
=SUMIFS($F$12:$F$1048576,$A$12:$A$1048576,$E2,$I$12:$I$1048576,C$2)

=SUBTOTAL(9,$F$12:$F$677)
IneedanhelptoCOMBINEABOVEFORMULAINASINGLECELLsopleasehelp

Share
ReplyWithQuote

#7

Dec20th,2012,11:28AM

T.Valko

Re:SubtotalandSumifcombinationhelp

BoardRegular

OriginallyPostedbyrangu

HI,
JoinDate:
Location:
Posts:

May2009
Pittsburgh
16,248

=SUMIFS($F$12:$F$1048576,$A$12:$A$1048576,$E2,$I$12:$I$1048576,C$2)
=SUBTOTAL(9,$F$12:$F$677)
IneedanhelptoCOMBINEABOVEFORMULAINASINGLECELLsopleasehelp

Kindofabelatedreply...
Likethis:
=SUMPRODUCT(($A$12:$A$677=$E2),
($I$12:$I$677=C$2),SUBTOTAL(9,OFFSET($F$12,ROW($F$12:$F$677)ROW(F$12),0)))

Share

.
Biff
MicrosoftMVPExcel
UsingExcel2002,2007:2013
KISSKeepItSimpleStupid
ReplyWithQuote

#8

Mar31st,2013,08:18AM

Sachin2k6
BoardRegular

Re:SubtotalandSumifcombinationhelp
Whatisthemeaningof''sign.Ithinkitistomultiplytheresultwith1butwhy???

JoinDate:
Location:
Posts:

Mar2012
India
352
Share

IuseExcel2007withWindowsxp.
ReplyWithQuote

#9

Mar31st,2013,08:20AM

VoG
MrExcelMVP

Re:SubtotalandSumifcombinationhelp
Forexample
$A$12:$A$677=$E2

JoinDate:
Location:
Posts:

Jun2002
127.0.0.1
63,652

givesanarrayofFalse/True.Thecoercesthatintoanarrayof0/1thatSUMPRODUCTcan
process.

Share

HTH,Peter
Pleasetestanycodeonacopyofyourworkbook.

ReplyWithQuote

#10

Mar31st,2013,08:22AM

AladinAkyurek
MrExcelMVP

Re:SubtotalandSumifcombinationhelp
Placeholder

OriginallyPostedbySachin2k6

Whatisthemeaningof''sign.Ithinkitisto
multiplytheresultwith1butwhy???
JoinDate:
Location:
Posts:

Feb2002
TheHague,NL
76,135

Findlastcellwithdataasformular

Share
Assumingtoomuchandqualifyingtoomucharetwofacesofthesameproblem.

ReplyWithQuote

Page1of3 1 2 3

PreviousThread|NextThread
Likethisthread?Shareitwithothers

Twitter
LinkedIn
Google
Reddit
StumbleUpon

PostingPermissions

Youmaynotpostnewthreads
Youmaynotpostreplies
Youmaynotpostattachments
Youmaynotedityourposts

BBcodeisOn
SmiliesareOn
[IMG]codeisOn
[VIDEO]codeisOff
HTMLcodeisOn
TrackbacksareOn

PingbacksareOn
RefbacksareOn
ForumRules

Last

vB4DefaultStyle

ContactUs AskMr.ExcelTipsandSolutionsforExcel PrivacyStatement TermsofService Top

AlltimesareGMT4.Thetimenowis12:42AM.
PoweredbyvBulletinVersion4.2.3
Copyright2016vBulletinSolutions,Inc.Allrightsreserved.
AllcontentsCopyright19982016byMrExcelConsulting.

You might also like