The solution is similar to your previous question.
You can download my sample http://tickett.net/downloads/crystal/column_totals.rpt
In the page header, create and add a formula:
whileprintingrecords; global numbervar col1 := 0; global numbervar col2 := 0;
In the section in detail, create and add the formula:
whileprintingrecords; global numbervar col1; global numbervar col2; if recordnumber mod 2 = 1 then col1 := col1 + {value_field} else col2 := col2 + {value_field};
In the page footer, create and add two functions:
whileprintingrecords; global numbervar col1;
and
whileprintingrecords; global numbervar col1;
source share