How to Keep Formula While Adding New Lines to Database

Hope this helps.