A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Formula Not Working



 
 
Thread Tools Display Modes
  #1  
Old June 12th, 2008, 11:30 PM posted to microsoft.public.excel.newusers
AccAdmin
external usenet poster
 
Posts: 5
Default Formula Not Working

I have tried two different formulas to Average / Median a column of % here
are the two formulas,
=IF(ISERROR(AVERAGE(M4:M50)),0,(AVERAGE(M4:M50))
or
=IF(ISERROR(MEDIAN(M4:M50)),0,MEDIAN(M4:M50))

Neither of them worked correctly. The ISERROR is in place to deal with cells
that are linked and do not show a % until other information is completed. If
the source cell goes unused the column maintains the ERROR, so the cell with
the formula has to see the error as 0 or blank to generate the average.
  #2  
Old June 12th, 2008, 11:59 PM posted to microsoft.public.excel.newusers
T. Valko
external usenet poster
 
Posts: 15,759
Default Formula Not Working

Are you saying that within the range M4:M50 there are errors like #N/A,
#VALUE!, #NUM!, #DIV/0! ?

If that's the case why don't you just fix those errors?

Try these array formulas that will account for errors:

=AVERAGE(IF(ISNUMBER(M4:M50),M4:M50))

=MEDIAN(IF(ISNUMBER(M4:M50),M4:M50))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)


--
Biff
Microsoft Excel MVP


"AccAdmin" wrote in message
...
I have tried two different formulas to Average / Median a column of % here
are the two formulas,
=IF(ISERROR(AVERAGE(M4:M50)),0,(AVERAGE(M4:M50))
or
=IF(ISERROR(MEDIAN(M4:M50)),0,MEDIAN(M4:M50))

Neither of them worked correctly. The ISERROR is in place to deal with
cells
that are linked and do not show a % until other information is completed.
If
the source cell goes unused the column maintains the ERROR, so the cell
with
the formula has to see the error as 0 or blank to generate the average.



  #3  
Old June 13th, 2008, 04:01 PM posted to microsoft.public.excel.newusers
AccAdmin
external usenet poster
 
Posts: 5
Default Formula Not Working

I used your Average formula and it worked perfect! Thank you very much for
your assistance.

Reason errors are left intact is due to formulas in each cell are linked to
cells awaiting information, once information is enter into source error
corrects itself.

"T. Valko" wrote:

Are you saying that within the range M4:M50 there are errors like #N/A,
#VALUE!, #NUM!, #DIV/0! ?

If that's the case why don't you just fix those errors?

Try these array formulas that will account for errors:

=AVERAGE(IF(ISNUMBER(M4:M50),M4:M50))

=MEDIAN(IF(ISNUMBER(M4:M50),M4:M50))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)


--
Biff
Microsoft Excel MVP


"AccAdmin" wrote in message
...
I have tried two different formulas to Average / Median a column of % here
are the two formulas,
=IF(ISERROR(AVERAGE(M4:M50)),0,(AVERAGE(M4:M50))
or
=IF(ISERROR(MEDIAN(M4:M50)),0,MEDIAN(M4:M50))

Neither of them worked correctly. The ISERROR is in place to deal with
cells
that are linked and do not show a % until other information is completed.
If
the source cell goes unused the column maintains the ERROR, so the cell
with
the formula has to see the error as 0 or blank to generate the average.




  #4  
Old June 13th, 2008, 06:00 PM posted to microsoft.public.excel.newusers
T. Valko
external usenet poster
 
Posts: 15,759
Default Formula Not Working

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"AccAdmin" wrote in message
...
I used your Average formula and it worked perfect! Thank you very much for
your assistance.

Reason errors are left intact is due to formulas in each cell are linked
to
cells awaiting information, once information is enter into source error
corrects itself.

"T. Valko" wrote:

Are you saying that within the range M4:M50 there are errors like #N/A,
#VALUE!, #NUM!, #DIV/0! ?

If that's the case why don't you just fix those errors?

Try these array formulas that will account for errors:

=AVERAGE(IF(ISNUMBER(M4:M50),M4:M50))

=MEDIAN(IF(ISNUMBER(M4:M50),M4:M50))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)


--
Biff
Microsoft Excel MVP


"AccAdmin" wrote in message
...
I have tried two different formulas to Average / Median a column of %
here
are the two formulas,
=IF(ISERROR(AVERAGE(M4:M50)),0,(AVERAGE(M4:M50))
or
=IF(ISERROR(MEDIAN(M4:M50)),0,MEDIAN(M4:M50))

Neither of them worked correctly. The ISERROR is in place to deal with
cells
that are linked and do not show a % until other information is
completed.
If
the source cell goes unused the column maintains the ERROR, so the cell
with
the formula has to see the error as 0 or blank to generate the average.






 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:52 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.