Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Is there anyway to subtotal by a similar word in a cell? I do a lot of brand
ranking reports and each brand may have similar items with the brand name listed in the description. Ex: Barilla Barilla Plus Racconto Racconto Healthy Racconto Mainstream In the above examples, is there any way where to get a subtotal for just Barilla and Racconto without going in an changing the brand names so they all say Barilla or all say Racconto.... |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Elsewhere on your sheet (or on a different sheet entirely), you could
just list Barilla, Racconto etc (eg in column X) and then in Y you could have this formula: =COUNTIF(A:A,X1&"*") copied down, if you just want to count the entries, or: =SUMIF(A:A,X1&"*",D:D) if you want to add things from column D where column A partially matches with X. If the words can appear anywhere in the text in column A rather than only at the beginning, then you could use "*"&X1&"*". The asterisk is a wildcard, meaning any characters. Hope this helps. Pete On Feb 12, 5:21*pm, Supe wrote: Is there anyway to subtotal by a similar word in a cell? *I do a lot of brand ranking reports and each brand may have similar items with the brand name listed in the description. Ex: Barilla Barilla Plus Racconto Racconto Healthy Racconto Mainstream In the above examples, is there any way where to get a subtotal for just Barilla and Racconto without going in an changing the brand names so they all say Barilla or all say Racconto.... |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Use :
=Sumif(Names_range, "Barilla*", Values_range) - sums on values where the corresponding names-cell begins with Barilla. =Sumif(Names_range, "Racconto*", Values_range) - sums on values where the corresponding names-cell begins with Racconto. Also =Sumif(Names_range, "*Plus", Values_range) - sums on values where the corresponding names-cell ends with Plus. Paul "Supe" wrote in message ... Is there anyway to subtotal by a similar word in a cell? I do a lot of brand ranking reports and each brand may have similar items with the brand name listed in the description. Ex: Barilla Barilla Plus Racconto Racconto Healthy Racconto Mainstream In the above examples, is there any way where to get a subtotal for just Barilla and Racconto without going in an changing the brand names so they all say Barilla or all say Racconto.... |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Outlook, Excel, Work 2007 locking up *BRAND NEW SYSTEM* | Excel Discussion (Misc queries) | |||
Brand Grouping | Excel Discussion (Misc queries) | |||
pasting to subtotal lines without replacing hidden -non-subtotal l | Excel Discussion (Misc queries) | |||
HELP! Brand new user to excel and having problems... | Excel Discussion (Misc queries) |