VBA Scoring Test Answers

Stephen_IV

Well-known Member
Joined
Mar 17, 2003
Messages
1,180
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
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
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,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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