Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Good morning all,
I am using the following array formuale in my worksheet to calculate the sum of a column where one column is equal to a variable and another column is equal to "CN". My formulae keeps giving me the NUM error. This error appears even when I use the SUMPRODUCT function. Has anyone any ideas on how to amend this??? {=SUM(IF((EmployeeData!A:A=B8)*(EmployeeData!L:L=" CN"),EmployeeData!K:K))} Thanks, Ciara |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() I'd use SUMPRODUCT but either way you can't use complete column refs like A:A - switch to A1:A1000 or similar -- daddylonglegs ------------------------------------------------------------------------ daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486 View this thread: http://www.excelforum.com/showthread...hreadid=512636 |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks. It works perfectly!!!
"daddylonglegs" wrote: I'd use SUMPRODUCT but either way you can't use complete column refs like A:A - switch to A1:A1000 or similar -- daddylonglegs ------------------------------------------------------------------------ daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486 View this thread: http://www.excelforum.com/showthread...hreadid=512636 |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi Ciara.
Labels at the head of the columns might be the source of the problem. Try the following syntax. {=SUM(IF(EmployeeData!A:A=B8,If(EmployeeData!L:L=" CN",EmployeeData!K:K,0),0))} Regards Phil "CiaraG" wrote: Good morning all, I am using the following array formuale in my worksheet to calculate the sum of a column where one column is equal to a variable and another column is equal to "CN". My formulae keeps giving me the NUM error. This error appears even when I use the SUMPRODUCT function. Has anyone any ideas on how to amend this??? {=SUM(IF((EmployeeData!A:A=B8)*(EmployeeData!L:L=" CN"),EmployeeData!K:K))} Thanks, Ciara |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to use SUMIF to return sums between two values located in cells | Excel Worksheet Functions | |||
VBA reseting variables | Excel Discussion (Misc queries) | |||
How do I set up a nested SUMIF formula for a number of variables? | Excel Worksheet Functions | |||
SUMIF variables | Excel Discussion (Misc queries) | |||
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function | Excel Worksheet Functions |