Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
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
![]() |
|||
|
|||
![]()
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
![]() |
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
requires that merged cells must be identically sized? | Excel Discussion (Misc queries) | |||
paste special | values should work with merged cells | Excel Discussion (Misc queries) | |||
REVISED ?? - populate limited cells w/ set value | Excel Worksheet Functions | |||
Blank Cells in Pivot Tables | Excel Discussion (Misc queries) | |||
Finding Numbers with Cells that also contain letters | Excel Discussion (Misc queries) |