I'd recommend using an online tool that does this already rather than creating one yourself. JMO
quote:
I agree with Ryan, why recreate the wheel? I personally prefer ynab over mint but there is an annual fee to use it.