Hello experts,
I have different license plates belonging to various companies, but that can be "drafted" to other companies. It is easier to explain it sample data:
[TABLE="class: grid, width: 400, align: center"]
<tbody>[TR]
[TD="align: center"]License Plate[/TD]
[TD="align: center"]Company[/TD]
[TD="align: center"]Start Date[/TD]
[/TR]
[TR]
[TD="align: center"]A1[/TD]
[TD="align: center"]AAA[/TD]
[TD="align: center"]01-01-2017[/TD]
[/TR]
[TR]
[TD="align: center"]A2[/TD]
[TD="align: center"]AAA[/TD]
[TD="align: center"]01-01-2017[/TD]
[/TR]
[TR]
[TD="align: center"]A2[/TD]
[TD="align: center"]BBB[/TD]
[TD="align: center"]01-12-2017[/TD]
[/TR]
</tbody>[/TABLE]
On another sheet I have a database with logs for trips, and based on the license and on the trip date, I want to know the company. So on 1-11-2017, A2 would show the company AAA, but the trips starting in December should show the company BBB.
Does anyone know how to do this without arrays?
Thank you for your time,
Rui
I have different license plates belonging to various companies, but that can be "drafted" to other companies. It is easier to explain it sample data:
[TABLE="class: grid, width: 400, align: center"]
<tbody>[TR]
[TD="align: center"]License Plate[/TD]
[TD="align: center"]Company[/TD]
[TD="align: center"]Start Date[/TD]
[/TR]
[TR]
[TD="align: center"]A1[/TD]
[TD="align: center"]AAA[/TD]
[TD="align: center"]01-01-2017[/TD]
[/TR]
[TR]
[TD="align: center"]A2[/TD]
[TD="align: center"]AAA[/TD]
[TD="align: center"]01-01-2017[/TD]
[/TR]
[TR]
[TD="align: center"]A2[/TD]
[TD="align: center"]BBB[/TD]
[TD="align: center"]01-12-2017[/TD]
[/TR]
</tbody>[/TABLE]
On another sheet I have a database with logs for trips, and based on the license and on the trip date, I want to know the company. So on 1-11-2017, A2 would show the company AAA, but the trips starting in December should show the company BBB.
Does anyone know how to do this without arrays?
Thank you for your time,
Rui