S
Steve Thompson
I have a table with data imported from Excel. Because of the way the Excel
worksheet was arranged, the data looks like this...
ID Field1 Field2
-----------------------
1 Cat1 Day1
2 Day2
3 Day3
4 Cat2 Day1
5 Day2
6 Day3
7 Cat3 Day1
8 Day2
9 Day3
The blank values in Field1 should all be whatever value is directly above
them. So, records 2 & 3 should both have Cat1 in Field1, records 4 & 5 should
have Cat2, and so on.
I want to do something like "If Field1 is null, enter value from Field1 in
record where ID = Current ID - 1".
Can someone help with that? Thanks.
worksheet was arranged, the data looks like this...
ID Field1 Field2
-----------------------
1 Cat1 Day1
2 Day2
3 Day3
4 Cat2 Day1
5 Day2
6 Day3
7 Cat3 Day1
8 Day2
9 Day3
The blank values in Field1 should all be whatever value is directly above
them. So, records 2 & 3 should both have Cat1 in Field1, records 4 & 5 should
have Cat2, and so on.
I want to do something like "If Field1 is null, enter value from Field1 in
record where ID = Current ID - 1".
Can someone help with that? Thanks.