S
Sinuouser
Hello!
Got a question, mostly curious, and doubting this could be done withou
Macros or similiar, but hey, I'll give it a go here, someone might kno

Problem:
Say you have two columns with a number of rows, each row contains a
interval in the form of "min-max", and you want to find the value t
the right of the correct interval, like so;
A B
1 1-7 1
2 8-25 2
3 26-29 3
4 30-40 4
5 41-57 5
Enter Number: [A number that you enter]
Number Returned: [Calculates corresponding number from the interval]
Now, if you enter number 34, it should return "4" (From the 30-4
interval)
I'm mostly curious to if this can be solved without using macros, bee
trying to think of different functions to use, but I'm fairly blu
regarding excel functions, mostly been using basic calculations an
table-building functions before.
Hope anyone knows a smart way of doing this
/Rickar
Got a question, mostly curious, and doubting this could be done withou
Macros or similiar, but hey, I'll give it a go here, someone might kno

Problem:
Say you have two columns with a number of rows, each row contains a
interval in the form of "min-max", and you want to find the value t
the right of the correct interval, like so;
A B
1 1-7 1
2 8-25 2
3 26-29 3
4 30-40 4
5 41-57 5
Enter Number: [A number that you enter]
Number Returned: [Calculates corresponding number from the interval]
Now, if you enter number 34, it should return "4" (From the 30-4
interval)
I'm mostly curious to if this can be solved without using macros, bee
trying to think of different functions to use, but I'm fairly blu
regarding excel functions, mostly been using basic calculations an
table-building functions before.
Hope anyone knows a smart way of doing this

/Rickar