In the data file I have 4 columns.
1- Client Code
2- Client Name
3- Product Name
4- Date
In the data client names appear more than once, if they have bought more than one product either at the same date or at a different date.
I am trying to match the client name with the most current date after March 1, 2010.
What I have done so far, is to use INDEX and MATCH function. The syntax that I have used is as following:
INDEX(Data Table,MATCH(Client Code&Client Name&Product Name,Client Code Data&Client Name Data&Product Data,0),MATCH(Date,Date Data,-1) Control+Shift+Enter
However, the result is always comes out to be #REF error. I have checked data ranges and they are all of the same size. I have also checked if there are any errors within the Data Table and there is non.
Although I have manged to get the desired date by using VLOOKUP function but I am certain same result can be achieved through combining INDEX and MATCH function as well and it may very well be faster.
Would someone kind enough to let me know what I am doing wrong or missing here.
Thank you
1- Client Code
2- Client Name
3- Product Name
4- Date
In the data client names appear more than once, if they have bought more than one product either at the same date or at a different date.
I am trying to match the client name with the most current date after March 1, 2010.
What I have done so far, is to use INDEX and MATCH function. The syntax that I have used is as following:
INDEX(Data Table,MATCH(Client Code&Client Name&Product Name,Client Code Data&Client Name Data&Product Data,0),MATCH(Date,Date Data,-1) Control+Shift+Enter
However, the result is always comes out to be #REF error. I have checked data ranges and they are all of the same size. I have also checked if there are any errors within the Data Table and there is non.
Although I have manged to get the desired date by using VLOOKUP function but I am certain same result can be achieved through combining INDEX and MATCH function as well and it may very well be faster.
Would someone kind enough to let me know what I am doing wrong or missing here.
Thank you