Book1 | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
1 | Dept | Date | Shift | Data | |||
2 | Dept1 | 11/11/2005 | 1 | 0 | |||
3 | Dept1 | 11/11/2005 | 2 | 0 | |||
4 | Dept1 | 11/12/2005 | 1 | 98 | |||
5 | Dept1 | 11/12/2005 | 2 | 0 | |||
6 | Dept1 | 11/13/2005 | 1 | 98 | |||
7 | Dept1 | 11/13/2005 | 2 | 98 | |||
8 | |||||||
9 | |||||||
10 | Dept | Shift | Data | Adj Formula | |||
11 | Dept1 | 1 | 196 | 98 | |||
12 | Dept1 | 2 | 98 | 98 | |||
Sheet1 |
I have data similar to the example i posted...i was using the first date in the range (b/c I had a field which showed the date) to pull in the data...all i want to pull in is the first time the data isnt' 0....obviously just doing a straight sumproduct (my data column) on the data adds them all up ....in my adjusted formula column is the best i could come up with knowing that the data will all be the same excluding the 0's....is this the best way (obviously i'm thinking it's not)....can anyone offer up any suggestions...thanks