Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
BB
 
Posts: n/a
Default How do I conditionally disable a formula?

I'm doing up golf handicap calculator in Excel and I need to include even par
rounds in the averaging. I also need to un-include cells which contain no
value (0) (as when I have not entered a slope rating) so that they do not
return a #DIV/0! or #VALUE! and disallow the averaging formula from working
in the process. Anyone?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Gilles Desjardins
 
Posts: n/a
Default How do I conditionally disable a formula?

=if(iserror(average(A1:A?),"No data",average(A1:A?)
The iserror function returns a TRUE or a FALSE. If true enter nodata in
cell, if false do the average.

Gilles
"BB" wrote in message
...
I'm doing up golf handicap calculator in Excel and I need to include even
par
rounds in the averaging. I also need to un-include cells which contain no
value (0) (as when I have not entered a slope rating) so that they do not
return a #DIV/0! or #VALUE! and disallow the averaging formula from
working
in the process. Anyone?



  #3   Report Post  
Posted to microsoft.public.excel.misc
BB
 
Posts: n/a
Default How do I conditionally disable a formula?

Good call Gilles. Merci Beaucoup!

"Gilles Desjardins" wrote:

=if(iserror(average(A1:A?),"No data",average(A1:A?)
The iserror function returns a TRUE or a FALSE. If true enter nodata in
cell, if false do the average.

Gilles
"BB" wrote in message
...
I'm doing up golf handicap calculator in Excel and I need to include even
par
rounds in the averaging. I also need to un-include cells which contain no
value (0) (as when I have not entered a slope rating) so that they do not
return a #DIV/0! or #VALUE! and disallow the averaging formula from
working
in the process. Anyone?




  #4   Report Post  
Posted to microsoft.public.excel.misc
Gilles Desjardins
 
Posts: n/a
Default How do I conditionally disable a formula?

Pleased to help.

Gilles
"BB" wrote in message
...
Good call Gilles. Merci Beaucoup!

"Gilles Desjardins" wrote:

=if(iserror(average(A1:A?),"No data",average(A1:A?)
The iserror function returns a TRUE or a FALSE. If true enter nodata in
cell, if false do the average.

Gilles
"BB" wrote in message
...
I'm doing up golf handicap calculator in Excel and I need to include
even
par
rounds in the averaging. I also need to un-include cells which contain
no
value (0) (as when I have not entered a slope rating) so that they do
not
return a #DIV/0! or #VALUE! and disallow the averaging formula from
working
in the process. Anyone?






Reply
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
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
adding row to forumla carrera Excel Discussion (Misc queries) 9 August 23rd 05 10:24 PM
Creating a check mark box MarthaSue Setting up and Configuration of Excel 18 April 28th 05 12:31 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
how do I disable the formula bar? disabled Excel Discussion (Misc queries) 1 January 8th 05 02:06 PM


All times are GMT +1. The time now is 04:44 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"