How to assign weighted numeric values to text and sum?

sccrsurfer

Board Regular
Joined
Feb 22, 2011
Messages
61
Hi everyone. Hope you all had a great weekend. I'm stumped on a question that I hope someone can help me figure out.

I created a questionnaire via a user form, and when all the questions are answered, the text values are placed horizontally, on the same row in different columns. There answers are input in columns ranging E:P. What I want is to input a formula in column Q that assigns a weighted numeric value to the text value in each column and add those all together. By weighted, let's assume that each value in any given row through columns E:P will have a yes/no answer. I want a "yes" in one answer to be a 10, and "yes" in another to be worth a 5, etc...

Hopefully I've articulated my problem and desired solution clearly. Thanks in advance for everyone's help.
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
This might be a start for you....
Excel Workbook
DEFGHIJKLMNOPQ
2Weight555555101010101010
3
4YesYesYesYesYesYesYesYesYesYesYesYes90
Sheet
 
Upvote 0
if the survey data is collected on a userform, it may even be easier to maintain a tally at userform level and just save the result to your sheet
 
Upvote 0
This might be a start for you....
Excel Workbook
DEFGHIJKLMNOPQ
2Weight555555101010101010
3
4YesYesYesYesYesYesYesYesYesYesYesYes90
Sheet

Why SumProduct? You have just 1 condition for doing a total. In such cases,
a SumIf formula is the fastest means...

=SUMIF(E4:P4,"Yes",E2:P2)
 
Upvote 0
True enough: Could be done within either the userform tally or as SumIf.
I'm not going to argue a few clock-cycles until I start crashing the platform, in which case I need to start looking at whether my solution is adequately scaled to the problem. < snip <SNIP other ramblings>

As with most things out here, 6 different ways to solution a challenge.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,518
Messages
6,179,258
Members
452,901
Latest member
LisaGo

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