PC Review


Reply
Thread Tools Rate Thread

averaging 32 fields

 
 
=?Utf-8?B?dGVl?=
Guest
Posts: n/a
 
      15th Jul 2006
HP6=AVERAGE(H6,N6,U6,AB6,AI6,AP6,AW6,BD6,BK6,BR6,BY6,CF6,CM6,CT6,DA6,DH6,DO6,DV6,EC6,EJ6,EQ6,EX6,FE6,FL6,FS6,FZ6,GG6,GN6,GU6,HB6,HI6,)

The program will not let me include HB6 and HI6. I have to stop at GU6
because I can only average 30 fields.

I recently asked this question and Bif told me to post the formula.

Thanks
 
Reply With Quote
 
 
 
 
Niek Otten
Guest
Posts: n/a
 
      15th Jul 2006
Set up a range (for example B1 to B32):

=H6
=N6
=U6

etc

Then use =AVERAGE(B1:B32)

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"tee" <(E-Mail Removed)> wrote in message news:5605EB72-B863-493D-84C8-(E-Mail Removed)...
|
HP6=AVERAGE(H6,N6,U6,AB6,AI6,AP6,AW6,BD6,BK6,BR6,BY6,CF6,CM6,CT6,DA6,DH6,DO6,DV6,EC6,EJ6,EQ6,EX6,FE6,FL6,FS6,FZ6,GG6,GN6,GU6,HB6,HI6,)
|
| The program will not let me include HB6 and HI6. I have to stop at GU6
| because I can only average 30 fields.
|
| I recently asked this question and Bif told me to post the formula.
|
| Thanks


 
Reply With Quote
 
RagDyeR
Guest
Posts: n/a
 
      15th Jul 2006
It's best if you stay in the original thread so others can see what has
previously been suggested.

Anyway, do you have a typo, or is it intentional that you start off with 6
columns, and then switch to every 7 columns?

--

Regards,

RD
----------------------------------------------------------------------------
-------------------
Please keep all correspondence within the Group, so all may benefit !
----------------------------------------------------------------------------
-------------------



"tee" <(E-Mail Removed)> wrote in message
news:5605EB72-B863-493D-84C8-(E-Mail Removed)...
HP6=AVERAGE(H6,N6,U6,AB6,AI6,AP6,AW6,BD6,BK6,BR6,BY6,CF6,CM6,CT6,DA6,DH6,DO6
,DV6,EC6,EJ6,EQ6,EX6,FE6,FL6,FS6,FZ6,GG6,GN6,GU6,HB6,HI6,)

The program will not let me include HB6 and HI6. I have to stop at GU6
because I can only average 30 fields.

I recently asked this question and Bif told me to post the formula.

Thanks


 
Reply With Quote
 
Biff
Guest
Posts: n/a
 
      15th Jul 2006
Try this:

Entered as an array using the key combination of CTRL,SHIFT,ENTER:

=AVERAGE(IF(MOD(COLUMN(N6:HI6),7)=0,N6:HI6),H6)

The column interval is different after H6 as RD noted.

Biff

"tee" <(E-Mail Removed)> wrote in message
news:5605EB72-B863-493D-84C8-(E-Mail Removed)...
> HP6=AVERAGE(H6,N6,U6,AB6,AI6,AP6,AW6,BD6,BK6,BR6,BY6,CF6,CM6,CT6,DA6,DH6,DO6,DV6,EC6,EJ6,EQ6,EX6,FE6,FL6,FS6,FZ6,GG6,GN6,GU6,HB6,HI6,)
>
> The program will not let me include HB6 and HI6. I have to stop at GU6
> because I can only average 30 fields.
>
> I recently asked this question and Bif told me to post the formula.
>
> Thanks



 
Reply With Quote
 
Harlan Grove
Guest
Posts: n/a
 
      15th Jul 2006
tee wrote...
>HP6
>=AVERAGE(H6,N6,U6,AB6,AI6,AP6,AW6,BD6,BK6,BR6,BY6,CF6,CM6,CT6,
>DA6,DH6,DO6,DV6,EC6,EJ6,EQ6,EX6,FE6,FL6,FS6,FZ6,GG6,GN6,GU6,HB6,HI6)
>
>The program will not let me include HB6 and HI6. I have to stop at GU6
>because I can only average 30 fields.

....

So make it one multiple area range.

=AVERAGE((H6,N6,U6,AB6,AI6,AP6,AW6,BD6,BK6,BR6,BY6,CF6,CM6,CT6,
DA6,DH6,DO6,DV6,EC6,EJ6,EQ6,EX6,FE6,FL6,FS6,FZ6,GG6,GN6,GU6,HB6,HI6))

 
Reply With Quote
 
Tushar Mehta
Guest
Posts: n/a
 
      16th Jul 2006
In article <5605EB72-B863-493D-84C8-(E-Mail Removed)>,
(E-Mail Removed) says...
> HP6=AVERAGE(H6,N6,U6,AB6,AI6,AP6,AW6,BD6,BK6,BR6,BY6,CF6,CM6,CT6,DA6,DH6,DO6,DV6,EC6,EJ6,EQ6,EX6,FE6,FL6,FS6,FZ6,GG6,GN6,GU6,HB6,HI6,)
>
> The program will not let me include HB6 and HI6. I have to stop at GU6
> because I can only average 30 fields.
>
> I recently asked this question and Bif told me to post the formula.
>
> Thanks
>

=AVERAGE
((H6,N6,U6,AB6,AI6,AP6,AW6,BD6,BK6,BR6,BY6,CF6,CM6,CT6,DA6,DH6,DO6,DV6,EC6,E
J6,EQ6,EX6,FE6,FL6,FS6,FZ6,GG6,GN6,GU6,HB6,HI6))

AVERAGE accepts only 30 arguments but each argument can consist of multiple
discontiguous ranges. That's what the 2nd set of parenthesis does. It
tells AVERAGE there is only one argument and it contains so many
discontiguous ranges.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Averaging Fields ScottRA Microsoft Access Form Coding 3 11th Feb 2008 03:14 AM
Re: averaging fields in a record John Nurick Microsoft Access VBA Modules 0 27th Jul 2004 08:01 PM
Averaging averaged fields Dee Microsoft Access Queries 1 13th Jan 2004 06:07 PM
averaging numeric fields A. Craig Microsoft Access Getting Started 4 3rd Dec 2003 08:52 PM
Averaging Fields Nashville DAS Microsoft Access Forms 5 10th Nov 2003 11:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:25 AM.