VBA / Top 70% based on previous months production

LisaCervantes

New Member
Joined
Sep 9, 2011
Messages
1
Hello...<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
<o:p></o:p>
I am trying to create a spreadsheet (Calculator Tab) that will allow management to assign employees to an assignment based on there production totals from the previous month. Here is a little background:<o:p></o:p>
<o:p></o:p>
-There are three different assignments - EUC, eApply and EDDCOMM<o:p></o:p>
-Each assignment has a tab to record production total for the month.<o:p></o:p>
-Daily management is given a certain number of employees that they need to assign to a certain assignment.<o:p></o:p>
-Management wants to assign 70% of employees to an assignment based on production totals.<o:p></o:p>
-There is a summary page with the following macros SortByEapply , SortByEDDCOM , SortByEUC which allow the spreadsheet to be sorted in top producers for each task. <o:p></o:p>
<o:p></o:p>
So far on my calculator page I have:<o:p></o:p>
<o:p></o:p>
- created a drop down box to select an assignment (cell B1)<o:p></o:p>
- creates a dropdown box to select # of employees assigned to task (cell B2)<o:p></o:p>
- Cell IU1 (hidden) calculates 70% of the number of employees assigned<o:p></o:p>
<o:p></o:p>
Based on the info selected on the calculator page I would like a macro in place to populate a list of employees assigned to an assignment (I am assuming the data will be retrived from the summary sheet.<o:p></o:p>
<o:p> </o:p>
Example of what I want:<o:p></o:p>
<o:p> </o:p>
If B1 is set to EUC and B2 is set to 50 (UI1 will appear as 35, 70% of 50), I want the macro to go to the summary page, sort by EUC, copy the top 35 names (B3:B37 [names will always start with cell B3 through how ever many cells should be selected]) and post them on my calculator page starting on cell A5.<o:p></o:p>
<o:p> </o:p>
Thank you to anyone out there who can help me, I dont know where to start!!!<o:p></o:p>
<o:p> </o:p>
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

Forum statistics

Threads
1,224,583
Messages
6,179,683
Members
452,938
Latest member
babeneker

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