tough conditional summing?

farnuckl

Board Regular
Joined
Dec 16, 2003
Messages
127
i have a sheet where i am tracking data. the first column is the date and has job volumes in it. the next column is the hold column: if the job isn't done i put an "x" for that job and it is not summed in the date column(using sumif). next to that i have the completed column. here i put the date the job is completed. so there is three columns for each work day in the month.

i would like to have the corresponding job volume be summed into the total for the date specified in the completed column.

i wouldn't mind being able to combine the hold and completed columns if possible.

i have no VBA experience but wouldn't mind an excuse to learn if necessary.
anything to even get me in the right direction would be appreciated.

thanks.
 
probs re the html maker have been discussed in the 'about this board' forum - do a search.

& fwiw, your data design doesn't help! search the web for info on normalisation & first normal form.
 
Upvote 0

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
ok, i got html lite to work. here it is.

kathleen, i didn't get a message from you. ???

PaddyD, i looked at articles on normalization but i dont see how they would apply for me. i have jobs a,b,c... everyday. the size of the job needs to be recorded for each day. and the status of the job needs to be recorded each day along with any change in that status. i don't see how i could simplify. this is more of a checklist than a database. i could be wrong i guess...
Book1.xls
EFGHIJK
19job1/2/04holdfinish1/3/04holdfinish
20a1072
21b75x1/3198
22c453
23d1208x
24e29
25f02
26g4x7
27h00
28I30
29j17x
30k2926
31total307247
32hold jobs22
3375<--I want this summed into the total for 1/3.
34This is easy enough for two days but the 30th
35needs to check all the days before it for jobs that
36were held and finished on the 30th.
Sheet5
 
Upvote 0
Hi farnuckl:

In reference to your 20 January 2004 16:36 post, please explain clearly what does your data represent, what you are trying to accomplish, and is 75 the right answer for what you are looking for, and an explanation as to why that is the correct answer.
 
Upvote 0
ok, first of all thanks. (y)

(The sheet is basically a checklist to track the processing of incoming jobs.)
This is a sheet that will track jobs through the production process. I receive jobs everyday that contain a number of records. The job names are always the same, their size varys from day to day. The size of the job is recorded for each day. This is job a,b,c,etc... For various reasons, sometimes a job is not done the day it is received. This job is held by putting an "x" in the "hold" column. This removes it from the total records processed for the day. When the job does get done, the finish date is recorded in the "finish" column.

HERE'S THE PROBLEM: I want to have the records from hold jobs that are finished on a later date included in the later date's total records processed for the day.

So from the example: job b from 1/2 was held. The total records for 1/2 does not include this number. job b from 1/2 was completed on 1/3. The total records on 1/3 needs to include not only the jobs received and processed on 1/3 but hold jobs finished on 1/3 as well. So the 75 held from 1/2 should be summed with the total for 1/3.
This can be done simply with the formulas I have for the two days. The problem with the methods I used it that the total records equations for 1/30 needs to look at all the previous days to see if an old job was finished on the 30th this would mean 20 formulas checking all the previous workdays..

Hope I was detailed enough.

Thanks again. :pray:
 
Upvote 0
Hi farnuckl:

This is based on what you have presented so far ...
y040128h1a.xls
EFGHIJK
19job01/02/2004holdfinish01/03/2004holdfinish
20a1072
21b75x03-Jan198
22c453
23d1208x
24e29
25f02
26g4x7
27h00
28I30
29j17x
30k2926
31total307247
32holdJobs22
3377
Sheet16


I have used the following formula in cell I33 ... =SUMIF(H20:H30,"1/3",F20:F30)+OFFSET(I33,-1,1)

As far as cumulative summing to the end of the month --you are the architect of the worksheet -- you may have to change the layout of the sheet as needed to facilitate the computations you need to make. Go ahead, prepare the layout, make the computations, and if you run into a problem -- post back with details and then let us take it fom there.
 
Upvote 0
ok. sorry, but its not quite what i was looking for. i've simplified my example and added more stages to ease manual calculation to see what exactly is going on. perhaps i could just use it as is but the problem still remains: how can i make a formula like the one in H9 "hold records finished" for the 30th that wouldn't take up half my screen? is there a way to array the formula for all the days.
the formula for the 30 will look at each "finish" column for 1/30 and sum the corresponding number of records into the total records finished on the 30th.
Book1.xls
ABCDEFGHIJ
1product1/2/04holdfinish1/3/04holdfinish1/4/04holdfinish
2A111
3B1x1/411
4C11x1/41
5D111
6daily records finished334
7jobs held110
8records held11
9hold records finished2
10total records finished6
11age (days)
121
131/3/04
14There are 0 jobs past 1 days
online
 
Upvote 0

Forum statistics

Threads
1,214,523
Messages
6,120,039
Members
448,940
Latest member
mdusw

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top