State tax filing

this answer doesn't help me at all.  is it pro-rated, or how the heck do I know how much to allocate?