Assign a numerical value to a text string in a list

hikeleader

New Member
Joined
Jan 21, 2005
Messages
2
I am creating a scoring worksheet. The user selects one of 5 text statements in a list. I assign a numerical 'score" to each one. I want that score to be "returned based on the text selection so that I can incorporate into a formula. How do i go about doing that? Do I use "lookup" ? "If" or what????

Thanks for any help!
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
=VLOOKUP(DropdownSelection,Table,2,0)

where Table is a 2-column range that associates text values and numbers.
 
Upvote 0
That works well....
I took that and added 5 vlookups to create a single score.....

=(VLOOKUP(B11,B87:C91,2,0))+(VLOOKUP(C11,B93:C97,2,0))+(VLOOKUP(D11,B99:C103,2,0))+(VLOOKUP(E11,B105:C109,2,0))+(VLOOKUP(F11,B112:C116,2,0))

now..
how can I "easily" copy that formula down a column?

If I just "copy" I get invalid references....I need the table to be constant...)
 
Upvote 0
hikeleader said:
That works well....
I took that and added 5 vlookups to create a single score.....

=(VLOOKUP(B11,B87:C91,2,0))+(VLOOKUP(C11,B93:C97,2,0))+(VLOOKUP(D11,B99:C103,2,0))+(VLOOKUP(E11,B105:C109,2,0))+(VLOOKUP(F11,B112:C116,2,0))

now..
how can I "easily" copy that formula down a column?

If I just "copy" I get invalid references....I need the table to be constant...)

Would using $B$87:$C$116 as the lookup table for B11, C11, D11, E11, and F11 cause any trouble?
 
Upvote 0

Forum statistics

Threads
1,214,908
Messages
6,122,187
Members
449,072
Latest member
DW Draft

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