Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default if cell in other worksheet meets criteria, then leave blank.

I have data in worksheet A for each month, for each entity. Then I have a
summary page which shows just the averages for each entity for each month.
Then I need to create a master summary page which shows just the annual
average for each entity, just one line per entity.

My Summary page shows Jan-Dec in column A. I have a formula averaging the
numbers from worksheet A. Jan-Mar is done. But the rest of the year hasn't
happened yet, so April's formula results "#DIV/0!". I have already put in
all the formulas for the year to be done with it. But I don't want all these
"#DIV/0!" to appear on the spreadsheet, it makes it look bad. I want those
cells to appear blank until there are actual numbers to be averaged, so the
formula can show a real result, not some goofy looking err-type message that
junks up the spreadsheet.


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default if cell in other worksheet meets criteria, then leave blank.

dividing by something that isn't there IS an error, and Excel shows it as
such, regardless of what you think about it.

You need to change all the formulas to check for 0. =IF(A1=0, "", B1/A1)
something like that.

"JudyK" wrote:

I have data in worksheet A for each month, for each entity. Then I have a
summary page which shows just the averages for each entity for each month.
Then I need to create a master summary page which shows just the annual
average for each entity, just one line per entity.

My Summary page shows Jan-Dec in column A. I have a formula averaging the
numbers from worksheet A. Jan-Mar is done. But the rest of the year hasn't
happened yet, so April's formula results "#DIV/0!". I have already put in
all the formulas for the year to be done with it. But I don't want all these
"#DIV/0!" to appear on the spreadsheet, it makes it look bad. I want those
cells to appear blank until there are actual numbers to be averaged, so the
formula can show a real result, not some goofy looking err-type message that
junks up the spreadsheet.


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
Sum of total from other worksheet with that meets one criteria Excel Sum function with IF Excel Worksheet Functions 10 May 25th 09 06:05 PM
Populate worksheet with data that meets date range criteria P0llyW0G Excel Worksheet Functions 3 September 28th 08 10:01 PM
Getting a Value IF a cell meets a criteria ThunderStorm Studio[_2_] Excel Discussion (Misc queries) 1 February 18th 08 07:29 PM
Leave Cell BLANK if no criteria met Neon520 Excel Worksheet Functions 2 January 14th 08 11:05 PM
How do I go to the next cell that meets criteria Neil Excel Discussion (Misc queries) 3 May 12th 06 04:34 PM


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

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

About Us

"It's about Microsoft Excel"