Associate a word with a value?

Weasel

Board Regular
Joined
Sep 13, 2005
Messages
58
Is it possible to associate a word with a value. For example if I type the word "the" into a cell I'd want that cell to have a value of 8 so if I included it in a sum formula it would add 8 to the total sum.
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
You could create a table on the side somewhere listing the words and their corresponding "number". Then you could use Vlookup() to extract the correct number.

e.g. =Vlookup(A1,X1:Y10,2,0) would extract the corresponding number in column Y to the looked up value in column X, where the word to look up is in A1.

This could be incorporated into your summing formula...
 
Upvote 0

Forum statistics

Threads
1,215,916
Messages
6,127,701
Members
449,398
Latest member
m_a_advisoryforall

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