# Average ignoring non-numeric character and blanks?

#### bhodgman

##### New Member
A
1 ^4
2 (blank)
3 2
4 ^3
6 3
? (formula for average above = should return '3')

Need a formula for the average of values column A (ignoring any blanks, and reading ^4 as '4', ^3 as '3', etc)? Should return the average value of '3' for the example above.

I'm having trouble with the syntax, given some of the values are preceded by the '^' (which I unfortunately need to keep), as well as how to ignore that blank cell.

Think I need some combination of sumproduct, substitute, and isnumber, but just can't figure it out... Thanks!!

### Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

#### bhodgman

##### New Member
Figured it out, so thought I'd post formula in case others run into same issue: array entered formula: =SUM(VALUE(SUBSTITUTE(A1:A6,"^",""))))/COUNTA(A1:A6)

#### DRSteele

##### Well-known Member
My post didn't work. I see you've solved it. Good.

Last edited:

#### FDibbins

##### Well-known Member
Will that be the only non-numeric character you will find?

Replies
5
Views
175
Replies
3
Views
200
Replies
4
Views
4K
Replies
1
Views
209
Replies
5
Views
720

1,191,199
Messages
5,985,233
Members
439,952
Latest member
djharter

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back