Add values to a specific range in a table

Duplicate: Add cell value based on condition