ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   conditional sum 2007 help please (https://www.excelbanter.com/excel-discussion-misc-queries/220007-conditional-sum-2007-help-please.html)

Rich

conditional sum 2007 help please
 
I have a table of customers items due dates etc and want to use the
conditional sum wizard to sum by account number (Column A, Table5) to sum the
overdue value by no days overdue, this works fine if I enter the account
number in the formula but I would like to enter this account number in a cell
eg A2 so that i do not have to keep changing the formula. Any help would be
greatly appreciated. Thanks

Not working
=SUM(IF($A$20:$A$20000="A2",IF($L$20:$L$20000=1,I F($L$20:$L$20000<=30,$G$20:$G$20000,0),0),0))

Working formula
=SUM(IF($A$20:$A$20000="300099999",IF($L$20:$L$200 00=1,IF($L$20:$L$20000<=30,$G$20:$G$20000,0),0),0 ))

Pecoflyer[_144_]

conditional sum 2007 help please
 

Rich;222543 Wrote:
I have a table of customers items due dates etc and want to use the
conditional sum wizard to sum by account number (Column A, Table5) to
sum the
overdue value by no days overdue, this works fine if I enter the
account
number in the formula but I would like to enter this account number in
a cell
eg A2 so that i do not have to keep changing the formula. Any help
would be
greatly appreciated. Thanks

Not working
=SUM(IF($A$20:$A$20000="A2",IF($L$20:$L$20000=1,I F($L$20:$L$20000<=30,$G$20:$G$20000,0),0),0))

Working formula
=SUM(IF($A$20:$A$20000="300099999",IF($L$20:$L$200 00=1,IF($L$20:$L$20000<=30,$G$20:$G$20000,0),0),0 ))


Hi
Or change to
=SUM(IF($A$20:$A$20000=A2,IF($L$20:$L$20000=1,I
F($L$20:$L$20000<=30,$G$20:$G$20000,0),0),0)) no quotes around A2, or
=SUMproduct(($A$20:$A$20000=A2)*($L$20:$L$20000=1 )*($L$20:$L$20000<=30)*$G$20:$G$20000)


--
Pecoflyer

Cheers -
*'Membership is free' (http://www.thecodecage.com)* & allows file
upload -faster and better answers

*Adding your XL version* to your post helps finding solution faster
------------------------------------------------------------------------
Pecoflyer's Profile: http://www.thecodecage.com/forumz/member.php?userid=14
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=61465



All times are GMT +1. The time now is 11:46 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com