Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default Vlookup where table array is in text format

Hello!
I am trying to do a vlookup where the format of the origin cells are
"general" and the format of table array is all in text. I am looking up a
combination of alpha and numeric characters on the origin.
I know I can't look up 2 different formats but want the vlookup formula to
acknowledge the difference.
I tried the following formula but it does not work:
=VLOOKUP(C9,TRIM('[Copy of MP_Book.xls]Merge Purge
Results'!$B$9:$T$286),19,FALSE)
It returns an error of #N/A.
Any suggestions on how to get the table array of text to be matched with the
general value?
Thanks for your help!

--
Jodie Gardner
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default Vlookup where table array is in text format

If your Table has "spaces" in it's text strings and your origin cell does
not, then maybe try adding a new column to the left of your table and TRIM
the spaces out there, and modify your VLOOKUP to look for the origin in that
new column.

Vaya con Dios,
Chuck, CABGx3



"jodieg" wrote:

Hello!
I am trying to do a vlookup where the format of the origin cells are
"general" and the format of table array is all in text. I am looking up a
combination of alpha and numeric characters on the origin.
I know I can't look up 2 different formats but want the vlookup formula to
acknowledge the difference.
I tried the following formula but it does not work:
=VLOOKUP(C9,TRIM('[Copy of MP_Book.xls]Merge Purge
Results'!$B$9:$T$286),19,FALSE)
It returns an error of #N/A.
Any suggestions on how to get the table array of text to be matched with the
general value?
Thanks for your help!

--
Jodie Gardner

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default Vlookup where table array is in text format

That does work but I was hoping to include it right in the vlookup formula.
Thanks,
Jodie
--
Jodie Gardner


"CLR" wrote:

If your Table has "spaces" in it's text strings and your origin cell does
not, then maybe try adding a new column to the left of your table and TRIM
the spaces out there, and modify your VLOOKUP to look for the origin in that
new column.

Vaya con Dios,
Chuck, CABGx3



"jodieg" wrote:

Hello!
I am trying to do a vlookup where the format of the origin cells are
"general" and the format of table array is all in text. I am looking up a
combination of alpha and numeric characters on the origin.
I know I can't look up 2 different formats but want the vlookup formula to
acknowledge the difference.
I tried the following formula but it does not work:
=VLOOKUP(C9,TRIM('[Copy of MP_Book.xls]Merge Purge
Results'!$B$9:$T$286),19,FALSE)
It returns an error of #N/A.
Any suggestions on how to get the table array of text to be matched with the
general value?
Thanks for your help!

--
Jodie Gardner

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default Vlookup where table array is in text format

Well, if the spaces are consistant, you might consider something like

=VLOOKUP(LEFT(C9,3&" "&MID(C9,4,3).......or something similar........

Vaya con Dios,
Chuck, CABGx3



"jodieg" wrote:

That does work but I was hoping to include it right in the vlookup formula.
Thanks,
Jodie
--
Jodie Gardner


"CLR" wrote:

If your Table has "spaces" in it's text strings and your origin cell does
not, then maybe try adding a new column to the left of your table and TRIM
the spaces out there, and modify your VLOOKUP to look for the origin in that
new column.

Vaya con Dios,
Chuck, CABGx3



"jodieg" wrote:

Hello!
I am trying to do a vlookup where the format of the origin cells are
"general" and the format of table array is all in text. I am looking up a
combination of alpha and numeric characters on the origin.
I know I can't look up 2 different formats but want the vlookup formula to
acknowledge the difference.
I tried the following formula but it does not work:
=VLOOKUP(C9,TRIM('[Copy of MP_Book.xls]Merge Purge
Results'!$B$9:$T$286),19,FALSE)
It returns an error of #N/A.
Any suggestions on how to get the table array of text to be matched with the
general value?
Thanks for your help!

--
Jodie Gardner

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default Vlookup where table array is in text format

Unfortunately, the number of spaces varies depending on the value in that
column.
--
Jodie Gardner


"CLR" wrote:

Well, if the spaces are consistant, you might consider something like

=VLOOKUP(LEFT(C9,3&" "&MID(C9,4,3).......or something similar........

Vaya con Dios,
Chuck, CABGx3



"jodieg" wrote:

That does work but I was hoping to include it right in the vlookup formula.
Thanks,
Jodie
--
Jodie Gardner


"CLR" wrote:

If your Table has "spaces" in it's text strings and your origin cell does
not, then maybe try adding a new column to the left of your table and TRIM
the spaces out there, and modify your VLOOKUP to look for the origin in that
new column.

Vaya con Dios,
Chuck, CABGx3



"jodieg" wrote:

Hello!
I am trying to do a vlookup where the format of the origin cells are
"general" and the format of table array is all in text. I am looking up a
combination of alpha and numeric characters on the origin.
I know I can't look up 2 different formats but want the vlookup formula to
acknowledge the difference.
I tried the following formula but it does not work:
=VLOOKUP(C9,TRIM('[Copy of MP_Book.xls]Merge Purge
Results'!$B$9:$T$286),19,FALSE)
It returns an error of #N/A.
Any suggestions on how to get the table array of text to be matched with the
general value?
Thanks for your help!

--
Jodie Gardner

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
array table and vlookup DV Excel Worksheet Functions 7 October 25th 07 04:09 PM
vlookup - can't pick up table array Tariq Excel Worksheet Functions 1 August 24th 07 12:22 PM
Vlookup -Want to make table of array optional Karthik Excel Discussion (Misc queries) 3 November 29th 06 12:47 AM
i want to do a vlookup but i want the table array to be changing dimitris Excel Worksheet Functions 3 August 5th 06 11:22 PM
VLOOKUP - 3 Table Array tangomj Excel Worksheet Functions 1 August 1st 06 05:43 PM


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