View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Teethless mama Teethless mama is offline
external usenet poster
 
Posts: 3,718
Default Averaging data with errors

=AVERAGE(IF(NOT(ISNA(A1:A3)),A1:A3))

ctrl+shift+enter, not just enter


"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