Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default Returning a zero value in an average total

Hi

I wish to return a zero value in the total cell when there is no data in the
column cells. At present it is showing #DIV/0! in the total cell. The
formula i am using at the moment is =AVERAGE(B6:B24). Please can help with
this query.

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200704/1

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,101
Default Returning a zero value in an average total

Try this.

=IF(SUM(B6:B24)0,AVERAGE(B6:B24),0)

Mike

"chedd via OfficeKB.com" wrote:

Hi

I wish to return a zero value in the total cell when there is no data in the
column cells. At present it is showing #DIV/0! in the total cell. The
formula i am using at the moment is =AVERAGE(B6:B24). Please can help with
this query.

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200704/1


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
running total and average of that total after 3 events belvy123 Excel Discussion (Misc queries) 0 March 28th 07 02:57 AM
running total and average of that total after 3 events Toppers Excel Discussion (Misc queries) 1 March 28th 07 02:19 AM
Should grand total equal average of sub total Bonnie Excel Discussion (Misc queries) 5 January 20th 07 08:46 PM
Should grand total equal average of sub total Bonnie Excel Discussion (Misc queries) 2 January 20th 07 08:37 PM
MY VLOOKUP IS RETURNING N/A AND THEREFORE MY TOTAL SUM AT THE BOT. Martin Excel Discussion (Misc queries) 2 December 13th 04 11:21 AM


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