themightyreds
Board Regular
- Joined
- May 3, 2007
- Messages
- 60
Hi all I have the below formula
Worksheet 1
The column A contains the dates from oct to the end of the year, columns B - AP contain trucks and the destinations they went to on each date, Row 96 contains the last destination
Worksheet 2
Contains a table showing the last date and destination for each truck.
To show the last movement date I have used the formula below
=VLOOKUP(INDEX('Entry Sheet'!B$3:B$95,MATCH(REPT("z",90),'Entry Sheet'!B$3:B$95)),'Entry Sheet'!B:AP,37,FALSE)
Problem I am having is it only works half the time. On some it works perfectly on others it returns the date for the first time the truck visited the given destination rather than the last. By that I mean if the truck went to Manchester today it returns the date for the first time the truck went to Manchester. The formula are all constructed the same way so I cannot understand why some work and some fail?
If you have read all the way through this I thank you, If you are able to assist I am very grateful!
Worksheet 1
The column A contains the dates from oct to the end of the year, columns B - AP contain trucks and the destinations they went to on each date, Row 96 contains the last destination
Worksheet 2
Contains a table showing the last date and destination for each truck.
To show the last movement date I have used the formula below
=VLOOKUP(INDEX('Entry Sheet'!B$3:B$95,MATCH(REPT("z",90),'Entry Sheet'!B$3:B$95)),'Entry Sheet'!B:AP,37,FALSE)
Problem I am having is it only works half the time. On some it works perfectly on others it returns the date for the first time the truck visited the given destination rather than the last. By that I mean if the truck went to Manchester today it returns the date for the first time the truck went to Manchester. The formula are all constructed the same way so I cannot understand why some work and some fail?
If you have read all the way through this I thank you, If you are able to assist I am very grateful!