LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rob_T
 
Posts: n/a
Default Sort of VLOOKUP


I've got some data and I need something like vlookup. I've got a
spreadsheet that I can't change which has the following info:

Col A --- Col B
area ---- plunger diameter
0.01 ---- 60
0.022 --- 120
0.072 --- 400
0.18 ---- 1000
0.45 ---- 2500
0.72 ---- 4000

I need to return a value for the size of plunger needed given a certain
area.

However, vlookup returns the value on the same row, i.e. if I have an
area of 0.015 it returns 60. What I actually need is that for up to
0.01 it returns 60, then for up to 0.022 it returns 120 etc.

I'm sure there's a really simple way of doing it. Currently the only
way I've found to do it is a load of nested IF statements (and if the
data needs extending this can get messy). Is there any way of using
vlookup or something similar.

Thanks in advance.

Rob


--
Rob_T
------------------------------------------------------------------------
Rob_T's Profile: http://www.excelforum.com/member.php...fo&userid=4952
View this thread: http://www.excelforum.com/showthread...hreadid=540587

 
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
VLOOKUP Problem Ian Excel Discussion (Misc queries) 3 April 6th 06 06:47 PM
VLOOKUP 1 stop Answer: 3 steps: count dup's, compare dif's, merg nastech Excel Discussion (Misc queries) 2 February 12th 06 01:26 PM
How can I sort multiple times Sorting data Excel Worksheet Functions 2 February 9th 06 05:22 PM
Vlookup, Sort ?? M.A.Tyler Excel Discussion (Misc queries) 6 February 1st 06 02:21 AM
Data > Sort function amnesia? Dave D Excel Discussion (Misc queries) 1 November 29th 04 10:44 PM


All times are GMT +1. The time now is 07:01 PM.

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"