Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On the first sheet (the one with name - column A, product category - column
B, and product - column C) place the following formula in column D to get sales. =SUMPRODUCT(--(Sheet5!$A$2:$A$4=$C2),Sheet5!$B$2:$B$4) Where Sheet 5 is where you have your other information (Product - column a, Sales - column b, and cost - column c). The below formula will you get you cost. =SUMPRODUCT(--(Sheet5!$A$2:$A$4=$C2),Sheet5!$C$2:$C$4) Hope this helps. Bill Horton "Jason_Shanghai" wrote: Hi, I have two worksheets, first one with "name", "product category", and "product", second one with "product" (sames as the first sheet product), "sales", "cost". How can I sum up the "sales" and "cost" by the "product category" with the least effort. (VB is not allowed :) -- Jason Wanna be an Excel Expert |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
From several workbooks onto one excel worksheet | Excel Discussion (Misc queries) | |||
Impoting data from Sheet 1 to Sheet 2 | Excel Discussion (Misc queries) | |||
Merger Two Data Sheet | Excel Discussion (Misc queries) | |||
Pulling data from 1 sheet to another | Excel Worksheet Functions | |||
pull data from sheet two, then fill in the data to sheet one (part | Excel Worksheet Functions |