Quote:
Originally Posted by Opie82
Hello,
We have a construction company with 50+ jobs where we track costs under different cost codes (i.e. plumbing, roofing). I can download data with totals for each cost code (i.e. the software has already summarized all transactions by cost code).
For each job I have up to 50 costs codes which range from 1000 to 9000. Each home will likely use completely different cost codes. I want to be able to get a total by job for just a specific range of cost codes (i.e. 4200 thru 4700)
For the example below, I want to add the codes 4300 and 4450. What is the best way to get this info?
Job Cost Code Amount
1001 1000 $2,000.00
1001 2500 $ 300.00
1001 4000 $ 600.00
1001 4300 $1,000.00
1001 4450 $ 800.00
1001 6000 $6,000.00
thru 1050
Thanks, Andy
|
I think this is what you mean.
I've included a SUMPRODUCT formula that will work in any version of Excel and a SUMIFS one that will work in 2007 or later.
There's a cell for the start and end of cost code range to make things easy to adjust to the individual job.
Let me know if that's not what you meant at all.
S.