Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
SumIf and ranges
hr 5 10
hr 2 8 act 6 9 hr 3 6 Want to sum this range of numbers if the office department is "act". =IF((A1:A4),"act",SUMPRODUCT(B1:C4)) does not work, nor the sumif....... there has to be a creative solution! katie |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
SumIf and ranges
Try it as: =SUMPRODUCT((A1:A4="act")*B1:C4)
-- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "Katie" wrote: hr 5 10 hr 2 8 act 6 9 hr 3 6 Want to sum this range of numbers if the office department is "act". =IF((A1:A4),"act",SUMPRODUCT(B1:C4)) does not work, nor the sumif....... there has to be a creative solution! katie |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
SumIf and ranges
=SUM(INDEX((A1:A4="act")*B1:C4,))
"Katie" wrote: hr 5 10 hr 2 8 act 6 9 hr 3 6 Want to sum this range of numbers if the office department is "act". =IF((A1:A4),"act",SUMPRODUCT(B1:C4)) does not work, nor the sumif....... there has to be a creative solution! katie |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Sumif with 2 ranges & 2 criteria | Excel Worksheet Functions | |||
SUMIF ranges | Excel Worksheet Functions | |||
SUMIF using two ranges | Excel Discussion (Misc queries) | |||
SumIF Multiple Ranges | Excel Worksheet Functions | |||
SUMIF and 3-D Ranges | Excel Worksheet Functions |