Is it possible to use ISNA and ISEMPTY together in a signle formula to calculate the median from an array.

The formula used is below but results in #Name?

Does anyone have any suggestions where i might be going wrong or is it just not possible?

=MEDIAN(IF(ISEMPTY('Data Source'!G10:G106),"",( IF(ISNA('Data Source'!G10:G106),"", 'Data Source'!G10:G106))))