galad
11-12-2015, 09:11 AM
how can I write a code that prints the cells from columns "A" and "B" into new columns but only the ones that the cells in column "c" are not zero in the same row ?
  
A
B
C
D
 
 
20000
1.82
6
1547.4
 
 
20010
1.83
0
0
 
 
20020
1.83
0
0
 
 
20030
1.83
42
10836
 
 
20040
1.83
139
35862
 
 
20050
1.83
145
37395.5
 
 
20060
1.83
300
77400
 
 
20070
1.83
100
25800
 
 
20080
1.83
100
25800
A
B
C
D
20000
1.82
6
1547.4
20010
1.83
0
0
20020
1.83
0
0
20030
1.83
42
10836
20040
1.83
139
35862
20050
1.83
145
37395.5
20060
1.83
300
77400
20070
1.83
100
25800
20080
1.83
100
25800