D
Dave
I'm trying to populate a column based on 2 conditions. The table I want to
draw from is below.
LoopID RouteNum SeqRange
1 100 10-90
1 101 100-190
2 102 10-200
I want to assign the proper RouteNum to a list of Sequence Numbers based on
the Loop ID and what SeqRange the number falls into. The column I want to
populate is RouteNum and is shown below.
LoopID SeqNum RouteNum
1 10
1 20
1 30
..
..
2 10
Hopefully this is clear
Thanks in advance,
Dave.
draw from is below.
LoopID RouteNum SeqRange
1 100 10-90
1 101 100-190
2 102 10-200
I want to assign the proper RouteNum to a list of Sequence Numbers based on
the Loop ID and what SeqRange the number falls into. The column I want to
populate is RouteNum and is shown below.
LoopID SeqNum RouteNum
1 10
1 20
1 30
..
..
2 10
Hopefully this is clear
Thanks in advance,
Dave.