If you have received a T5008 "summary", you should enter the "sells" only as Capital Gains.
If you have received multiple T5008 "slips" you can also total the box numbers and enter as one.
CRA is fine with you doing it in this manner as it is sometimes more accurate, you can even work out in a SEPARATE spreadsheet the TOTAL Gain / Loss that you made (i.e. consolidate them) and report this way in the Capital Gains Profile. Be sure to keep your documents available to submit as proof if requested.