Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Joe Joe is offline
external usenet poster
 
Posts: 476
Default Vlookup bringing no number

HI. My friend is having some problems with Vlookup. I checked the formula and
it is correct. It goes to another spreadsheet and needs to bring a value.
The Formula is working well but it doesnt bring two values. Apparantely,
there is no reason for that.
He has already sort his file [std Costs 2007-2008.xls]std Costs July Revised'
=VLOOKUP(D3155,'[std Costs 2007-2008.xls]std Costs July Revised'!$A:$G,7,0)

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Vlookup bringing no number

Actually, there is a reason for that. Vlookup will always return only one
value.

Regards,
Fred.

"Joe" wrote in message
...
HI. My friend is having some problems with Vlookup. I checked the formula
and
it is correct. It goes to another spreadsheet and needs to bring a value.
The Formula is working well but it doesnt bring two values. Apparantely,
there is no reason for that.
He has already sort his file [std Costs 2007-2008.xls]std Costs July
Revised'
=VLOOKUP(D3155,'[std Costs 2007-2008.xls]std Costs July
Revised'!$A:$G,7,0)

Thanks


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,365
Default Vlookup bringing no number

What do you mean "doesn't bring two values?

If you mean that there are two values in the look up list that match the
contents of D3155, then that is normal; VLOOKUP() always stops looking at the
first match it finds.

Explain more about "doesn't bring two values". Also, does it bring back
anything from other columns (when changing ,7, to some lesser value)?

"Joe" wrote:

HI. My friend is having some problems with Vlookup. I checked the formula and
it is correct. It goes to another spreadsheet and needs to bring a value.
The Formula is working well but it doesnt bring two values. Apparantely,
there is no reason for that.
He has already sort his file [std Costs 2007-2008.xls]std Costs July Revised'
=VLOOKUP(D3155,'[std Costs 2007-2008.xls]std Costs July Revised'!$A:$G,7,0)

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,365
Default Vlookup bringing no number

I should have added that if it's not returning anything (or maybe a #N/A),
check and make sure the values in $A in that lookup table are exactly the
same as in D3155. A value you think should be matching up in the lookup
table may have an added space or two somewhere that you aren't noticing -
most likely at the right end of a text entry. Or your value in D3155 has the
added spaces?

"Joe" wrote:

HI. My friend is having some problems with Vlookup. I checked the formula and
it is correct. It goes to another spreadsheet and needs to bring a value.
The Formula is working well but it doesnt bring two values. Apparantely,
there is no reason for that.
He has already sort his file [std Costs 2007-2008.xls]std Costs July Revised'
=VLOOKUP(D3155,'[std Costs 2007-2008.xls]std Costs July Revised'!$A:$G,7,0)

Thanks

  #5   Report Post  
Posted to microsoft.public.excel.misc
Joe Joe is offline
external usenet poster
 
Posts: 476
Default Vlookup bringing no number

there is no spaces, I ve copied and pasted the number on the second
spreadsheet to make sure of that and also run a search by the same number and
it brings up only one line. Exactly as expected as it was alreayd sorted. Any
other ideas why it migh not be picking up this number

"JLatham" wrote:

I should have added that if it's not returning anything (or maybe a #N/A),
check and make sure the values in $A in that lookup table are exactly the
same as in D3155. A value you think should be matching up in the lookup
table may have an added space or two somewhere that you aren't noticing -
most likely at the right end of a text entry. Or your value in D3155 has the
added spaces?

"Joe" wrote:

HI. My friend is having some problems with Vlookup. I checked the formula and
it is correct. It goes to another spreadsheet and needs to bring a value.
The Formula is working well but it doesnt bring two values. Apparantely,
there is no reason for that.
He has already sort his file [std Costs 2007-2008.xls]std Costs July Revised'
=VLOOKUP(D3155,'[std Costs 2007-2008.xls]std Costs July Revised'!$A:$G,7,0)

Thanks



  #6   Report Post  
Posted to microsoft.public.excel.misc
Joe Joe is offline
external usenet poster
 
Posts: 476
Default Vlookup bringing no number

Sorry Fred, what I meant to say. This is not working for two values in my
search. eg it brings correctly a number for all of them, but the last two
numbers on my list, doesnt bring anything. However, if I search that in the
second spreadsheet I find two numbers. But Vlookup doesnt bring these two
numbers. Any other idea?
Thanks,
jose

"Fred Smith" wrote:

Actually, there is a reason for that. Vlookup will always return only one
value.

Regards,
Fred.

"Joe" wrote in message
...
HI. My friend is having some problems with Vlookup. I checked the formula
and
it is correct. It goes to another spreadsheet and needs to bring a value.
The Formula is working well but it doesnt bring two values. Apparantely,
there is no reason for that.
He has already sort his file [std Costs 2007-2008.xls]std Costs July
Revised'
=VLOOKUP(D3155,'[std Costs 2007-2008.xls]std Costs July
Revised'!$A:$G,7,0)

Thanks



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Vlookup bringing no number

If you think that there is a match and excel is screwing up, check out Debra
Dalgleish's site to help trouble shoot your formula (and data!).

http://contextures.com/xlFunctions02.html#Trouble

Joe wrote:

HI. My friend is having some problems with Vlookup. I checked the formula and
it is correct. It goes to another spreadsheet and needs to bring a value.
The Formula is working well but it doesnt bring two values. Apparantely,
there is no reason for that.
He has already sort his file [std Costs 2007-2008.xls]std Costs July Revised'
=VLOOKUP(D3155,'[std Costs 2007-2008.xls]std Costs July Revised'!$A:$G,7,0)

Thanks


--

Dave Peterson
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 bringing back #N/A Afsha Excel Discussion (Misc queries) 2 July 5th 07 01:19 PM
bringing data in from one worksheet to another stacy05 Excel Worksheet Functions 0 February 23rd 07 01:51 PM
Bringing data in one sheet Nad Excel Discussion (Misc queries) 0 June 26th 06 01:19 PM
Bringing together data Emma Hope Excel Worksheet Functions 4 May 25th 06 02:58 PM
Bringing Word doc into Excel Gary Excel Discussion (Misc queries) 1 March 10th 05 08:19 PM


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