Formula VLOOKUP I think

R

rhhince

I have a set of numbers in column AG.

0.3411
0.5423
0.3310
0.9062
1.2282
0.8350
0.7205
0.8818
0.6557
0.6424
0.5358
0.4751
0.4319
0.3756
0.3713
0.3413 Formula here is in cell AK5207

I am playing with VLOOKUP to try and find the closest number from the
list which matches cell AG5207 which is 0.3413
 
T

T. Valko

find the closest number from the list which
matches cell AG5207 which is 0.3413

What result do you expect? 0.3413 is in your list (unless I'm reading the
post incorrectly) so it is the closest match.
 
R

rhhince

The result I am expecting is the number .3411 from the top of the list
to showup in cell AK5207
 
T

T. Valko

Try this array formula** :

=INDEX(A1:A15,MATCH(MIN(ABS(A1:A15-D1)),ABS(A1:A15-D1),0))

Where D1 = 0.3413

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Hlookup & Vlookup 2
Vlookup Help 2
VLOOKUP formula 3
VLOOKUP returning formula 3
Vlookup and return sheet name also 2
Vlookup 2
vlookup 1
To return a blank cell rather than 0% in a vlookup. 9

Top