Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Steve
 
Posts: n/a
Default sum letters ex. d+d+d=3d

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

for example: d+d+d=3d
  #2   Report Post  
KL
 
Posts: n/a
Default

=COUNTIF(A1:A10,"d")

KL

"Steve" wrote in message
...
Can I sum up specific letters in a range of cells?

for example: d+d+d=3d



  #3   Report Post  
Vasant Nanavati
 
Posts: n/a
Default

Not really. You can use a formula such as:

=SUMPRODUCT(--(A1:A100="d"))&"d"

--

Vasant

"Steve" wrote in message
...
Can I sum up specific letters in a range of cells?

for example: d+d+d=3d



  #4   Report Post  
JE McGimpsey
 
Posts: n/a
Default

One way:

=LEN(A1)-LEN(SUBSTITUTE(A1,"d","") & "d"

In article ,
"Steve" wrote:

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

for example: d+d+d=3d

  #5   Report Post  
KL
 
Posts: n/a
Default

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


"KL" wrote in message
...
=COUNTIF(A1:A10,"d")

KL

"Steve" wrote in message
...
Can I sum up specific letters in a range of cells?

for example: d+d+d=3d







  #6   Report Post  
Vasant Nanavati
 
Posts: n/a
Default

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

Regards,

Vasant



"JE McGimpsey" wrote in message
...
One way:

=LEN(A1)-LEN(SUBSTITUTE(A1,"d","") & "d"

In article ,
"Steve" wrote:

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

for example: d+d+d=3d



  #7   Report Post  
Bob Phillips
 
Posts: n/a
Default

Back to the other problem :-)


"Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message
...
Ah ... I missed that possible interpretation, JE. Perhaps it's a

combination
of yours and mine! <g

Regards,

Vasant



"JE McGimpsey" wrote in message
...
One way:

=LEN(A1)-LEN(SUBSTITUTE(A1,"d","") & "d"

In article ,
"Steve" wrote:

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

for example: d+d+d=3d





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
no row numbers or column letters DISPLAYED RagDyer Excel Discussion (Misc queries) 4 April 24th 23 03:42 AM
How do you sort words in Excel by the number of letters in a word Kinger New Users to Excel 2 May 2nd 05 11:42 PM
column headings in numbers vs letters garyflood Excel Discussion (Misc queries) 3 April 22nd 05 03:30 PM
Columns in letters vs numbers garyflood Excel Discussion (Misc queries) 1 April 22nd 05 03:21 PM
How do i change column headings back to letters in excel? Chris Excel Discussion (Misc queries) 2 April 14th 05 02:10 PM


All times are GMT +1. The time now is 11:12 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"