Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default is it possible to do lookup with cells containing tildes "~"?

Hi there,

I've been using vlookup on my tables and just discovered that the lookup
actually failed when the cell contains one or more tildes "~" (well never
really use a tilde for it's special purpose before).

Is there any way that Excel's lookup can match my titles with tildes as well
? if not then I guess I'll have to replace all my tildes in my cells to other
signs......probably hyphens.

Many Thanks in advance!

Steven Vegeta
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default is it possible to do lookup with cells containing tildes "~"?

Try using 2 of them:
" ~~ "
The first tells XL to look for the second.
Same as using the tilde to tell XL to look for the " * " or the " ? ".
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Steven Vegeta" wrote in message
...
Hi there,

I've been using vlookup on my tables and just discovered that the lookup
actually failed when the cell contains one or more tildes "~" (well never
really use a tilde for it's special purpose before).

Is there any way that Excel's lookup can match my titles with tildes as

well
? if not then I guess I'll have to replace all my tildes in my cells to

other
signs......probably hyphens.

Many Thanks in advance!

Steven Vegeta


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,688
Default is it possible to do lookup with cells containing tildes "~"?

Are you looking up specifically just the character ~ or ?, like this:

.........D..........E
1......x...........1
2......y...........2
3......~..........3
4......?...........4

Give some examples of what your lookup_values are and what the titles are.

Biff

"Steven Vegeta" wrote in message
...
Hi there,

I've been using vlookup on my tables and just discovered that the lookup
actually failed when the cell contains one or more tildes "~" (well never
really use a tilde for it's special purpose before).

Is there any way that Excel's lookup can match my titles with tildes as
well
? if not then I guess I'll have to replace all my tildes in my cells to
other
signs......probably hyphens.

Many Thanks in advance!

Steven Vegeta



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default is it possible to do lookup with cells containing tildes "~"?

Thanks Biff - I'm matching some titles like

1. New DVD ~ Rocky Series
2. New DVD Boxset 3 discs - First Blood part 1 2 3
3. The lord of the rings ~ The return of the king DVD

I have 2 files (obtained from my colleague) containing these titles - and I
need to get the matching ones.

Many Thanks.
Steven

"Biff" wrote:

Are you looking up specifically just the character ~ or ?, like this:

.........D..........E
1......x...........1
2......y...........2
3......~..........3
4......?...........4

Give some examples of what your lookup_values are and what the titles are.

Biff

"Steven Vegeta" wrote in message
...
Hi there,

I've been using vlookup on my tables and just discovered that the lookup
actually failed when the cell contains one or more tildes "~" (well never
really use a tilde for it's special purpose before).

Is there any way that Excel's lookup can match my titles with tildes as
well
? if not then I guess I'll have to replace all my tildes in my cells to
other
signs......probably hyphens.

Many Thanks in advance!

Steven Vegeta




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,688
Default is it possible to do lookup with cells containing tildes "~"?

Still need more info.

I'm matching some titles like
1. New DVD ~ Rocky Series
2. New DVD Boxset 3 discs - First Blood part 1 2 3
3. The lord of the rings ~ The return of the king DVD


What does "matching" mean? "Matching" them to what? Do you want to know if
an entry is on 2 different lists?

Biff

"Steven Vegeta" wrote in message
...
Thanks Biff - I'm matching some titles like

1. New DVD ~ Rocky Series
2. New DVD Boxset 3 discs - First Blood part 1 2 3
3. The lord of the rings ~ The return of the king DVD

I have 2 files (obtained from my colleague) containing these titles - and
I
need to get the matching ones.

Many Thanks.
Steven

"Biff" wrote:

Are you looking up specifically just the character ~ or ?, like this:

.........D..........E
1......x...........1
2......y...........2
3......~..........3
4......?...........4

Give some examples of what your lookup_values are and what the titles
are.

Biff

"Steven Vegeta" wrote in message
...
Hi there,

I've been using vlookup on my tables and just discovered that the
lookup
actually failed when the cell contains one or more tildes "~" (well
never
really use a tilde for it's special purpose before).

Is there any way that Excel's lookup can match my titles with tildes as
well
? if not then I guess I'll have to replace all my tildes in my cells to
other
signs......probably hyphens.

Many Thanks in advance!

Steven Vegeta








  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default is it possible to do lookup with cells containing tildes "~"?

Sorry Biff - my case is as follow:

I have 2 files - the first file containing the following lines (selected DVD
titles only), and the other one is a master file which has all titles and
it's stock availability (numbers).

I'm trying to use vlookup to get the stock availability for those selected
DVD titles, but then I found out that vlookup can only return the stock
availability for those titles without a tilde, while I'm 100% sure all titles
in my first file do exist in the master file.

I just did a test and it seems all titles with those wildcards "~" "*" "?"
are not vlookup-able at all......I may ask my colleagues to change the titles
then - if I can't get any workaround (apart form renaming the titles) from
experts like you :-)

Many Thanks.

"Biff" wrote:

Still need more info.

I'm matching some titles like
1. New DVD ~ Rocky Series
2. New DVD Boxset 3 discs - First Blood part 1 2 3
3. The lord of the rings ~ The return of the king DVD


What does "matching" mean? "Matching" them to what? Do you want to know if
an entry is on 2 different lists?

Biff

"Steven Vegeta" wrote in message
...
Thanks Biff - I'm matching some titles like

1. New DVD ~ Rocky Series
2. New DVD Boxset 3 discs - First Blood part 1 2 3
3. The lord of the rings ~ The return of the king DVD

I have 2 files (obtained from my colleague) containing these titles - and
I
need to get the matching ones.

Many Thanks.
Steven

"Biff" wrote:

Are you looking up specifically just the character ~ or ?, like this:

.........D..........E
1......x...........1
2......y...........2
3......~..........3
4......?...........4

Give some examples of what your lookup_values are and what the titles
are.

Biff

"Steven Vegeta" wrote in message
...
Hi there,

I've been using vlookup on my tables and just discovered that the
lookup
actually failed when the cell contains one or more tildes "~" (well
never
really use a tilde for it's special purpose before).

Is there any way that Excel's lookup can match my titles with tildes as
well
? if not then I guess I'll have to replace all my tildes in my cells to
other
signs......probably hyphens.

Many Thanks in advance!

Steven Vegeta






  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,688
Default is it possible to do lookup with cells containing tildes "~"?

See the reply by PapaDos. It'll work.

It seems like you are inclined to remove/change all those tildes/special
characters. I think that would be a good idea then a basic Vlookup would be
sufficient.

Biff

"Steven Vegeta" wrote in message
...
Sorry Biff - my case is as follow:

I have 2 files - the first file containing the following lines (selected
DVD
titles only), and the other one is a master file which has all titles and
it's stock availability (numbers).

I'm trying to use vlookup to get the stock availability for those selected
DVD titles, but then I found out that vlookup can only return the stock
availability for those titles without a tilde, while I'm 100% sure all
titles
in my first file do exist in the master file.

I just did a test and it seems all titles with those wildcards "~" "*" "?"
are not vlookup-able at all......I may ask my colleagues to change the
titles
then - if I can't get any workaround (apart form renaming the titles) from
experts like you :-)

Many Thanks.

"Biff" wrote:

Still need more info.

I'm matching some titles like
1. New DVD ~ Rocky Series
2. New DVD Boxset 3 discs - First Blood part 1 2 3
3. The lord of the rings ~ The return of the king DVD


What does "matching" mean? "Matching" them to what? Do you want to know
if
an entry is on 2 different lists?

Biff

"Steven Vegeta" wrote in message
...
Thanks Biff - I'm matching some titles like

1. New DVD ~ Rocky Series
2. New DVD Boxset 3 discs - First Blood part 1 2 3
3. The lord of the rings ~ The return of the king DVD

I have 2 files (obtained from my colleague) containing these titles -
and
I
need to get the matching ones.

Many Thanks.
Steven

"Biff" wrote:

Are you looking up specifically just the character ~ or ?, like this:

.........D..........E
1......x...........1
2......y...........2
3......~..........3
4......?...........4

Give some examples of what your lookup_values are and what the titles
are.

Biff

"Steven Vegeta" wrote in
message
...
Hi there,

I've been using vlookup on my tables and just discovered that the
lookup
actually failed when the cell contains one or more tildes "~" (well
never
really use a tilde for it's special purpose before).

Is there any way that Excel's lookup can match my titles with tildes
as
well
? if not then I guess I'll have to replace all my tildes in my cells
to
other
signs......probably hyphens.

Many Thanks in advance!

Steven Vegeta








  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 27,285
Default is it possible to do lookup with cells containing tildes "~"?

If you wanted to find

New DVD ~ Rocky Series

in the sheet, using Edit=Find, you would use

New DVD ~~ Rocky Series

You would put two tilde's in for the search target.

--
Regards,
Tom Ogilvy


"Steven Vegeta" wrote in message
...
Thanks Biff - I'm matching some titles like

1. New DVD ~ Rocky Series
2. New DVD Boxset 3 discs - First Blood part 1 2 3
3. The lord of the rings ~ The return of the king DVD

I have 2 files (obtained from my colleague) containing these titles - and
I
need to get the matching ones.

Many Thanks.
Steven

"Biff" wrote:

Are you looking up specifically just the character ~ or ?, like this:

.........D..........E
1......x...........1
2......y...........2
3......~..........3
4......?...........4

Give some examples of what your lookup_values are and what the titles
are.

Biff

"Steven Vegeta" wrote in message
...
Hi there,

I've been using vlookup on my tables and just discovered that the
lookup
actually failed when the cell contains one or more tildes "~" (well
never
really use a tilde for it's special purpose before).

Is there any way that Excel's lookup can match my titles with tildes as
well
? if not then I guess I'll have to replace all my tildes in my cells to
other
signs......probably hyphens.

Many Thanks in advance!

Steven Vegeta






  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default is it possible to do lookup with cells containing tildes "~"?

Yes Tom I was able to find the titles using "~~" - but when it comes to
thousands of lines I don't think I can do it manually :-(

Please see my reply to biff for more details....many thanks anyway

"Tom Ogilvy" wrote:

If you wanted to find

New DVD ~ Rocky Series

in the sheet, using Edit=Find, you would use

New DVD ~~ Rocky Series

You would put two tilde's in for the search target.

--
Regards,
Tom Ogilvy


"Steven Vegeta" wrote in message
...
Thanks Biff - I'm matching some titles like

1. New DVD ~ Rocky Series
2. New DVD Boxset 3 discs - First Blood part 1 2 3
3. The lord of the rings ~ The return of the king DVD

I have 2 files (obtained from my colleague) containing these titles - and
I
need to get the matching ones.

Many Thanks.
Steven

"Biff" wrote:

Are you looking up specifically just the character ~ or ?, like this:

.........D..........E
1......x...........1
2......y...........2
3......~..........3
4......?...........4

Give some examples of what your lookup_values are and what the titles
are.

Biff

"Steven Vegeta" wrote in message
...
Hi there,

I've been using vlookup on my tables and just discovered that the
lookup
actually failed when the cell contains one or more tildes "~" (well
never
really use a tilde for it's special purpose before).

Is there any way that Excel's lookup can match my titles with tildes as
well
? if not then I guess I'll have to replace all my tildes in my cells to
other
signs......probably hyphens.

Many Thanks in advance!

Steven Vegeta






  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 208
Default is it possible to do lookup with cells containing tildes "~"?

Use the SUBSTITUTE() function on your values when you lookup for them
=VLOOKUP( SUBSTITUTE( SUBSTITUTE( SUBSTITUTE( value, "~", "~~" ), "?", "~?"
), "*", "~*" ), table, FALSE )
--
Festina Lente


"Steven Vegeta" wrote:

Hi there,

I've been using vlookup on my tables and just discovered that the lookup
actually failed when the cell contains one or more tildes "~" (well never
really use a tilde for it's special purpose before).

Is there any way that Excel's lookup can match my titles with tildes as well
? if not then I guess I'll have to replace all my tildes in my cells to other
signs......probably hyphens.

Many Thanks in advance!

Steven Vegeta



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
requires that merged cells must be identically sized? Catt Excel Discussion (Misc queries) 11 July 3rd 05 12:36 PM
Lookup formula - treat no-registered cells as blank gublues Excel Worksheet Functions 4 June 13th 05 10:32 PM
Help adding text values Texas-DC_271 Excel Worksheet Functions 7 January 15th 05 11:14 PM
Convert data type of cells to Text,Number,Date and Time Kevin Excel Worksheet Functions 1 December 31st 04 12:57 PM
Skipping Blank Or Null Cells In a Lookup Function Bill Johnson Excel Worksheet Functions 8 December 24th 04 01:06 AM


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