View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default Using sum with cells containing text

Hi!

As long as the format is consistent:

n<spacekm
n<spacekm
n<spacekm

=SUMPRODUCT(--(SUBSTITUTE(A1:A3," km","")))

Biff

"Blue_Cup" wrote in message
...
How can I sum cells containg text?

I have a column of distances: 1km, 2 km, 3 km and I'd like to tally the
distances using a formula.

Thanks!