Average ignoring non-numeric character and blanks?

bhodgman

New Member
Joined
Dec 31, 2016
Messages
7
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
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)

:)
 
Upvote 0
My post didn't work. I see you've solved it. Good.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,064
Messages
6,122,942
Members
449,094
Latest member
teemeren

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Back
Top