Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Karl Perry
 
Posts: n/a
Default Excel 2003 Hiding #DIV/0 in Data/Subtotal/Avg result

I have a worksheet organized as:
WeekDay / WoodShop / Spa / Pool
Monday / / 1 / 4
Tuesday/ / 2 / 2
Wednesday/ / 1 / 4

I used the Data/Subtotal/Average functionality to determine the average
number of participants in each of the events over the period of time, and
the Woodshop average's cell displays "#DIV/0".

I understand that dividing 3 by 0 is an error, but I want Excel just to
leave the cell blank.

I've tried conditional formatting using the Is Formula / =iserror as
suggested in Help, but Excel is ignoring this.

Is there any way to make Excel do what I want?

TIA,


  #2   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default Excel 2003 Hiding #DIV/0 in Data/Subtotal/Avg result

I've tried conditional formatting using the Is Formula / =iserror as
suggested in Help, but Excel is ignoring this.


Assume the #DIV/0! error is in cell A1.

Select cell A1
Goto FormatConditional Formatting
Formula Is: =ISERROR(A1)
Click the Format button
Set the font color to be the same as the background color.
OK out

Biff

"Karl Perry" wrote in message
news:Z6udnYI1h4YF_ALZnZ2dnUVZ_sudnZ2d@cablespeedwa .com...
I have a worksheet organized as:
WeekDay / WoodShop / Spa / Pool
Monday / / 1 / 4
Tuesday/ / 2 / 2
Wednesday/ / 1 / 4

I used the Data/Subtotal/Average functionality to determine the average
number of participants in each of the events over the period of time, and
the Woodshop average's cell displays "#DIV/0".

I understand that dividing 3 by 0 is an error, but I want Excel just to
leave the cell blank.

I've tried conditional formatting using the Is Formula / =iserror as
suggested in Help, but Excel is ignoring this.

Is there any way to make Excel do what I want?

TIA,



  #3   Report Post  
Posted to microsoft.public.excel.misc
Karl Perry
 
Posts: n/a
Default Excel 2003 Hiding #DIV/0 in Data/Subtotal/Avg result


"Biff" wrote in message
...

Assume the #DIV/0! error is in cell A1.

Select cell A1
Goto FormatConditional Formatting
Formula Is: =ISERROR(A1)
Click the Format button
Set the font color to be the same as the background color.
OK out


Biff,

OK. I was missing the cell address in the formula. Thanks for that.

Unfortunately this leaves me with dozens or hundreds of cells all of which
will contain this "#DIV/0!" error message. What I'd like to do is highlight
every cell containing the summary data and apply that conditional formatting
formula to every cell at once. Is there a way to indicate, when entering a
formula, "Look at the current cell"? I.e.: =IsError(CURRENT_CELL) ? Again,
I've looked at help but must not be typing the correct keywords.

Or ... must I write a macro for this?

TIA


  #4   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default Excel 2003 Hiding #DIV/0 in Data/Subtotal/Avg result

If you select all the cells, the cell reference will automatically adjust.

For example, assume the range of cells is A1:A10.
Select that range, use the same formula and the cell references will
automatically adjust.

Biff

"Karl Perry" wrote in message
news:YLOdnVNJ1_YglT3ZnZ2dnUVZ_rednZ2d@cablespeedwa .com...

"Biff" wrote in message
...

Assume the #DIV/0! error is in cell A1.

Select cell A1
Goto FormatConditional Formatting
Formula Is: =ISERROR(A1)
Click the Format button
Set the font color to be the same as the background color.
OK out


Biff,

OK. I was missing the cell address in the formula. Thanks for that.

Unfortunately this leaves me with dozens or hundreds of cells all of which
will contain this "#DIV/0!" error message. What I'd like to do is
highlight every cell containing the summary data and apply that
conditional formatting formula to every cell at once. Is there a way to
indicate, when entering a formula, "Look at the current cell"? I.e.:
=IsError(CURRENT_CELL) ? Again, I've looked at help but must not be
typing the correct keywords.

Or ... must I write a macro for this?

TIA



  #5   Report Post  
Posted to microsoft.public.excel.misc
Karl Perry
 
Posts: n/a
Default Excel 2003 Hiding #DIV/0 in Data/Subtotal/Avg result


"Biff" wrote in message
...
If you select all the cells, the cell reference will automatically adjust.


OK. I had tried that but with using the entire data range:
=IsError(A1:A10). It did work with a few cells, but not with all because it
changed the range to cells not within the data range (relative addressing).
I just tried again, but only put the top left cell of the range in the
formula - and that finally did work.

Thanks.


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
spell number JAWAD CHOHAN Excel Worksheet Functions 1 December 12th 05 05:58 PM
Convert number into words Blackwar Excel Discussion (Misc queries) 4 December 2nd 05 12:05 PM
How do I open a Quattro Pro 7.0 file in Excel 2003 cpatrick83 Excel Discussion (Misc queries) 0 August 22nd 05 09:41 PM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
sharing/using/saving Excel 2002 files in Excel 2003 maze2009 Excel Discussion (Misc queries) 0 January 20th 05 07:27 PM


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