I don't know exactly what sort of comparison you want to do. The following (based on the SYNOPSIS code) may give you a starting point:
... # Comparing columns 3 and 5 my $cmp_col_1 = 3; my $cmp_col_2 = 5; foreach my $sheet (@{$excel -> {Worksheet}}) { ... foreach my $row ($sheet -> {MinRow} .. $sheet -> {MaxRow}) { # Here's where you'd compare # $sheet -> {Cells} [$row] [$cmp_col_1] # with # $sheet -> {Cells} [$row] [$cmp_col_2] } }
-- Ken
In reply to Re^3: excel columns and my ignorance
by kcott
in thread excel columns and my ignorance
by trickyq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |