Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
List the criteria in a range of cells.
D1:D6 = CA, DE, NJ, NY, PA, WI Then: =SUMPRODUCT(--(ISNUMBER(MATCH(A1:A5,D1:D6,0))),B1:B5) -- Biff Microsoft Excel MVP "SwtHapa8" wrote in message ... Hello, I have a similar issue. In my situation, I'm trying to say," If A1:A5 = CA or DE or NJ or NY or PA or WI, then sum B1:B5" Can anyone help? Column A Column B CA 2 NJ 3 DE 4 SC 5 TN 6 "Elkar" wrote: Try the SUMIF function: =SUMIF(A1:A3,"Apples",B1:B3) HTH, Elkar "Ben" wrote: how do you add up a series of numbers in one column using a critera of another column? Column A Column B Apples 1,112 Pears 1,548 Apples 2,544 What is the total number of apples...??? What is the right formula if(a1:a3=Apples then add B 1:b3) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need to Improve Code Copying/Pasting Between Workbooks | Excel Discussion (Misc queries) | |||
Positioning Numeric Values Resulting from 6 Column Array Formula | Excel Worksheet Functions | |||
creating a bar graph | Excel Discussion (Misc queries) | |||
Arithmetical Mode of Criteria in Multiple Non-Adjacent columns | Excel Worksheet Functions | |||
Adding total dollars based on specific data from another column | Excel Discussion (Misc queries) |