473,387 Members | 1,420 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,387 software developers and data experts.

Average of multiple numbers

I am trying to establish an error pattern for a comparison. I want to ask Access to look at my database and if there is an error then I need it to calculate an average of four rates so that I can take that figure to a further calculation. Here is my needed end result: The average of the four rate types times the units equals a total that is compared to another total. I am very new and coming from a business area needing to do IT related work that I am at a loss with.
Here is the formula:
Expand|Select|Wrap|Line Numbers
  1. County Auth Cost: (IIf(([Units Authorized]="1"), Avg(([Auth FT Rate 1)+([Auth FT Rate 2])+([Auth FT Rate 3])+([Auth FT Rate 4])),Null))
Jun 8 '11 #1
4 1577
Rabbit
12,516 Expert Mod 8TB
I don't understand; you seem to already have the formula.
Jun 8 '11 #2
The formula is not working it says I have invalid arguments.
Jun 8 '11 #3
Rabbit
12,516 Expert Mod 8TB
Did you remember to group by Units Authorized?
Jun 8 '11 #4
NeoPa
32,556 Expert Mod 16PB
The Avg() function works across a domain of a single field or formula reference across multiple records. It appears you are trying to get the average of four Auth FT Rate fields within a single record. For this there is no function, yet it's a simple formula :- Simply add the values together and divide by four.
Jun 13 '11 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Bill Reed | last post by:
I'm trying to add numbers from a text file and find the average. The numbers in the file are: 25 50 75 100 I expect the result to be 62.50 but I get 85.00. I've twiddled with the condition...
6
by: jimfortune | last post by:
In: http://groups.google.com/group/comp.databases.ms-access/msg/60d7faa790c65db1 james.ea...@gmail.com said: :Ok, I've answered the first half of my own question. From a MSDN :article, I...
2
by: David Ziger | last post by:
With mysql 4.1.11, is there a way to compile the averages and standard deviations across multiple fields? Field1 Field2 Field3 Want to be able to create a new column: SELECT t.Field1,...
12
daniel aristidou
by: daniel aristidou | last post by:
hi i was wondering if it is possible to filter multiple numbers of tables at the same time. the filter would be automatically applied ie. as in a query. However i want only one list to appear...
1
by: Daikide | last post by:
I need average for my program. And I'm using it multiple time in my program. I'm doing this in PVSS: So say average float is 2.0013005 (FOR EXAMPLE) but the number in the end can be higher......
1
by: Barb.Richards | last post by:
I have created an append query that pulls information from one database, and will append the selected information into a new table. The fields are setup like 'number' 'category' 'code' 'shares' and...
0
by: Yo mama | last post by:
Hi, Is there any way to insert into table 100 integers from 1 to 100 in one insert statement? Now I have to use loop to insert numbers. I was wondering if there is the simpler way.
11
by: zj262144 | last post by:
Hi, I'm a C beginner. I want to write a C. The pseudocodes are like this: User enters some numbers (use -1 to end) The compiler find and delete the maximum and minimum numbers Then average...
2
by: mk112 | last post by:
Is there any way we could input many numbers in a Textbox and Parse it so it will read that many number, like the way we can use getchar to do this in C (for example in put : 1 2 3 and it reads...
1
by: David Aghan | last post by:
Hey, I'm trying to write a simple program that will give the average of numbers input by a user. This program has to get the user to input how many numbers as well as what the numbers are. I...
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: 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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.