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

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,209
=VLOOKUP(DropdownSelection,Table,2,0)

where Table is a 2-column range that associates text values and numbers.
 

hikeleader

New Member
Joined
Jan 21, 2005
Messages
2
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...)
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,209
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?
 

Forum statistics

Threads
1,148,219
Messages
5,745,446
Members
423,952
Latest member
EduardoM

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
Top