Okay, take a deep breath...
Take how many yards a ball of the yarn called for has, and multiply it by the number of balls called for.
Then take your new yarn, see how many yards are in a ball, and multiply that by how many balls you have. Then, if it's more than the yarn called for, you're golden. If not, well, you might have to order more (poor you