Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / September 2006

Tip: Looking for answers? Try searching our database.

Sum if

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Arne Hegefors - 22 Sep 2006 15:20 GMT
I want to check the column B2 to B265. If observations in that column are
smaller than A2 then I want to sum them up. The sum is then placed in C.
Please help me out!

SUM.IF($B$2:$B$265;<A2;$C$2:$C$265)

Thanks alot!
Don Guillett - 22 Sep 2006 16:07 GMT
=sumproduct((b2:b265<a2),c2:c265)

Signature

Don Guillett
SalesAid Software
dguillett1@austin.rr.com

>I want to check the column B2 to B265. If observations in that column are
> smaller than A2 then I want to sum them up. The sum is then placed in C.
[quoted text clipped - 3 lines]
>
> Thanks alot!
Dave Peterson - 22 Sep 2006 16:33 GMT
In the USA version, I'd use:

=SUMIF($B$2:$B$265,"<"&A2,$C$2:$C$265)

so maybe:

=SUM.IF($B$2:$B$265;"<"&A2;$C$2:$C$265)

> I want to check the column B2 to B265. If observations in that column are
> smaller than A2 then I want to sum them up. The sum is then placed in C.
[quoted text clipped - 3 lines]
>
> Thanks alot!

Signature

Dave Peterson

tplourde - 22 Sep 2006 17:16 GMT
Assuming you want one total, try this formula in cell C2 and put the less
than formula e.g.( <23) in cell A2.
=SUMIF(B2:B265,A2)

Assuming you want a running total in column C, then place this formula in
cell C2 and copy it down column C.  Make sure cell C1 is equal to -0-.  In
this case cell A2 would be just a value e.g.(23).
=IF(B2<$A$2,C1+B2,C1)

Happy Trails

> I want to check the column B2 to B265. If observations in that column are
> smaller than A2 then I want to sum them up. The sum is then placed in C.
[quoted text clipped - 3 lines]
>
> Thanks alot!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.