lookup and sum values separated by a semicolon and hashtag

junkforhr

Board Regular
Joined
Dec 16, 2009
Messages
115
Office Version
  1. 365
Platform
  1. Windows
Below is a smaller mock of the data I receive.

The values are separated by a semicolon and hashtag. I've found numerous formulas that will return a sum of the values in the Requests column, however, none of them seem to work if the value is not the first value in the string.

Mock of actual data:

Header
Requests
Families and Parents;#Young and Students;#Employment Services​
1​
Young and Students​
1​
Young and Students;#Employment Services​
1​
Older Citizens;#Families and Parents;#Disability, Sickness and Carers;#Young and Students​
4​

Desired result

Header
Requests
Young and Students​
7​
Families and Parents​
5​
Employment Services​
2​
Older Citizens​
4​
Disability, Sickness and Carers​
4​
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Try:

Dante Amor
ABCDE
1HeaderRequestsHeaderRequests
2Families and Parents;#Young and Students;#Employment Services1Young and Students7
3Young and Students1Families and Parents5
4Young and Students;#Employment Services1Employment Services2
5Older Citizens;#Families and Parents;#Disability, Sickness and Carers;#Young and Students4Older Citizens4
6Disability, Sickness and Carers4
Hoja21
Cell Formulas
RangeFormula
E2:E6E2=SUMIFS(B:B,A:A,"*"&D2&"*")
 
Upvote 0
Solution
Try:

Dante Amor
ABCDE
1HeaderRequestsHeaderRequests
2Families and Parents;#Young and Students;#Employment Services1Young and Students7
3Young and Students1Families and Parents5
4Young and Students;#Employment Services1Employment Services2
5Older Citizens;#Families and Parents;#Disability, Sickness and Carers;#Young and Students4Older Citizens4
6Disability, Sickness and Carers4
Hoja21
Cell Formulas
RangeFormula
E2:E6E2=SUMIFS(B:B,A:A,"*"&D2&"*")
Thanks for that, it worked prefectly.
 
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,250
Members
452,623
Latest member
Techenthusiast

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top