Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a worksheet with 2 tabs, Sheet 1 is to be used to display the data I
have on Sheet 2. I named Sheet 2 data and have the following columns: Dealer Quantity on Invoice Description Dealer A 1 Product A Dealer B 1 Product B Dealer A 1 Product A Dealer B 1 Product A On Sheet 1 I created a list in cell A1 so I could select my Dealer. On Sheet 1 I have a list of the products starting in cell A21. I want to add quantity sold based on cell A1 that has the dealer's name (thereby compiling all the dealer's branches into 1) and by product determine what we've sold them. So, if A1=data!A:A and A21=data!C:C then sum all that matches in column data!B:B and return that amount. I've tried sumif with and statements but I just can't get it right. The closest I've come is =SUM(IF(AND(($A$1=data!A:A),(Sheet1!A21=data!C:C)) ,data!B:B)) comes back at least with a 0 and not an error message, what am I doing wrong. Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
More than 3 Conditions??? | Excel Worksheet Functions | |||
Countif Conditions - Use of conditions that vary by cell value | Excel Discussion (Misc queries) | |||
2 Conditions + Sum of a colum matching those conditions | Excel Worksheet Functions | |||
shade cells based on conditions - i have more than 3 conditions | Excel Worksheet Functions | |||
How to multiple conditions to validate more than 2 conditions to . | Excel Worksheet Functions |