Hi JMP Community 
Below is a table representing the data I'm looking at (in a lot smaller scale). I wish to create a list of the weights measured on the dates closest to "Arrival dates" for the specific IDs.
I used JMP to get my data in this order, and I tried combining Excels INDEX, MATCH and OFFSET functions to get my desired list, but can't seem to get the right result.
Hope someone out there can help 
Kind regards,
Rae
| ID | ARRIVAL DATE | DATE1 | WEIGHT1 | DATE2 | WEIGHT2 | DATE3 | WEIGHT3 | DATE4 | WEIGHT4 | | DATE NEAREST ARRIVAL | WEIGHT NEAREST ARRIVAL |
| 12345678 | 41109.58 | 43108.55 | 60 | 39681.38 | 62 | 38227.88 | 58 | 42507.28 | 61 | | | |
| 23456781 | 42634.77 | 42509.9 | 100 | 42634.77 | 111 | 41948.6 | 105 | 40128.4 | 112 | | | |
| 34567812 | 38087.28 | 42234.54 | 45 | 41578.41 | 46 | 38087.28 | 45.5 | 41733.03 | 47 | | | |
| 45678123 | 41221.33 | 40842.34 | 58 | 42575.53 | 57 | 41221.33 | 58.5 | 42003.35 | 58 | | | |
| 56781234 | 42025.37 | 42025.37 | 65 | 39900.69 | 66 | 40925.14 | 65 | 41464.54 | 67 | | | |
| 67812345 | 38821.74 | 39075.54 | 70 | 43005.43 | 71 | 41185.52 | 69 | 38821.74 | 70 | | | |
| 78123456 | 39074.11 | 40477.9 | 150 | 39074.11 | 151 | 39310.43 | 153 | 41505.26 | 150 | | | |
| 81234567 | 42515.49 | 37998.55 | 92 | 41824.97 | 89 | 42626.11 | 93 | 41051.34 | 92 | | | |