Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a long list of transactions based on departments that is always
changing. A department can make more then one transaction so that department number can appear more then once in a file. I want a function that will sum the amount of an item used by each department. ie. Department Amount 50010 10.00 50010 15.00 50012 20.00 50010 6.00 ect.. Problem I am facing is I don't know which departments will be making transactions for the week so i can't use the simple sumif with the criteria being a certain department number. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try using a Pivot Table:
From the Excel Main Menu: <Data<Pivot Table Use: Excel..Click [Next] Select your data..Click [Next] Click the [Layout] button ROW: Drag the DEPARTMENT field here COLUMN: (leave this area blank) DATA: Drag the AMOUNT field here If it doesn't list as Sum of AMOUNT...dbl-click it and set it to Sum Click [OK] Select where you want the Pivot Table.Click [Finish]. That will list each DEPARTMENT and the sum of AMOUNT. To refresh the Pivot Table, just right click it and select Refresh Data Is that something you can work with? Post back if you have more questions. -------------------------- Regards, Ron (XL2003, Win XP) Microsoft MVP (Excel) "Terry" wrote in message ... I have a long list of transactions based on departments that is always changing. A department can make more then one transaction so that department number can appear more then once in a file. I want a function that will sum the amount of an item used by each department. ie. Department Amount 50010 10.00 50010 15.00 50012 20.00 50010 6.00 ect.. Problem I am facing is I don't know which departments will be making transactions for the week so i can't use the simple sumif with the criteria being a certain department number. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to nest a left function within a sumif function? | Excel Worksheet Functions | |||
Using the TODAY() function in a SUMIF function | Excel Worksheet Functions | |||
How do I use the TODAY function with the SUMIF function? | Excel Worksheet Functions | |||
SUMIF Function Inside SUMPRODUCT Function | Excel Worksheet Functions | |||
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function | Excel Worksheet Functions |