Can someone help me with a formula or code? I have 20 envelopes containing one of the following numbers (1000,750,500,250,100) totaling 9,500. I need to know how many envelopes contain each number. The only thing that I do know is there is only 1 envelope containg 1000. can anyone help me with the others?