VBA Scoring Test Answers

Stephen_IV

Well-known Member
Joined
Mar 17, 2003
Messages
1,168
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Can someone please help me. I am looking for some vba to automatically score some answers that I have for questions. The questions are from 1 to 5. I would like VBA to give the the TOTAL score right for each person. Can someone please help me.

Thanks in advance Stephen.
Book1
ABCDEFGHIJ
1Answer1Answer2Answer3Answer4Answer5Answer6Answer7TotalScore
2Steve24522324
3Bob34123325
4John11124353
5Mike55423132
6Ray42421532
7Tony52111224
8Sam34211552
9Tom54541233
10
11
12
13
14Score
15Answer15
16Answer24
17Answer31
18Answer42
19Answer51
20Answer63
21Answer72
Sheet1
 
well, what wuld you want the vba to do with the results? when would it be triggered etc...
 
Upvote 0

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Paddy D,

I should have been clearer. Take nothing away from your response it actually works very well. I am learning VBA so I am a little overwelmed at the moment on how I would approach this with a VBA solution . In other words, I would like to use a subroutine to actually get the values that the formula gives. One press of the button.

Thanks Stephen
 
Upvote 0

Forum statistics

Threads
1,215,410
Messages
6,124,749
Members
449,186
Latest member
HBryant

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