Combinations of 4-digit numbers whose individual digits sum to 5
问题 I'm working on a scorecard at work which has columns representing 4 possible outcomes, for example: Successful, unsuccessful, Exceptional, Other Each staff member is assessed 5 times in the month against those ratings. So 1 person might have 3 successful , 2 exceptional , 0 unsuccessful , 0 other . So the max instances of each outcome is 5 but the total sum of instances can't be more than 5. I could try to type out all the combinations (and get them wrong) - is there any function/formula/VBA