Hi,
I have a table with 2 columns, copy attached.
One column has length ( in millimeters ), and other has volume ( in liters ).
a. I would like that if I input a length in mm, then its corresponding volume be displayed.
b. At number of times, the length I input will not be present in the data table. In such case I be displayed the entry above and below than my figure. And further based on these two entries, the average volume be displayed.
Example from the attached table :
(a) I input 400, so in this case the volume corresponding to 400 being 2326 liters be displayed.
(b) I input 428. Now there is no such entry in the table, rather there is 425 and then 430. So in such case the differences between these table values calculated ; meaning 430-425 = 5, and then 2586 - 2534 = 52. Then divide these numbers; 52 / 5 = 10.4. So it means that for each 1 mm increment, the volume rises by 10.4 liters. As our required length is 428, so we get total volume by adding these increments into the liters corresponding to 425; as 2534 + (10.4x3 ) = 2565.2
Can anyone help me with the above ?
Thanks in advance & Regards.
Omar
Bookmarks