Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 77
Default do not average cells that have "0" value

hi community

can some one kindly tell me why my output shows .. #N/A

the scenario is such:

I have 5 rows of numbers, example:

A1 = 1
A2 = 2
A3 = 0
A4 = 3
A5 = 4

I wanted to average out the 5 rows but I do not want the "A3" be inside the
average formula because it has a "0" value
I remembered seen this question with answer before in the Discussion Group,
and I tried it myself with this formula:

=average(if(a1:a5<0,a1:a5))

but the output shows "#N/A" and i checked the Error, it indicated the "#N/A"
is at the first set of cell range - a1:a5

can somebody kindly help to explain to me

thanks and very much appreciated :)
--
oldLearner57
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
Automatically add "0" to blank cells without a formula in the cel. LuLu Excel Worksheet Functions 0 May 9th 06 03:13 PM
omiting cells in average calcs Blackstar79 Excel Discussion (Misc queries) 3 April 25th 06 11:12 PM
30 Day Moving Average Ignoring Blank Cells ethatch Excel Worksheet Functions 2 January 17th 06 09:37 AM
Limit or Exclude cells in Average and Sum formula dagger Excel Worksheet Functions 3 July 7th 05 03:52 PM
How do i get an average that ignores blanks in the range of cells. ucastores Excel Worksheet Functions 7 November 11th 04 05:01 PM


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