sum letters ex. d+d+d=3d

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can I sum up specific letters in a range of cells?

for example: d+d+d=3d
 
Not really. You can use a formula such as:

=SUMPRODUCT(--(A1:A100="d"))&"d"
 
Actually, if you need to count every single occurence of :d" in
multi-character strings in a range, you can use:

=SUMPRODUCT(LEN(A1:A4)-LEN(SUBSTITUTE(A1:A4,"d","")))

if you want to count all the multi-character strings in a range where "d"
occurs at least once:

=COUNTIF(A1:A10,"*d*")

Regards,
KL
 
Ah ... I missed that possible interpretation, JE. Perhaps it's a combination
of yours and mine! <g>

Regards,

Vasant
 
Back to the other problem :-)


Vasant Nanavati said:
Ah ... I missed that possible interpretation, JE. Perhaps it's a combination
of yours and mine! <g>

Regards,

Vasant
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top