Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 41
Default vlookup returns NA after a second value returned the same

In worksheet 1, column E I have
1 Bedroom
2 Bedroom
2 Bedroom
3 Bedroom
1 Bedroom
Studio

In worksheet 2 (called "DROPDOWNS"), column D & E respectively I have:
1 Bedroom 1B
2 Bedroom 2B
3 Bedroom 3B
Studio ST

I want to do a vlookup in worksheet 1, colum D that will lookup the values
in worksheet 2 and return the values from column E.

I used the following formula : =VLOOKUP(E8,'DROP DOWNS'!D2:E11,2,FALSE)

The formula works great until it fnds that it has already looked up the same
value and the second time around it returns an N/A. How can I make the
formula ignore other previously found values and just return the exact value
from worksheet 2.

Thanks!


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 41
Default vlookup returns NA after a second value returned the same

I have now changed my formula to be the one below and it allows for a second
value to be the same but not the 3rd, 4th, 5th and so on....need help!!!

=IF(ISNA(VLOOKUP(E8,'DROP DOWNS'!D1:E10,2,0)),"0",VLOOKUP(E8,'DROP
DOWNS'!D1:E10,2,0))

"Carolina" wrote:

In worksheet 1, column E I have
1 Bedroom
2 Bedroom
2 Bedroom
3 Bedroom
1 Bedroom
Studio

In worksheet 2 (called "DROPDOWNS"), column D & E respectively I have:
1 Bedroom 1B
2 Bedroom 2B
3 Bedroom 3B
Studio ST

I want to do a vlookup in worksheet 1, colum D that will lookup the values
in worksheet 2 and return the values from column E.

I used the following formula : =VLOOKUP(E8,'DROP DOWNS'!D2:E11,2,FALSE)

The formula works great until it fnds that it has already looked up the same
value and the second time around it returns an N/A. How can I make the
formula ignore other previously found values and just return the exact value
from worksheet 2.

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
Vlookup when multiple values can be returned [email protected] Excel Worksheet Functions 9 February 20th 08 07:43 PM
N/A returned on VLOOKUP formula Meltad Excel Worksheet Functions 3 May 15th 07 09:39 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
VLOOKUP? Need to have value returned when select from drop-down list Budamon Excel Worksheet Functions 2 November 13th 05 09:05 PM
Conditional Sum on VLOOKUP Returned Data Liz Excel Worksheet Functions 3 August 9th 05 07:33 PM


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