Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Vlookup using concatenated values - Excel 2000

I am copying data from a number of ranges (e.g. X1, X2 and X3) into a large
range named X_Data, which I then use for looking up data with the vlookup
function. As the data in X_Data needs to be in alphanumeric order, I sort
the data once I have copied and pasted the data into the range. The problem
I am having is that the data in the first column is concatenated. I copy and
use paste special/values into the X_Data range prior to sorting. When I copy
and paste special the resulting data sometimes has an apostrophe in front.
When this occurs the vlookup does not find the data, even if I go in and
manually remove the apostrophe.

I have tried to replicate this situation in another spreadsheet and have
been unsuccessful. Any help would be appreciated.

Craig
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9,101
Default Vlookup using concatenated values - Excel 2000

Compare the formating in the good worksheet with the bad worksheet and check
if the cells are formated as Text or General.

You can verify the formating by clicking on the cell and then go to menu
Format - Cell - Number and verifying which format is highlighted.

The apostophe is to force the cell to be Text and you probably need a
number. General format allows Excel to determine the correct format which
sometimes causes problems like yours.

"Craig A" wrote:

I am copying data from a number of ranges (e.g. X1, X2 and X3) into a large
range named X_Data, which I then use for looking up data with the vlookup
function. As the data in X_Data needs to be in alphanumeric order, I sort
the data once I have copied and pasted the data into the range. The problem
I am having is that the data in the first column is concatenated. I copy and
use paste special/values into the X_Data range prior to sorting. When I copy
and paste special the resulting data sometimes has an apostrophe in front.
When this occurs the vlookup does not find the data, even if I go in and
manually remove the apostrophe.

I have tried to replicate this situation in another spreadsheet and have
been unsuccessful. Any help would be appreciated.

Craig

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Vlookup using concatenated values - Excel 2000

Hi,

You can clean up the results after you do your paste special values command
by selecting and empty cell and choosing copy, then select all the cells in
the problem column and choose Edit, Paste Special, Add.

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Craig A" wrote:

I am copying data from a number of ranges (e.g. X1, X2 and X3) into a large
range named X_Data, which I then use for looking up data with the vlookup
function. As the data in X_Data needs to be in alphanumeric order, I sort
the data once I have copied and pasted the data into the range. The problem
I am having is that the data in the first column is concatenated. I copy and
use paste special/values into the X_Data range prior to sorting. When I copy
and paste special the resulting data sometimes has an apostrophe in front.
When this occurs the vlookup does not find the data, even if I go in and
manually remove the apostrophe.

I have tried to replicate this situation in another spreadsheet and have
been unsuccessful. Any help would be appreciated.

Craig

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 using concatenated column indexes Matt Excel Worksheet Functions 7 June 9th 08 02:07 AM
Vlookup using a reference to a named range?(Excel 2000) Joe Excel Discussion (Misc queries) 4 May 19th 08 06:41 AM
How do I convert values in figures to words in EXCEL 2000? John Excel Worksheet Functions 2 July 8th 06 12:28 PM
#VALUE! error: vlookup works in Excel 2000 but not 2003 Nick Ersdown Excel Discussion (Misc queries) 6 November 25th 05 12:23 PM
How do I filter out duplicate values in Excel 2000? missy2992 Excel Worksheet Functions 4 November 22nd 05 02:38 PM


All times are GMT +1. The time now is 09:06 PM.

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"