jim may
Well-known Member
- Joined
- Jul 4, 2004
- Messages
- 7,486
I have set Rng3 = Visible Cells between A81 to A206 - I'm trying to loop through Rng3 and produce the Subtotals of the 3 employees (amts furnished) in Column E.
Looping drives me crazy...
Can someone provide the code to calculate and post the subtotals I need,,, PLEASE!!
TIA,
Jim
Excel 2007
Looping drives me crazy...
Can someone provide the code to calculate and post the subtotals I need,,, PLEASE!!
TIA,
Jim
Excel Workbook | ||||||||
---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | |||
1 | FullName | Total Paid Hours | Department | Salaried? | Sub-Total Salaried | |||
81 | Bryant, John | 3.42 | Marketing | Yes | ||||
82 | Bryant, John | 2.72 | Marketing | Yes | ||||
83 | Bryant, John | 5.37 | Marketing | Yes | ||||
84 | Bryant, John | 2.18 | Marketing | Yes | ||||
85 | Bryant, John | 5.57 | Marketing | Yes | ||||
86 | Bryant, John | 9.53 | Marketing | Yes | ||||
87 | Bryant, John | 8.00 | Marketing | Yes | 36.79 | <<< | ||
168 | Gambee, Brandon | 7.68 | Deli | Yes | ||||
169 | Gambee, Brandon | 8.38 | Deli | Yes | ||||
170 | Gambee, Brandon | 7.48 | Deli | Yes | ||||
171 | Gambee, Brandon | 8.08 | Deli | Yes | ||||
172 | Gambee, Brandon | 8.45 | Deli | Yes | ||||
173 | Gambee, Brandon | 8.70 | Deli | Yes | 48.77 | <<< | ||
201 | Greenman, Carleen | 8.23 | Office | Yes | ||||
202 | Greenman, Carleen | 8.57 | Office | Yes | ||||
203 | Greenman, Carleen | 8.00 | Office | Yes | ||||
204 | Greenman, Carleen | 8.17 | Office | Yes | ||||
205 | Greenman, Carleen | 7.95 | Office | Yes | ||||
206 | Greenman, Carleen | 8.18 | Office | Yes | 49.10 | <<< | ||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
D81 | =IF(ISERROR(VLOOKUP(A81,SalEmploys,1,FALSE)),"","Yes") |
Excel Workbook | |||
---|---|---|---|
Name | Refers To | ||
SalEmploys | =LookUps!$I$4:$I$10 | ||
Workbook Defined Names |