ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   sum a range (https://www.excelbanter.com/excel-discussion-misc-queries/137694-sum-range.html)

kevcar40

sum a range
 
Hi
i am trying to sum the time values of a fault against an operation
column CA hold the operation identification
column CB holds the fault
column CC holds the time values

eg
CA CB CC
op 5 limit fault 15
op 5 clamp 20
op 10 limit fault 10
op 5 limit fault 10

this should return
op 5 limit fault 25
op 5 clamp 20
op 10 limit fault 10
can anyone help with a formula

thanks

kevin


Barb Reinhardt

sum a range
 
=Sumproduct(--(CA1:CA100="op 5"),--(CB1:CB100 = "limit fault"),(CC1:CC100)

You can replace the values in "" with something like = C10 where C10 = "op
5" if you want it to be more generic. Just ensure that the ranges in each
group of () are the same length.

"kevcar40" wrote:

Hi
i am trying to sum the time values of a fault against an operation
column CA hold the operation identification
column CB holds the fault
column CC holds the time values

eg
CA CB CC
op 5 limit fault 15
op 5 clamp 20
op 10 limit fault 10
op 5 limit fault 10

this should return
op 5 limit fault 25
op 5 clamp 20
op 10 limit fault 10
can anyone help with a formula

thanks

kevin



Pete_UK

sum a range
 
Have just replied to your other post - please do not multi-post.

Pete

On Apr 3, 7:42 pm, "kevcar40" wrote:
Hi
i am trying to sum the time values of a fault against an operation
column CA hold the operation identification
column CB holds the fault
column CC holds the time values

eg
CA CB CC
op 5 limit fault 15
op 5 clamp 20
op 10 limit fault 10
op 5 limit fault 10

this should return
op 5 limit fault 25
op 5 clamp 20
op 10 limit fault 10
can anyone help with a formula

thanks

kevin





All times are GMT +1. The time now is 08:35 PM.

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