
you probably want to do a task-level custom field that calculates $work/$milestone.work (should likely be read-only). Not sure if this is part of your question, but you can't create a custom formula in the grid - only as part of a report or a custom field (which would then be in the grid).