Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Michal
 
Posts: n/a
Default How to sum cells with a certain letters sequence

How to sum cells which contains the same sequence of letters? i mean I have a
column with following texts: abcd, bcde, cdef. How to sum cells which contain
"bc" sequence?
  #2   Report Post  
Fanatik
 
Posts: n/a
Default

The formula is

=SUMIF(A:A,"*bc*",B:B)

Where column A contains the text amd column B contains the cells you wish to
sum.

Note if you prefer you can enter ranges instead of columns.



"Michal" wrote:

How to sum cells which contains the same sequence of letters? i mean I have a
column with following texts: abcd, bcde, cdef. How to sum cells which contain
"bc" sequence?

  #3   Report Post  
B. R.Ramachandran
 
Posts: n/a
Default

Hi,

Do you mean, how to 'count' cells that contain a certain sequence of letters
- i.e., how many strings contain, e.g., "bc" in them? If yes,
= COUNTIF(A2:A100,"=*bc*")
Chanage the range to suit to your needs.

A convenient variation would be,
=COUNTIF(A2:A100,"=*"&$B$2&"*"), where cell B2 will contain the substring
(e.g., bc) you are looking for in the strings. Now you can change the
contents of B2 without having to modify the formula every time.

Regards,
B. R. Ramachandran


"Michal" wrote:

How to sum cells which contains the same sequence of letters? i mean I have a
column with following texts: abcd, bcde, cdef. How to sum cells which contain
"bc" sequence?

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
requires that merged cells must be identically sized? Catt Excel Discussion (Misc queries) 11 July 3rd 05 12:36 PM
paste special | values should work with merged cells PastingSpecial Excel Discussion (Misc queries) 1 June 20th 05 06:51 PM
REVISED ?? - populate limited cells w/ set value Jane Excel Worksheet Functions 1 March 19th 05 02:29 PM
Blank Cells in Pivot Tables Greg Excel Discussion (Misc queries) 1 March 16th 05 09:23 PM
Finding Numbers with Cells that also contain letters Adam Excel Discussion (Misc queries) 7 December 29th 04 02:41 PM


All times are GMT +1. The time now is 06:02 AM.

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

About Us

"It's about Microsoft Excel"