D
djzabala
Hello everyone.
I'm new here, and I have a little problem
I'm working in an excel workbook, that has 2 columns, the X column ar
time values (continous) and the Y column has some values (that are NO
sorted. and should remain like this, since they are time-dependent)
What I need to do is search for a value within the (Y) Column; thi
value must be the FIRST value (in the Up/Down direction) that i
Greater than the Required Value (the Input value that a user types in
cell, in this case).
i.e. if a have a set of data that ranges from 20 to 100 (but there ar
peaks, with values that raise and fall..) I want the value "30", bu
there's a "32" that appears first, then the value that interests is 32
because it's the first value that is greater than 30.
If the value "30" is actually the first occurence, then that valu
should be retrieved.
i have tried with Vlookup and Match and all those functions, bu
sometimes it works correctly and sometimes not. this should be becaus
the data to look in is not sorted.
Any ideas with worksheet function or VBA, it is greatly welcomed..
I'm new here, and I have a little problem
I'm working in an excel workbook, that has 2 columns, the X column ar
time values (continous) and the Y column has some values (that are NO
sorted. and should remain like this, since they are time-dependent)
What I need to do is search for a value within the (Y) Column; thi
value must be the FIRST value (in the Up/Down direction) that i
Greater than the Required Value (the Input value that a user types in
cell, in this case).
i.e. if a have a set of data that ranges from 20 to 100 (but there ar
peaks, with values that raise and fall..) I want the value "30", bu
there's a "32" that appears first, then the value that interests is 32
because it's the first value that is greater than 30.
If the value "30" is actually the first occurence, then that valu
should be retrieved.
i have tried with Vlookup and Match and all those functions, bu
sometimes it works correctly and sometimes not. this should be becaus
the data to look in is not sorted.
Any ideas with worksheet function or VBA, it is greatly welcomed..