functional expense tracker with percentage calculations