Can I sum text values like numbers from a single cell?

MrBadEXCEL

New Member
Joined
Jan 25, 2017
Messages
20
Office Version
  1. 2016
Platform
  1. MacOS
Below is a screenshot of a workbook with a sample of what I am trying to do.
I have a sheet with a tab labeled "MATERIALS". The sheet contains a list of materials in column A and in column B is the corresponding value of the materials

On a second sheet with the tab labeled "PROJECTS" I have a column labeled "Project Materials". The cell A2 contains a dropdown list of all the materials referenced
in the MATERIALS sheet. When I select a material from the dropdown list it is added to cell A2 and separated with a comma. On my sheet example I have three materials
selected "Black Material, White Material, Red Material"

What I am trying to do is get the list of material I use for a project in cell A2 to sum up in cell B2. In the example the total cost should equal $6.50.


Materials Tab.JPG
Project Tab.JPG
 
@MrBadEXCEL
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

You might also investigate XL2BB for providing sample data to make it easier for helpers by not having to manually type out sample data to test with.
 
Upvote 0

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Maybe

B2
=SUMPRODUCT(--ISNUMBER(SEARCH(MATERIALS!A$2:A$10,A2)),MATERIALS!B$2:B$10)

M.
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,847
Members
452,361
Latest member
d3ad3y3

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