Tayyab Hussain
New Member
Dear All-
I am looking for a solution either VBA or a function() that would look up for a number that would match the first 4 numbers in a serial.
eg
Sheet 1
Ticket_Nos Last_ticket_Used
124001 124082
124101 124145 anbd so on
124201
.
.
124901
Sheet 2 or Workbook 2
date Ticket_from Ticket_to
01/07/2015 124001 124034
01/07/2015 124101 124126
02/07/2015 124035 124082
02/07/2015 124127 124145
Sheet 1 whould look up for '1240' in sheet2 or WB2 and when the max number is searched in sheet 2 or WB2 it should return the value on sheet 1 under Last_Ticket_Used.
I hope I have cleared my point.
Regards
Tayyab Hussain
I am looking for a solution either VBA or a function() that would look up for a number that would match the first 4 numbers in a serial.
eg
Sheet 1
Ticket_Nos Last_ticket_Used
124001 124082
124101 124145 anbd so on
124201
.
.
124901
Sheet 2 or Workbook 2
date Ticket_from Ticket_to
01/07/2015 124001 124034
01/07/2015 124101 124126
02/07/2015 124035 124082
02/07/2015 124127 124145
Sheet 1 whould look up for '1240' in sheet2 or WB2 and when the max number is searched in sheet 2 or WB2 it should return the value on sheet 1 under Last_Ticket_Used.
I hope I have cleared my point.
Regards
Tayyab Hussain