Hello there, I am looking for some help. I have a data base on sheet1 made of 3 columns and 9999 rows. It looks as follows:
A. B. C.
1. John Lewis. 13/10/12. Madrid.
2. John Lewis. 13/10/12. Paris.
3. John Lewis. 13/10/12. New York.
4. Mike Smith. 13/10/12. Madrid.
5. Mike Smith. 13/10/12. Paris.
6. Rob Harris 21/09/12. Madrid.
7. Rob Harris. 21/09/12. Paris.
8. John Lewis. 21/09/12. Madrid.
9. John Lewis. 21/09/12. Paris.
...
9999. .... ..... .... .....
On sheet2 I have another column that concatenates the three columns of my data base. So A1 on sheet2 would look like this:
A.
1. John Lewis13/10/12Madrid.
...
9999
I need a formula on row 2 that finds the closest past date in which John Lewis was in Madrid and concatenate the result as shown in cell A1. In my example, the formula should bring up the result "John Lewis21/09/12Madrid". I have to find all the previous dates where John Lewis was in Madrid, which means that I will have to copy the formula downwards.
Any help on what combination of formulas to use would be much appreciated.
Best,
Josedv
A. B. C.
1. John Lewis. 13/10/12. Madrid.
2. John Lewis. 13/10/12. Paris.
3. John Lewis. 13/10/12. New York.
4. Mike Smith. 13/10/12. Madrid.
5. Mike Smith. 13/10/12. Paris.
6. Rob Harris 21/09/12. Madrid.
7. Rob Harris. 21/09/12. Paris.
8. John Lewis. 21/09/12. Madrid.
9. John Lewis. 21/09/12. Paris.
...
9999. .... ..... .... .....
On sheet2 I have another column that concatenates the three columns of my data base. So A1 on sheet2 would look like this:
A.
1. John Lewis13/10/12Madrid.
...
9999
I need a formula on row 2 that finds the closest past date in which John Lewis was in Madrid and concatenate the result as shown in cell A1. In my example, the formula should bring up the result "John Lewis21/09/12Madrid". I have to find all the previous dates where John Lewis was in Madrid, which means that I will have to copy the formula downwards.
Any help on what combination of formulas to use would be much appreciated.
Best,
Josedv