scrounge33
New Member
- Joined
- Oct 15, 2015
- Messages
- 2
I've a large and complex table. I need to add a value to the first occurrence in that table. Because of a rounding error that isn't going to be fixed anytime soon. I need to take the monthly amount, divide it by 4 weeks and add a penny to the first occurrence of a name. Something like:
<tbody>
</tbody>
On Adams, Tyler, we didn't add a penny because it is zero.
For Brown, Jean, a penny should be added to the first occurrence (thus 5.61 instead of 5.60) and not the second line for her.
Castor, Billy, has a penny added on the first line and not the other 2.
Diplo, Angie, had a penny added to her only line (as it is the first).
I hope I've explained that well enough for others to understand. Ready, set... GO!
Name | Monthly Amt | Weekly Deduct |
Adams, Tyler | 0 | 0 |
Brown, Jean | 22.38 | 5.61 |
Brown, Jean | 7.71 | 1.93 |
Castor, Billy | 352.28 | 88.08 |
Castor, Billy | 22.38 | 5.60 |
Castor, Billy | 7.71 | 1.93 |
Diplo, Angie | 672.56 | 168.15 |
<tbody>
</tbody>
On Adams, Tyler, we didn't add a penny because it is zero.
For Brown, Jean, a penny should be added to the first occurrence (thus 5.61 instead of 5.60) and not the second line for her.
Castor, Billy, has a penny added on the first line and not the other 2.
Diplo, Angie, had a penny added to her only line (as it is the first).
I hope I've explained that well enough for others to understand. Ready, set... GO!