Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 28
Default Hiding a #DIV/0! comment

Hi folks, within another workbook, I track game data for our team. I have a
few columns where games have yet to be played and am showing the following
above error message as there is no data in the columns. Formula I'm using
is - =ROUNDDOWN(AVERAGE(K40:K45),0) .

Any suggestions on modifications so that I don't show the error message,
other than just changing the font to white font?

TIA,

Bob


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Hiding a #DIV/0! comment

You can trap the error and have Excel show nothing instead...

=IF(ISERROR(ROUNDDOWN(AVERAGE(K40:K45),0)),"",ROUN DDOWN(AVERAGE(K40:K45),0))

"Bob Smith" wrote:

Hi folks, within another workbook, I track game data for our team. I have a
few columns where games have yet to be played and am showing the following
above error message as there is no data in the columns. Formula I'm using
is - =ROUNDDOWN(AVERAGE(K40:K45),0) .

Any suggestions on modifications so that I don't show the error message,
other than just changing the font to white font?

TIA,

Bob



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Hiding a #DIV/0! comment

you can simply hide the result by using a conditional format under format.
this saves you having to amend your original formula:

1. Select the cell that contains the error value (e.g. B2).
2. Select 'Format' 'Conditional formatting'
3. From drop down box select 'Formula Is' and enter following formula;
=iserror(B2)
4. Select 'Format...' tab
5. Format the font colour to white and click ok (x2)
6. Copy the conditional format to the relevant cells by copypaste
specialformat

any error messages won't be visible.

"E-Coder" wrote:

You can trap the error and have Excel show nothing instead...

=IF(ISERROR(ROUNDDOWN(AVERAGE(K40:K45),0)),"",ROUN DDOWN(AVERAGE(K40:K45),0))

"Bob Smith" wrote:

Hi folks, within another workbook, I track game data for our team. I have a
few columns where games have yet to be played and am showing the following
above error message as there is no data in the columns. Formula I'm using
is - =ROUNDDOWN(AVERAGE(K40:K45),0) .

Any suggestions on modifications so that I don't show the error message,
other than just changing the font to white font?

TIA,

Bob



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Hiding a #DIV/0! comment

The previous formula will make the cell text or "". If you need it to be a
zero use...

=IF(ISERROR(ROUNDDOWN(AVERAGE(K40:K45),0)),0,ROUND DOWN(AVERAGE(K40:K45),0))

"Bob Smith" wrote:

Hi folks, within another workbook, I track game data for our team. I have a
few columns where games have yet to be played and am showing the following
above error message as there is no data in the columns. Formula I'm using
is - =ROUNDDOWN(AVERAGE(K40:K45),0) .

Any suggestions on modifications so that I don't show the error message,
other than just changing the font to white font?

TIA,

Bob



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 28
Default Hiding a #DIV/0! comment

Works like a charm E-Coder ... TYVM! :)

Bob

"E-Coder" wrote in message
...
The previous formula will make the cell text or "". If you need it to be a
zero use...

=IF(ISERROR(ROUNDDOWN(AVERAGE(K40:K45),0)),0,ROUND DOWN(AVERAGE(K40:K45),0))

"Bob Smith" wrote:

Hi folks, within another workbook, I track game data for our team. I have
a
few columns where games have yet to be played and am showing the
following
above error message as there is no data in the columns. Formula I'm using
is - =ROUNDDOWN(AVERAGE(K40:K45),0) .

Any suggestions on modifications so that I don't show the error message,
other than just changing the font to white font?

TIA,

Bob







  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Hiding a #DIV/0! comment

Try this:

=ROUNDDOWN(IF(COUNT(K40:K45),AVERAGE(K40:K45),0),0 )

Returns 0 if the range doesn't contain any numbers.

Biff

"Bob Smith" wrote in message
ink.net...
Hi folks, within another workbook, I track game data for our team. I have
a few columns where games have yet to be played and am showing the
following above error message as there is no data in the columns. Formula
I'm using is - =ROUNDDOWN(AVERAGE(K40:K45),0) .

Any suggestions on modifications so that I don't show the error message,
other than just changing the font to white font?

TIA,

Bob



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 28
Default Hiding a #DIV/0! comment

Thanks Biff, that works just as well as the other formula I received. Seems
yours is a bit cleaner (less code). I like less code :).

Regards,

Bob


"T. Valko" wrote in message
...
Try this:

=ROUNDDOWN(IF(COUNT(K40:K45),AVERAGE(K40:K45),0),0 )

Returns 0 if the range doesn't contain any numbers.

Biff

"Bob Smith" wrote in message
ink.net...
Hi folks, within another workbook, I track game data for our team. I have
a few columns where games have yet to be played and am showing the
following above error message as there is no data in the columns. Formula
I'm using is - =ROUNDDOWN(AVERAGE(K40:K45),0) .

Any suggestions on modifications so that I don't show the error message,
other than just changing the font to white font?

TIA,

Bob





  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Hiding a #DIV/0! comment

You might be able to use this one:

=INT(IF(COUNT(K40:K45),AVERAGE(K40:K45)))

Biff

"Bob Smith" wrote in message
ink.net...
Thanks Biff, that works just as well as the other formula I received.
Seems yours is a bit cleaner (less code). I like less code :).

Regards,

Bob


"T. Valko" wrote in message
...
Try this:

=ROUNDDOWN(IF(COUNT(K40:K45),AVERAGE(K40:K45),0),0 )

Returns 0 if the range doesn't contain any numbers.

Biff

"Bob Smith" wrote in message
ink.net...
Hi folks, within another workbook, I track game data for our team. I
have a few columns where games have yet to be played and am showing the
following above error message as there is no data in the columns.
Formula I'm using is - =ROUNDDOWN(AVERAGE(K40:K45),0) .

Any suggestions on modifications so that I don't show the error message,
other than just changing the font to white font?

TIA,

Bob







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
Hiding a button when hiding rows fergusor Excel Discussion (Misc queries) 2 August 10th 06 02:31 PM
comment indicator changing the color or hiding the indicators Giovanni Excel Discussion (Misc queries) 2 September 3rd 05 12:37 AM
How can I edit a comment w/o first having to select Show Comment Mary Ann Excel Discussion (Misc queries) 1 August 26th 05 12:34 AM
How do I insert a comment when the Insert:Comment menu is greyed? none Excel Discussion (Misc queries) 0 May 19th 05 12:36 AM
a comment plugin & copy paste directly from excel to comment ? fr. RFM Excel Worksheet Functions 0 December 1st 04 11:29 PM


All times are GMT +1. The time now is 12:56 AM.

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"