473,385 Members | 1,555 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Summing a Calculated Avg

I understand that access can not sum a calculated field but am having
trouble figuring out the work around.
I have a report that averages the cost of each part number. Each part
number will have multiple unit costs that i need to get an avg, min
and max. I would like to sum these avg, min and max at the botttom of
the report.
Part Unit Cost
abc 3
abc 1

Avg 2, min 1, max 3

bdc 4
bdc 2
Avg 3, min 2, max 4
Here is what i want to figure out in the report footer
*********************************
Report Footer
Totals - Avg 5, Min 3 and Max 7

Jun 15 '07 #1
1 1575
Hello Turtle,

Try having a separate query for to calculate the values you want on the
footer, and then use DLookup there to get these values into the report.

Hope this helps,

Gary

"turtle" <ko****@vistacontrols.comwrote in message
news:11**********************@q66g2000hsg.googlegr oups.com...
>I understand that access can not sum a calculated field but am having
trouble figuring out the work around.
I have a report that averages the cost of each part number. Each part
number will have multiple unit costs that i need to get an avg, min
and max. I would like to sum these avg, min and max at the botttom of
the report.
Part Unit Cost
abc 3
abc 1

Avg 2, min 1, max 3

bdc 4
bdc 2
Avg 3, min 2, max 4
Here is what i want to figure out in the report footer
*********************************
Report Footer
Totals - Avg 5, Min 3 and Max 7

Jun 15 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Yaroslav Bulatov | last post by:
I made an array of 10 million floats timed how long it takes to sum the elements, here's what I got (millis): gcc -O2: 21 Python with numarray: 104 Python with Numeric: 302...
7
by: Hank | last post by:
I have a report-summing problem using Access 2000. When a section runs over the end of the page, sometimes a detail gets picked up twice. Example: Customer Header XYZ Company Detail Section...
13
by: Don Sealer | last post by:
I have about 40 different defects I'm tracking. I'd like to have all of these defects totaled individually, both by month and by year. I'd like to show these results in a report. I know I could...
1
by: kevcar40 | last post by:
hi i have a continuous form that conains data about a product i have the product price and the quantity available i have the calculated the total value for each product (textbox total) i now want...
4
by: King | last post by:
Hi I have two queries where in I calculated number of hours worked by an employee. Fields for the first query Meeting Id ( Auto Number ) Counselor ID ( text ) Date
0
by: King | last post by:
Hi I have 2 queries where I calculated time elapsed. In the first I calculated time spent by a employee in group meetings and in the second query, I calculated time spent by an employee in...
1
by: aharding | last post by:
Hello! I have successfuly added a calculation field to a query and inserted that field into my form. It works perfectly. I now need to be able to sum fields of that calculated data in a form...
0
by: oyk | last post by:
In the detail section of a report is a textbox (txtTimeWorked) in hour and minute format (i.e. hh nn). In the page header section, I put in a calculated textbox (txtTotalTimeWorked) with the...
7
by: lethek39 | last post by:
Hey I have been trying to figure out how to sum rows and columns in a matrix square. I also have been trying to get the program to list the numbers of the diagonal in the matrix. So far this is the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.