Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
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 |
#2
![]() |
|||
|
|||
![]() Quote:
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. |
#3
![]() |
|||
|
|||
![]() Quote:
I've attached a partial example of the database and the summary where I want to pull the results to. There are 5 different sample jobs shown on the data page (out of 50+). Only the green highlighted lines meet the criteria. I want the answers to come to the summary tab going across columns. Unfortunately I'm working with the 2003 version. Thanks, Andy |
#4
![]() |
|||
|
|||
![]() Quote:
Have a look at the attached now. I changed the formatting on Column E of the "JC data" worksheet so the values are numbers and added the extra condition to the formula I provided before. Is that of any use to you? Worth noting that you have two jobs with the number 1003 so that value gets duplicated in the first and last job column. |
#5
![]() |
|||
|
|||
![]() Quote:
|
#6
![]() |
|||
|
|||
![]()
Pleasure was all mine, Andy. Happy to help.
Thanks for the feedback.:) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VLOOKUP & SUMIF | Excel Worksheet Functions | |||
SumIf and Vlookup together? | Excel Worksheet Functions | |||
Sumif or vlookup | Excel Worksheet Functions | |||
Vlookup + sumif , but how???? | Excel Worksheet Functions | |||
sumif or vlookup help | Excel Worksheet Functions |