Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Todd_Aus
 
Posts: n/a
Default Vlookup with non matching data

I have two columns of numbers. The value i am trying to lookup is not an
exact match but will between the values of the numbers in the two columns on
adjacent rows, I wish to return the value of a third column. Approx 30 rows
of data. I have used nested If statements before but can only nest 7
statements.
Eg
A 1 10
B 11 20
C 21 30
D 31 40
etc

Wish to say lookup 25 and thus return value of C.
Anybody help.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
David McRitchie
 
Posts: n/a
Default Vlookup with non matching data

Hi Todd,
Use column B as the first column in your VLOOKUP then you pick up the grade
http://www.mvps.org/dmcritchie/excel/vlookup.htm
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Todd_Aus" wrote in message ...
I have two columns of numbers. The value i am trying to lookup is not an
exact match but will between the values of the numbers in the two columns on
adjacent rows, I wish to return the value of a third column. Approx 30 rows
of data. I have used nested If statements before but can only nest 7
statements.
Eg
A 1 10
B 11 20
C 21 30
D 31 40
etc

Wish to say lookup 25 and thus return value of C.
Anybody help.

Thanks




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Todd_Aus
 
Posts: n/a
Default Vlookup with non matching data

Thanks David, How simple. Works great.



"Todd_Aus" wrote:

I have two columns of numbers. The value i am trying to lookup is not an
exact match but will between the values of the numbers in the two columns on
adjacent rows, I wish to return the value of a third column. Approx 30 rows
of data. I have used nested If statements before but can only nest 7
statements.
Eg
A 1 10
B 11 20
C 21 30
D 31 40
etc

Wish to say lookup 25 and thus return value of C.
Anybody help.

Thanks

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
Excel Macro to Copy & Paste [email protected] Excel Worksheet Functions 0 December 1st 05 01:56 PM
From several workbooks onto one excel worksheet steve Excel Discussion (Misc queries) 6 December 1st 05 08:03 AM
Vlookup 2 data matches? Nav Excel Discussion (Misc queries) 5 November 27th 05 04:18 PM
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Excel Worksheet Functions 7 September 3rd 05 03:47 PM
Table Array in VLOOKUP Relies on Data Validation willydlish Excel Worksheet Functions 2 February 16th 05 03:20 AM


All times are GMT +1. The time now is 09:48 AM.

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

About Us

"It's about Microsoft Excel"