View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Averaging data with errors

One way

In B1, array entered*:
=AVERAGE(IF(ISNUMBER(A1:A3),A1:A3))
*press CTRL+SHIFT+ENTER to confirm the formula
instead of just pressing ENTER
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"John Mac" wrote:
I am trying to take the average of some data but some of the cells contain
errors (as there is data missing for the function to calculate). In my
database there will always be some missing data so these errors will be
present. Is there any way of taking an average of data that contains errors?
eg. average(a1,a2,a3) equals 4 whe
a1=5
a2=#N/A
a3=3
Many thanks for your help
John