Macro to Calculate Precedence

aarzu.maknojia

New Member
Joined
Jul 4, 2012
Messages
1
So, I compete in Congressional Debate which is where a bunch of teenagers get together and yell at each other pretending they serve as part of this Congress. When serving in the Congress, individuals are given the ability to give speeches and ask questions (during the questioning period, and which individual gets the speech is determined by the following:

1. The individual which has given the least number of speeches
If tied..
2. The individual which has spoken the earliest in the session
If tied...
3. The individual which has made the most attempts to gain a speech
If tied...
4. The individual which has asked the most number of questions
If tied...
5. Random

Of the program I have begun to draft (I am more than willing to e-mail it because this wesite won't let me attach it),
Sheet one is a grid in which names will be placed and as the names are clicked on stating the individual has made an attempt to speak, the number in Sheet two by their name will increase. This is the same for the last two sheets for questioing. In Sheet three which is by far the most weird, what is happening is as individuals are making speeches, they are recorded as the number of speech that was made in the session. At the end of each row for each legislator, I have a column that record the total number of speeches (to help with the first criterion), and a column that records the last speech they gave (to aid the second tie breaker).

I want to run a macro, where, when individuals are asked to rise for a speech, I will go through on the first sheet and select every individual standing, the macro will increase the number of attempts next to each individual that was selected's name on the second sheet, then referencing all the above criterion will determine who gets the speech.
 

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