Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 137
Default Averaging Error

Is there a way to ignore cells with a #DIV/0 error when I am trying to get an
average? I have cells B2:V2 that may have a number or the error referenced
above. In cell, W2, I want to find the average of the cells and ignore the
cells with the eror message.
  #2   Report Post  
Posted to microsoft.public.excel.programming
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Averaging Error

One way ..

Try in W2, array-entered (press CTRL+SHIFT+ENTER):
=AVERAGE(IF(ISNUMBER(B2:V2),B2:V2))
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"Darren" wrote in message
...
Is there a way to ignore cells with a #DIV/0 error when I am trying to get

an
average? I have cells B2:V2 that may have a number or the error referenced
above. In cell, W2, I want to find the average of the cells and ignore the
cells with the eror message.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 137
Default Averaging Error

That is perfect - Thanks Max

"Max" wrote:

One way ..

Try in W2, array-entered (press CTRL+SHIFT+ENTER):
=AVERAGE(IF(ISNUMBER(B2:V2),B2:V2))
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"Darren" wrote in message
...
Is there a way to ignore cells with a #DIV/0 error when I am trying to get

an
average? I have cells B2:V2 that may have a number or the error referenced
above. In cell, W2, I want to find the average of the cells and ignore the
cells with the eror message.




  #4   Report Post  
Posted to microsoft.public.excel.programming
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Averaging Error

Glad it helped !
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"Darren" wrote in message
...
That is perfect - Thanks Max



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
Averaging Cells without an Error Kcope8302 Excel Worksheet Functions 6 December 10th 08 12:17 PM
Averaging formula error Tammy Excel Discussion (Misc queries) 9 February 8th 07 03:05 AM
Hide #div/0 Error When Averaging navychef Excel Worksheet Functions 5 December 17th 05 06:44 AM
#DIV/0 ERROR in AVERAGING Patty R. Excel Worksheet Functions 7 March 7th 05 11:32 PM
Averaging in VB NEWBIE Excel Programming 1 May 7th 04 08:36 AM


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