LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Question regarding averaging

If you enter the formula in the same row that also contains data referenced
in the formula then you get a result due to the rule of implicit
intersection. This result will more than likely be incorrect but if does
appear to be correct it's probably just a coincidence.

Here's a screencap of a simplified example:

http://img398.imageshack.us/img398/6312/arrayfn9.jpg

Where the formula is not array entered and is on the same row as the
referenced data it is evaluating the *single cell* that resides within
implicit intersection.

--
Biff
Microsoft Excel MVP


"Sandy Mann" wrote in message
...
Yes, you are right it is. When I wrote it I tested it with a column of
calculated data and it appeared to work without being array entered, which
surprised me, so I did not add the *array formula* rider.

Testing it further, it seems that if the data is an arithmetic
progression, (which all of my samples were), it returns the apparently
correct answer.

However, even with random data I still don't get the #VALUE! error that
igcrews reported, I get a wrong answer, which is even worse! Maybe it is
a version thing.

mmmm..... I'm going to have to be more careful with my testing.
Complicated this stuff isn't it? <g

--

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"T. Valko" wrote in message
...
Sandy's formula is an array formula and needs to be array entered the
same as Mike's.

--
Biff
Microsoft Excel MVP


"jgcrews" wrote in message
...
Sandy:

I tried your suggestion and ended up with "#Value!" instead of an
average.

I then tried Mike's suggestion and it worked OK.

Me and my diabetes thank you both for your help!

Jeff

"Sandy Mann" wrote:

One way:
=AVERAGE(IF((MOD(ROW(L11:L59),8)=3)*L11:L59<0,L11 :L59,FALSE))

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"jgcrews" wrote in message
...
I'm a relative novice and have a straight-forward question concerning
averaging. I need to average a specific set of cells (not a
continuous
range) and ignore any cells with a value of 0.

I'm sure this is pretty easy but the more I read about all of the
averaging
functions, the more confused I got.

Currently, I'm simply using:
=AVERAGE(L11,L19,L27,L35,L43,L51,L59)
which obviously isn't what I really want.

Can someone head me in the right direction? Thanks in advance for
your
help.

Jeff













 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Another related question to averaging previous values Speedy Excel Discussion (Misc queries) 1 October 14th 07 03:46 AM
Question about averaging TLAngelo Excel Discussion (Misc queries) 3 May 9th 07 11:21 PM
averaging & ??? Dee/Daes Excel Worksheet Functions 6 May 5th 06 08:47 PM
2 part question on averaging Geo Excel Discussion (Misc queries) 4 January 2nd 05 10:35 PM
Averaging again Reggie Excel Worksheet Functions 3 December 30th 04 07:40 AM


All times are GMT +1. The time now is 03:01 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"