Basically I would have a set of (16) numbers

I would like to take those numbers and put those into (4) groups of (4) that all equal the same total value (or as close as possible)

Can anyone tell me where to start?

Thanks in advance for any reply.

Carl