![]() |
|
#1
|
|||
|
|||
![]()
***question is for excel 2003***
In the attached spreadsheet, i'm having problems getting the total hours and amount based on a certain account number. I would like to sum the total hours and amount for account number 9 ONLY. And everything other than acct 9, sum as well. Any help would be greatly appreciated. Thanks! |
#2
|
||||
|
||||
![]()
To get the sum of column D (hours) where column B (account number) is 9, you can use this formula in cell D12:
Code:
=SUMIF(B4:B9,9,D4:D9) Code:
=SUMIF(B4:B9,9,E4:E9) To get the sum of column D (hours) where column B (account number) is not equal to 9, you could use either of these formulas: Code:
=SUMIF(B4:B9,"<>9",D4:D9) =D14-D12 To get the sum of column E (hours) where column B (account number) is not equal to 9, you could use either of these formulas: Code:
=SUMIF(B4:B9,"<>9",E4:E9) =E14-E12 Code:
=SUMIF(B4:B9,C12,D4:D9) =SUMIF(B4:B9,C12,E4:E9) =SUMIF(B4:B9,"<>"&C12,D4:D9) =SUMIF(B4:B9,"<>"&C12,E4:E9) |
![]() |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
lawnG | Word Tables | 1 | 01-31-2011 03:50 PM |
Creating Lookup in Excel | vikash kumar | Excel | 2 | 12-06-2010 06:50 AM |
![]() |
Grapejuice | Excel | 2 | 10-15-2008 02:02 PM |
Please help with Sum formula to add totals by State! asap | dutch4fire23 | Excel | 0 | 07-28-2006 12:41 PM |
![]() |
Robin12265 | Outlook | 2 | 06-04-2006 10:38 AM |