Calculate only numbers in a cell that has text as well

bizpioneer

New Member
Joined
Apr 28, 2014
Messages
31
Hi,

Is there away to calculate the average values from cell E to K and put it in column L
the trick is that the values contain text as well so I need to calculate the average using the numbers only

Also is there some kind of formula that does this and also works on Google documents?

Capture-2.png
 
are you prepared to fake it ?
 
Upvote 0
I can't speak for Google docs, but in Excel perhaps:

=SUMPRODUCT(--LEFT("0"&E2:J2,FIND(" ",E2:J2&" ")))/COUNTA(E2:J2)
 
Upvote 0
=SUMPRODUCT(--LEFT("0"&E2:K2,FIND(" ",E2:K2&" ")))/COUNTA(E2:K2)

quick test suggests that if the number is touching the letter you get a fail

you did say E to K

also if text is first you will have the error
 
Upvote 0

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