June 18 (Reuters) - Portugal's energy company Galp Energia says in a statement:
* Agreed with Spain's Endesa to sell gas commercial activities for residential segment in the region of Madrid.
* The enterprise value of the transaction is 24.1 million euros ($26.9 million), to be adjusted to working capital and net debt.
* The deal is expected to be concluded during the second half of 2015. Source text: (here) ($1 = 0.8969 euros) (Reporting by Andrei Khalip)