Boreal2009
Registered User.
- Local time
- Today, 00:44
- Joined
- Oct 5, 2009
- Messages
- 10
Hello all,
I am attempting to calculate the average of 7 fields of data (eg: DataColumn1, DataColumn2, etc...). The average field (DataColumnAVG) is included in the same table as the input data.
I need the average to calcuate the same way that excel calculates an average of data cells - that is, null values must be ignored. Example: DataColumn1=0.5, Datacolumn2=0.3, DataColumn3=0.6, DataColumn4 thru 7 = null. DataColumnAVG = (0.5+0.3+0.6)/3.
I am currently trying to do this via an update query using the build function. Please be aware that I have no experience with VB code and that I am trying to do this in a GUI format. If this is not possible in a GUI world, explicit step by step directions would be needed for me to do this via VB code.
Thanks in advance for any help!
I am attempting to calculate the average of 7 fields of data (eg: DataColumn1, DataColumn2, etc...). The average field (DataColumnAVG) is included in the same table as the input data.
I need the average to calcuate the same way that excel calculates an average of data cells - that is, null values must be ignored. Example: DataColumn1=0.5, Datacolumn2=0.3, DataColumn3=0.6, DataColumn4 thru 7 = null. DataColumnAVG = (0.5+0.3+0.6)/3.
I am currently trying to do this via an update query using the build function. Please be aware that I have no experience with VB code and that I am trying to do this in a GUI format. If this is not possible in a GUI world, explicit step by step directions would be needed for me to do this via VB code.
Thanks in advance for any help!