LtCmdrData
Board Regular
- Joined
- Jan 24, 2018
- Messages
- 58
- Office Version
- 365
- Platform
- Windows
Hi,
I hope someone can help or at least point me in the right direction. I am trying to create a what I'll call a mini rater. I want it to work like this: The user is prompted to enter a state from a drop down list. Next the user enters a weight that they want calculated. I have two columns of data behind the scenes. I need to find the row where the users weight falls between the values in the two columns. Next it looks to the right and finds the rate associated with the two columns or bracket. Finally it multiplies the weight entered by the user times the rate and returns a value. Below is an example of the data. Should I even be trying this in Excel? Or is this better suited for Access?
<colgroup><col width="64" style="width: 48pt;" span="8">
<tbody>
</tbody>
I hope someone can help or at least point me in the right direction. I am trying to create a what I'll call a mini rater. I want it to work like this: The user is prompted to enter a state from a drop down list. Next the user enters a weight that they want calculated. I have two columns of data behind the scenes. I need to find the row where the users weight falls between the values in the two columns. Next it looks to the right and finds the rate associated with the two columns or bracket. Finally it multiplies the weight entered by the user times the rate and returns a value. Below is an example of the data. Should I even be trying this in Excel? Or is this better suited for Access?
Del St | Act Lbs | Rate | delstate | minW | maxW | rate | |
AL | 2400 | 47665 | AL | 0 | 999 | 45.82 | |
AL | 1000 | 1999 | 33.00 | ||||
AL | 2000 | 2999 | 19.86 | ||||
AL | 3000 | 3999 | 16.09 | ||||
AL | 4000 | 4999 | 10.68 | ||||
AR | 0 | 999 | 43.48 | ||||
AZ | 2000 | 2999 | 28.99 | ||||
CA | 0 | 999 | 104.17 | ||||
CA | 1000 | 1999 | 62.98 | ||||
CO | 0 | 999 | 92.67 | ||||
CT | 6000 | 6999 | 13.80 | ||||
CT | 9000 | 9999 | 12.78 | ||||
CT | 10000 | 10999 | 12.44 | ||||
FL | 0 | 999 | 87.07 | ||||
FL | 1000 | 1999 | 29.75 | ||||
FL | 2000 | 2999 | 28.77 | ||||
GA | 0 | 999 | 31.32 | ||||
GA | 2000 | 2999 | 22.35 |
<colgroup><col width="64" style="width: 48pt;" span="8">
<tbody>
</tbody>