Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
GregTh
 
Posts: n/a
Default Vector lookup function


Tried vlookup and reveiwed the others. Setting to false then requires an
exact match. What I need is to find let's say 10 in data of a sinusoidal
wave and refernce the time of occurance. I will accept as close to 10 as
possible within the specified time frame. The data within that time
frame might be ascending or descending. All lookup functions state data
must be sorted or you can change to false and if not an exact match will
return #NA.


--
GregTh
------------------------------------------------------------------------
GregTh's Profile: http://www.excelforum.com/member.php...o&userid=16085
View this thread: http://www.excelforum.com/showthread...hreadid=275365

  #2   Report Post  
LanceB
 
Posts: n/a
Default



A B C
5 a d
3 b
4 c
11 d
3 e
1 f
16 g
34 h
23 i

Formula for c1
{=INDEX(B1:B9,MATCH(TRUE,ABS(10-A1:A9)=MIN(ABS(10-A1:A9)),0))}

Array Formula ctrl|shift|enter
11 is the closest value to 10 column a, returns the letter d for column b

Lance

"GregTh" wrote:


Tried vlookup and reveiwed the others. Setting to false then requires an
exact match. What I need is to find let's say 10 in data of a sinusoidal
wave and refernce the time of occurance. I will accept as close to 10 as
possible within the specified time frame. The data within that time
frame might be ascending or descending. All lookup functions state data
must be sorted or you can change to false and if not an exact match will
return #NA.


--
GregTh
------------------------------------------------------------------------
GregTh's Profile: http://www.excelforum.com/member.php...o&userid=16085
View this thread: http://www.excelforum.com/showthread...hreadid=275365


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Averaging function Sarah Excel Discussion (Misc queries) 0 January 18th 05 04:09 PM
Function in XL or in VBA for XL that pulls numeric digits from a t Nate Oliver Excel Discussion (Misc queries) 0 December 14th 04 04:57 PM
Excel function help facilities RPS Excel Discussion (Misc queries) 1 December 8th 04 02:36 AM
I cant use englisch function names in a swedich version of excel PE Excel Discussion (Misc queries) 2 December 7th 04 01:00 AM
need to save values from a function before it changes Ron Excel Worksheet Functions 1 October 29th 04 06:29 AM


All times are GMT +1. The time now is 04:10 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"