zakizelani
New Member
- Joined
- Mar 3, 2016
- Messages
- 25
hi, i have been trying to solve my vlookup formula however i couldnt find what wrong with it.
basically what im trying to do is that when the user input the timing, there will be animal output in another cell. the reason is that I will like to do dependent drop downlist.
here is the array, E7:F24:
[TABLE="width: 135"]
<tbody>[TR]
[TD="align: right"]10:30:00[/TD]
[TD] Ant[/TD]
[/TR]
[TR]
[TD="align: right"]11:00:00[/TD]
[TD] Bear[/TD]
[/TR]
[TR]
[TD="align: right"]11:30:00[/TD]
[TD] Cat[/TD]
[/TR]
[TR]
[TD="align: right"]12:00:00[/TD]
[TD] Dolphin[/TD]
[/TR]
[TR]
[TD] 12:30:00[/TD]
[TD]Elephant[/TD]
[/TR]
[TR]
[TD="align: right"]13:00:00[/TD]
[TD] Fox[/TD]
[/TR]
[TR]
[TD="align: right"]13:30:00[/TD]
[TD] Gorilla[/TD]
[/TR]
[TR]
[TD="align: right"]14:00:00[/TD]
[TD] Horse[/TD]
[/TR]
[TR]
[TD="align: right"]14:30:00[/TD]
[TD] Iguana[/TD]
[/TR]
[TR]
[TD="align: right"]15:00:00[/TD]
[TD] Jaguar[/TD]
[/TR]
[TR]
[TD="align: right"]15:30:00[/TD]
[TD] Kangaroo[/TD]
[/TR]
[TR]
[TD="align: right"]16:00:00[/TD]
[TD] Leopard[/TD]
[/TR]
[TR]
[TD="align: right"]16:30:00[/TD]
[TD] Mouse[/TD]
[/TR]
[TR]
[TD="align: right"]17:00:00[/TD]
[TD] Scorpion[/TD]
[/TR]
[TR]
[TD="align: right"]17:30:00[/TD]
[TD] Octupus[/TD]
[/TR]
[TR]
[TD="align: right"]18:00:00[/TD]
[TD] Peguin[/TD]
[/TR]
[TR]
[TD="align: right"]18:30:00[/TD]
[TD] Tiger[/TD]
[/TR]
[TR]
[TD="align: right"]19:00:00[/TD]
[TD] Rabbit[/TD]
[/TR]
</tbody>[/TABLE]
customer will select timing in the cell V4. In cell BG3=V4 (the same timing of the user selected) while the below cell, BG4 = BG3+0.5/24 (interval of 30mins), BG5 =BG4+0.5/24 and so on. the lookup formula will be right beside BG column
this is my formula for vlookup: =VLOOKUP(BG3,Lists!E7:F24,2,TRUE)
and why is the outcome is repetetive?????
basically what im trying to do is that when the user input the timing, there will be animal output in another cell. the reason is that I will like to do dependent drop downlist.
here is the array, E7:F24:
[TABLE="width: 135"]
<tbody>[TR]
[TD="align: right"]10:30:00[/TD]
[TD] Ant[/TD]
[/TR]
[TR]
[TD="align: right"]11:00:00[/TD]
[TD] Bear[/TD]
[/TR]
[TR]
[TD="align: right"]11:30:00[/TD]
[TD] Cat[/TD]
[/TR]
[TR]
[TD="align: right"]12:00:00[/TD]
[TD] Dolphin[/TD]
[/TR]
[TR]
[TD] 12:30:00[/TD]
[TD]Elephant[/TD]
[/TR]
[TR]
[TD="align: right"]13:00:00[/TD]
[TD] Fox[/TD]
[/TR]
[TR]
[TD="align: right"]13:30:00[/TD]
[TD] Gorilla[/TD]
[/TR]
[TR]
[TD="align: right"]14:00:00[/TD]
[TD] Horse[/TD]
[/TR]
[TR]
[TD="align: right"]14:30:00[/TD]
[TD] Iguana[/TD]
[/TR]
[TR]
[TD="align: right"]15:00:00[/TD]
[TD] Jaguar[/TD]
[/TR]
[TR]
[TD="align: right"]15:30:00[/TD]
[TD] Kangaroo[/TD]
[/TR]
[TR]
[TD="align: right"]16:00:00[/TD]
[TD] Leopard[/TD]
[/TR]
[TR]
[TD="align: right"]16:30:00[/TD]
[TD] Mouse[/TD]
[/TR]
[TR]
[TD="align: right"]17:00:00[/TD]
[TD] Scorpion[/TD]
[/TR]
[TR]
[TD="align: right"]17:30:00[/TD]
[TD] Octupus[/TD]
[/TR]
[TR]
[TD="align: right"]18:00:00[/TD]
[TD] Peguin[/TD]
[/TR]
[TR]
[TD="align: right"]18:30:00[/TD]
[TD] Tiger[/TD]
[/TR]
[TR]
[TD="align: right"]19:00:00[/TD]
[TD] Rabbit[/TD]
[/TR]
</tbody>[/TABLE]
customer will select timing in the cell V4. In cell BG3=V4 (the same timing of the user selected) while the below cell, BG4 = BG3+0.5/24 (interval of 30mins), BG5 =BG4+0.5/24 and so on. the lookup formula will be right beside BG column
this is my formula for vlookup: =VLOOKUP(BG3,Lists!E7:F24,2,TRUE)
and why is the outcome is repetetive?????