Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 103
Default VLookup not finding values unless lookup value is manually entered

I have a worksheet that was downloaded from the web that I am trying to
compare with another worksheet's data. The value I am trying to compare is
the open balance by matching the invoice numbers. The vlookup formula returns
#N/A for every instance unless I manually type in the invoice number in the
worksheet that was downloaded from the web. When I manually type the invoice
number in, it returns the correct value. I have formatted the invoice number
in both worksheets as Number, but it still doesn't help unless I manually
type the invoice number.

My formula is =VLOOKUP(C2,'Sable open items'!F:J,5,FALSE).

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,101
Default VLookup not finding values unless lookup value is manually entered

It sounds like the number has some erroneous spaces in and if it was
formatted as text originally then changing to format to number won't get rid
of them. To test this theory thpe =len(J1) to see how many characters are in
the number cell and if there are more than expected then the extra will be
spaces that can be removed with =Trim()

Mike

"Josh" wrote:

I have a worksheet that was downloaded from the web that I am trying to
compare with another worksheet's data. The value I am trying to compare is
the open balance by matching the invoice numbers. The vlookup formula returns
#N/A for every instance unless I manually type in the invoice number in the
worksheet that was downloaded from the web. When I manually type the invoice
number in, it returns the correct value. I have formatted the invoice number
in both worksheets as Number, but it still doesn't help unless I manually
type the invoice number.

My formula is =VLOOKUP(C2,'Sable open items'!F:J,5,FALSE).

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 103
Default VLookup not finding values unless lookup value is manually ent

The characters in the len function is the same as the number of visible
characters in the invoice number. There aren't any extra spaces/characters in
the value.

Thanks

"Mike" wrote:

It sounds like the number has some erroneous spaces in and if it was
formatted as text originally then changing to format to number won't get rid
of them. To test this theory thpe =len(J1) to see how many characters are in
the number cell and if there are more than expected then the extra will be
spaces that can be removed with =Trim()

Mike

"Josh" wrote:

I have a worksheet that was downloaded from the web that I am trying to
compare with another worksheet's data. The value I am trying to compare is
the open balance by matching the invoice numbers. The vlookup formula returns
#N/A for every instance unless I manually type in the invoice number in the
worksheet that was downloaded from the web. When I manually type the invoice
number in, it returns the correct value. I have formatted the invoice number
in both worksheets as Number, but it still doesn't help unless I manually
type the invoice number.

My formula is =VLOOKUP(C2,'Sable open items'!F:J,5,FALSE).

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 27
Default VLookup not finding values unless lookup value is manually ent

Josh, is there an apostrophe at the begining of the number you are trying to
lookup? This will not be included in the results of the LEN function as it
is just forcing the format rather than being a true cell content. If there
is and apostrophe, try using datatext to columnsfixed width and putting the
break after the last digit in the invoice number.

HTH


"Josh" wrote:

The characters in the len function is the same as the number of visible
characters in the invoice number. There aren't any extra spaces/characters in
the value.

Thanks

"Mike" wrote:

It sounds like the number has some erroneous spaces in and if it was
formatted as text originally then changing to format to number won't get rid
of them. To test this theory thpe =len(J1) to see how many characters are in
the number cell and if there are more than expected then the extra will be
spaces that can be removed with =Trim()

Mike

"Josh" wrote:

I have a worksheet that was downloaded from the web that I am trying to
compare with another worksheet's data. The value I am trying to compare is
the open balance by matching the invoice numbers. The vlookup formula returns
#N/A for every instance unless I manually type in the invoice number in the
worksheet that was downloaded from the web. When I manually type the invoice
number in, it returns the correct value. I have formatted the invoice number
in both worksheets as Number, but it still doesn't help unless I manually
type the invoice number.

My formula is =VLOOKUP(C2,'Sable open items'!F:J,5,FALSE).

Thanks

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 103
Default VLookup not finding values unless lookup value is manually ent

Thank you Pablo. That corrected the problem and reformatted all the invoice
numbers.

"pablo bellissimo" wrote:

Josh, is there an apostrophe at the begining of the number you are trying to
lookup? This will not be included in the results of the LEN function as it
is just forcing the format rather than being a true cell content. If there
is and apostrophe, try using datatext to columnsfixed width and putting the
break after the last digit in the invoice number.

HTH


"Josh" wrote:

The characters in the len function is the same as the number of visible
characters in the invoice number. There aren't any extra spaces/characters in
the value.

Thanks

"Mike" wrote:

It sounds like the number has some erroneous spaces in and if it was
formatted as text originally then changing to format to number won't get rid
of them. To test this theory thpe =len(J1) to see how many characters are in
the number cell and if there are more than expected then the extra will be
spaces that can be removed with =Trim()

Mike

"Josh" wrote:

I have a worksheet that was downloaded from the web that I am trying to
compare with another worksheet's data. The value I am trying to compare is
the open balance by matching the invoice numbers. The vlookup formula returns
#N/A for every instance unless I manually type in the invoice number in the
worksheet that was downloaded from the web. When I manually type the invoice
number in, it returns the correct value. I have formatted the invoice number
in both worksheets as Number, but it still doesn't help unless I manually
type the invoice number.

My formula is =VLOOKUP(C2,'Sable open items'!F:J,5,FALSE).

Thanks



  #6   Report Post  
Junior Member
 
Posts: 1
Thumbs up

Thank you very much pablo.
I solved my problem by:

If there
is and apostrophe, try using datatext to columnsfixed width and putting the
break after the last digit in the invoice number.

thank you once again
  #7   Report Post  
Junior Member
 
Posts: 4
Default

It will not be in the results of the LEN function that is precisely to force the format rather than being a true content of the excell. Data Text to Columns fixed width and put the pause after the last digit of the invoice. It is very best to get a data.
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
How do I sum between any two entered values in a vlookup table hkaempffe Excel Worksheet Functions 4 August 25th 06 02:09 AM
VLOOKUP only works on data manually entered. Mike Rogers Excel Discussion (Misc queries) 6 April 25th 06 07:16 PM
How to update one manually-entered value from another? 1robc57 Excel Worksheet Functions 2 February 2nd 06 05:07 AM
vlookup - finding the next value that is GREATER than the lookup value? Harold Good Excel Worksheet Functions 6 August 10th 05 10:32 PM
#N/A Values : Returned by Formulas vs Entered Manually monir Charts and Charting in Excel 8 July 7th 05 01:16 AM


All times are GMT +1. The time now is 08:25 PM.

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"