Is there anyway to update a rollup summary field with lookup relation ship for a custom object. How can we achieve this using triggers ?
The above link from Abhinav solves your problem
If you need for more than one object would recommend to try the excellent tool from Andrew
And if you have requirement for only one object ,you can prefer jeff solution as well
Here is an example :