As shown in Fig. 1 below, I have already given a pre value, and I want to calculate the post value by using Alteryx.
To get the post value, I want to use a table like the one in Figure 2, and use the value of the column when the "pre value" is greater than "min" and less than "max" for each column in Figure 2 as the "post value".
However, I don't know how to do this calculation in alteryx. How can I do this kind of calculation?
Figure1
| pre value | post value |
| 5,000 | |
| 900 | |
| 300 | |
| 3,890 | |
| 598 | |
| 199 | |
| 800 | |
| 1,600 | |
| 1,200 | |
Figure2
| Min | Max | value |
| 1 | 99 | 99 |
| 100 | 100 | 100 |
| 101 | 108 | 108 |
| 109 | 118 | 118 |
| 119 | 128 | 128 |
| 129 | 138 | 138 |
| 139 | 148 | 148 |
| 149 | 158 | 158 |
| … | … | … |