LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jaime
 
Posts: n/a
Default Vlookup not working properly

Hi I'm currently running office 2000 and trying to get vlookup to work
properly.

I have 10 tables which must be referenced from one formula.
The formula must pick which table to use (currently have that working)
the formula must pick which row and column to use (currently have that
working)

I know that that I just said the formula works and it does. However it only
works for numbers = 76 and I need it to work for any numbers entered

Here is the exact formula being used:

=IF(ISERROR(VLOOKUP(C3,INDIRECT("Sheet"&B3&"!"&"A1 :U151"),Data!E3,TRUE))=TRUE," ",VLOOKUP(C3,INDIRECT("Sheet"&B3&"!"&"A1:U151"),Da ta!E3,FALSE))

As I say this formula works just fine for me for numbers 76-150 (150 is the
highest number on the table) and returns the correct result. Numbers 1-75
however do not return anything and there is data in the table that should be
returned. (Note there are 151 rows in the tables on the other sheets)

The tables contain both numeric and alphanumeric data and where the formula
returns data both are returned fine.

One thing the formula does not do that I would like it to (though its not
neccessary) is in the event of no exact match returning the next largest
number that is smaller than the search value.

Hopefully this is a fixable problem.
If you need additonal info please just let me know.

Jaime


 
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 stops working with pasted values SueD Excel Worksheet Functions 6 May 23rd 06 11:45 AM
How do I allow for multiple values in VLOOKUP? Indy_Ball Excel Worksheet Functions 3 May 1st 06 09:57 PM
vlookup issue ( not working and im tearing my hair out) me+excel=crazy Excel Discussion (Misc queries) 6 November 19th 05 10:49 PM
VLOOKUP Problem (limitation)? SnotRockit Excel Worksheet Functions 3 November 7th 05 03:06 PM
MODE isn't working properly. M Keeler Excel Worksheet Functions 1 September 8th 05 03:30 AM


All times are GMT +1. The time now is 01:59 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"