Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
I have two columns eg: a 1 b 2 c 3 d 4 How do I sum all the values on the right column if the column on the left does not equal (for example) a and b - leading to 7? Ideally, the data of things not to include shoud be a range. Many thanks in advance. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
One way:
=SUM(B1:B4)-SUMIF(A1:A4,"a",B1:B4)-SUMIF(A1:A4,"b",B1:B4) -- HTH Sandy with @tiscali.co.uk "Gooseman" wrote in message oups.com... Hi, I have two columns eg: a 1 b 2 c 3 d 4 How do I sum all the values on the right column if the column on the left does not equal (for example) a and b - leading to 7? Ideally, the data of things not to include shoud be a range. Many thanks in advance. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() Try =SUMPRODUCT(1-ISNUMBER(MATCH(A1:A4,F1:F10,0)),B1:B4) where F1:F10 is a range containing the items not to include -- daddylonglegs ------------------------------------------------------------------------ daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486 View this thread: http://www.excelforum.com/showthread...hreadid=529022 |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=SUMPRODUCT(--(NOT(ISNUMBER(MATCH(A1:A4,K1:K2,0)))),B1:B4)
-- HTH Bob Phillips (remove nothere from the email address if mailing direct) "Gooseman" wrote in message oups.com... Hi, I have two columns eg: a 1 b 2 c 3 d 4 How do I sum all the values on the right column if the column on the left does not equal (for example) a and b - leading to 7? Ideally, the data of things not to include shoud be a range. Many thanks in advance. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using Match function with duplicate values in an array | Excel Worksheet Functions | |||
Index and Match Array formula | Excel Worksheet Functions | |||
Array index, match problem | Excel Worksheet Functions | |||
Match / Vlookup within an Array formula | Excel Discussion (Misc queries) | |||
Find a match that;s not exact | Excel Worksheet Functions |