Mar 20 2020 01:33 PM
Hello.
I have a question with excel.
Basically what I am trying to do is take a value that is calculated in one cell and use this cell in further calculations.
I have a calculation that will give me a value. This value is a theoretical minimum inner diameter of a pipe. I hope to make excel recognize that the number is for example between 15,6 and 19, or 19 and 25, or 25 and 31. Then I want to use this value to use a specific cell to put into a cell for further calculations.
Here is my current spreadsheet so it might be easier to see.
Here i get a calculated value in cell in E27 (in this case 21,8).
I want cell E28 to check this number, and see if it is between the numbers in N9-N16.
In the example with 21,8 that is between 19 and 25, then I want this to put the value of cell N13 (25) into cell E28.
And if number in cell E27 was between 25 and 31 use number from cell N14 and so on.
I have been playing a little with the INDEX and MATCH functions with no success.
Hopefully someone have a solution for this.
Thanks :)
Mar 20 2020 02:03 PM
Mar 20 2020 02:19 PM
If I enter this (changed to norwegian of course) I get the "there's a problem with this formula" error message
Mar 20 2020 02:45 PM
Please check attached file, if you open it a formula shall be in your locale
Mar 20 2020 02:59 PM
This worked perfectly, thank you :)
Mar 20 2020 03:06 PM
@Jostensa , you are welcome
Mar 20 2020 03:49 PM
It will be so good when the Excel options finally come together. In Office 365
= XLOOKUP( beregning, innvendigDiameter, innvendigDiameter, , 1 )
would do the same job.