Hi,
I have lots of data like this:
A B C D E F (Column)
1 X1 John 2 John X1
1 Y1 Peter 2 Peter Y1
1 Z1 Ken 3 Ken Z1
5 X2 John 6 John X2
5 Y2 Peter 7 Peter Y2
My situation is as follows:
In column F, if D1 (i.e. 2) and E1= John, then use D1 to look for the closest value in column A, but not larger than 2. As such, F1 return the result "X1".
if D5 (i.e. 7) and E15 = Peter, then use D5 to look for the closest value in column A, but not larger than 7. As such, F5 return the result "Y2"
Is there any formula to put in columen F for my case?
Thank you All!!
Bookmarks