Based on target and achievement, I need to count how much is the excess number of card of the achievement over the target.
The catch is, it should be counted on every level which is 0-10, 11-15, 16-20, 21 and above
Example 1:
if target is 6 and achievement is 18 then i need a formula for:
0-10 = 4 (7th-10th card)
11-15 = 5 (11th-15th card)
16-20 = 2 (16th-18th card)
21+ = 0
Example 2:
if target is 11 and achievement is 26 then i need a formula for:
0-10 = 0 (since target is 11, 0-10th card will not be counted)
11-15 = 5 (11th-15th card)
16-20 = 5
21+ = 6
Bookmarks