Basically here is what my table looks like. I have 30 test cases the involve downloading software to 8 different computers. Each set of software has either 2 or 4 distinct parts (DL1-DL4). Case 1 involves downloading 2 pieces of software, case 2 involves downloading 4 different pieces, however, since the database is going to be a template for future testing, all the cases are setup to record 4 different pieces. To make this a little more complicated DL1 can further be broken into three more parts. For each piece of software downloaded there is a start and completion time. <br> The table that holds this data is pretty messy (this is the first large database that i have setup). For each case the table looks like this:<br><br>Case# - Comp1DL1Start,Comp1DL1Complete,Comp1DL2Start,Comp1DL2Complete...Comp8DL4Start, Comp8DL4Complete.<br><br> There is also a form that was set up to make the data entry process easier (this form mirrors old data sheets that have the computers 1-8 listed across the top and the start and completion times for each of the four donwloads listed down the side.)<br><br> I have developed a set of queries that isolate the downloads into their specific parts (query 1 lists the duration of DL1 for all 8 computers and all 30 cases and so on). Based on this query I want to be able to get the average download time for DL1...DL4 for each case(case average) and the overall average of DL1...DL4 (the average of the case averages). <br> <br> For DL2,DL3,andDL4 there are no problems with averaging the data. The problem occurs with DL1 because in certain cases all three parts are being downloaded to seperate computers. In my data base I have seperated these cases into three different parts and entered the data into the table that way (this way if the user wants to view only DL1-1, it can be done with out confusion). I have a problem when I am trying to average in these particular cases because using (Comp1+...+Comp8/8) contains several null values. In these particular cases DL1-1 uses computers 1 and 2 (DL1-2 uses 3-6 and DL1-3 uses 7 and 8). <br><br> Since this pattern holds I am trying to develop a way that will average both the cases that have all 8 computers being used and the cases that have fewer computers used and display them in the same field called "average".<br> This code won't work but it shows a little clearer what I mean:<br> ((Comp1+...Comp8)/8) and (Comp1+Comp2)/2 AS Average<br><br>Is there a way to do this?<br><br>This could probably be the most unclear explination possible but I hope it helps a little more.<br><br><br>Thanks, Jason