Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default VLOOKUP: Referencing worksheets whose names contain commas

Hello,

How do I make a VLOOKUP formula reference a different worksheet that has a
comma in its name? For instance, in Sheet1 I want to refer to a sheet named
"Last, First" in this way:

=VLOOKUP(A1, 'Last, First'!$A$1:$M$100, 13, TRUE)

But the comma in sheet "Last, First" seems to make the VLOOKUP function
advance the argument too early. Is there an easy fix for this?

Thanks,
--David Aukerman
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default VLOOKUP: Referencing worksheets whose names contain commas

Update:

It seems that the function as I wrote it *evaluates* correctly, but while
I'm typing it in, the tooltip (that helps me determine which argument I'm
entering) advances too soon when the comma in the sheet name is entered.
Maybe this is a bug?

--David Aukerman


"David Aukerman" wrote:

Hello,

How do I make a VLOOKUP formula reference a different worksheet that has a
comma in its name? For instance, in Sheet1 I want to refer to a sheet named
"Last, First" in this way:

=VLOOKUP(A1, 'Last, First'!$A$1:$M$100, 13, TRUE)

But the comma in sheet "Last, First" seems to make the VLOOKUP function
advance the argument too early. Is there an easy fix for this?

Thanks,
--David Aukerman

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default VLOOKUP: Referencing worksheets whose names contain commas

About the only thing you can do to stop that from happening is to not use
commas in sheet names.

--
Biff
Microsoft Excel MVP


"David Aukerman" wrote in message
...
Update:

It seems that the function as I wrote it *evaluates* correctly, but while
I'm typing it in, the tooltip (that helps me determine which argument I'm
entering) advances too soon when the comma in the sheet name is entered.
Maybe this is a bug?

--David Aukerman


"David Aukerman" wrote:

Hello,

How do I make a VLOOKUP formula reference a different worksheet that has
a
comma in its name? For instance, in Sheet1 I want to refer to a sheet
named
"Last, First" in this way:

=VLOOKUP(A1, 'Last, First'!$A$1:$M$100, 13, TRUE)

But the comma in sheet "Last, First" seems to make the VLOOKUP function
advance the argument too early. Is there an easy fix for this?

Thanks,
--David Aukerman



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 698
Default VLOOKUP: Referencing worksheets whose names contain commas

Does this work for you?

=VLOOKUP(F1,'[Book10]Last, First'!$A$1:$B$5,2,0)

The third and fourth argument are not consistent with your lookup but I
believe you can change to 13 and 1 (or TRUE). Not tested

HTH
Regards,
Howard

"David Aukerman" wrote in message
...
Hello,

How do I make a VLOOKUP formula reference a different worksheet that has a
comma in its name? For instance, in Sheet1 I want to refer to a sheet
named
"Last, First" in this way:

=VLOOKUP(A1, 'Last, First'!$A$1:$M$100, 13, TRUE)

But the comma in sheet "Last, First" seems to make the VLOOKUP function
advance the argument too early. Is there an easy fix for this?

Thanks,
--David Aukerman



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default VLOOKUP: Referencing worksheets whose names contain commas

Would it not be much more simple to NOT ever use a comma in a sheet
name as a POLICY!?


On Sun, 17 Jan 2010 18:38:46 -0800, "L. Howard Kittle"
wrote:

Does this work for you?

=VLOOKUP(F1,'[Book10]Last, First'!$A$1:$B$5,2,0)

The third and fourth argument are not consistent with your lookup but I
believe you can change to 13 and 1 (or TRUE). Not tested

HTH
Regards,
Howard

"David Aukerman" wrote in message
...
Hello,

How do I make a VLOOKUP formula reference a different worksheet that has a
comma in its name? For instance, in Sheet1 I want to refer to a sheet
named
"Last, First" in this way:

=VLOOKUP(A1, 'Last, First'!$A$1:$M$100, 13, TRUE)

But the comma in sheet "Last, First" seems to make the VLOOKUP function
advance the argument too early. Is there an easy fix for this?

Thanks,
--David Aukerman




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 698
Default VLOOKUP: Referencing worksheets whose names contain commas

Sorry, I gave a solution that had a workSHEET named "Last, First" and was in
workBOOK 10.

I saved Book 10 as Last, First, with the worksheet named Last, First in it
and is refrenced in the formula. Did not have a problem with a comma in the
name of the workbook. Using Excel 2002 SP3.

Am I missing something here?

Perhaps this will work as it did in my test where the Workbook is named
"Last, First". Again change the third and fourth arguments to suit.

=VLOOKUP(F1,'[Last, First.xls]Last, First'!$A$1:$B$5,2,0)

HTH
Regards,
Howard

"David Aukerman" wrote in message
...
Hello,

How do I make a VLOOKUP formula reference a different worksheet that has a
comma in its name? For instance, in Sheet1 I want to refer to a sheet
named
"Last, First" in this way:

=VLOOKUP(A1, 'Last, First'!$A$1:$M$100, 13, TRUE)

But the comma in sheet "Last, First" seems to make the VLOOKUP function
advance the argument too early. Is there an easy fix for this?

Thanks,
--David Aukerman



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default VLOOKUP: Referencing worksheets whose names contain commas

Am I missing something here?

I think so...

You need Excel 2002 or higher with Function ToolTips enabled to see what the
OP is talking about.

Start typing this formula:

=VLOOKUP(10,

As soon as you type the comma the tooltip argument advances to the next
argument which would be the table_array argument.

Since their table array is on a sheet named First, Last we continue typing:

=VLOOKUP(10,'First,

As soon as you tpe the comma in the sheet name the tooltip argument advances
to the next argument which would be the col_index_num. However, you haven't
finshed typing in the full sheet name for the table_argument yet. So, you
might get confused about which argument you need to type in.

The only solutions I can think of a

1. don't use sheet names that contain commas

--
Biff
Microsoft Excel MVP


"L. Howard Kittle" wrote in message
...
Sorry, I gave a solution that had a workSHEET named "Last, First" and was
in workBOOK 10.

I saved Book 10 as Last, First, with the worksheet named Last, First in it
and is refrenced in the formula. Did not have a problem with a comma in
the name of the workbook. Using Excel 2002 SP3.

Am I missing something here?

Perhaps this will work as it did in my test where the Workbook is named
"Last, First". Again change the third and fourth arguments to suit.

=VLOOKUP(F1,'[Last, First.xls]Last, First'!$A$1:$B$5,2,0)

HTH
Regards,
Howard

"David Aukerman" wrote in
message ...
Hello,

How do I make a VLOOKUP formula reference a different worksheet that has
a
comma in its name? For instance, in Sheet1 I want to refer to a sheet
named
"Last, First" in this way:

=VLOOKUP(A1, 'Last, First'!$A$1:$M$100, 13, TRUE)

But the comma in sheet "Last, First" seems to make the VLOOKUP function
advance the argument too early. Is there an easy fix for this?

Thanks,
--David Aukerman





  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 698
Default VLOOKUP: Referencing worksheets whose names contain commas

Hmmm, I see what you mean when you type in the formula. Does just what you
indicate.

However, if I type in =VLOOKUP(F1, and from here click on the workbook
named First, Last and select A1:B5 on worksheet named First, Last and then
add the comma it accepts that and then type ,2,0) it accepts the formula
and returns the proper value in my test.

=VLOOKUP(F1,'[Last, First.xls]Last, First'!$A$1:$B$5,2,0)

Then if I click in the formula bar with the above formula and arrow across
the formula the tool tip indeed seems to get out of sequence and is confused
by the commas.

Selecting instead of typing works in my test.

Howard

"T. Valko" wrote in message
...
Am I missing something here?


I think so...

You need Excel 2002 or higher with Function ToolTips enabled to see what
the OP is talking about.

Start typing this formula:

=VLOOKUP(10,

As soon as you type the comma the tooltip argument advances to the next
argument which would be the table_array argument.

Since their table array is on a sheet named First, Last we continue
typing:

=VLOOKUP(10,'First,

As soon as you tpe the comma in the sheet name the tooltip argument
advances to the next argument which would be the col_index_num. However,
you haven't finshed typing in the full sheet name for the table_argument
yet. So, you might get confused about which argument you need to type in.

The only solutions I can think of a

1. don't use sheet names that contain commas

--
Biff
Microsoft Excel MVP


"L. Howard Kittle" wrote in message
...
Sorry, I gave a solution that had a workSHEET named "Last, First" and was
in workBOOK 10.

I saved Book 10 as Last, First, with the worksheet named Last, First in
it and is refrenced in the formula. Did not have a problem with a comma
in the name of the workbook. Using Excel 2002 SP3.

Am I missing something here?

Perhaps this will work as it did in my test where the Workbook is named
"Last, First". Again change the third and fourth arguments to suit.

=VLOOKUP(F1,'[Last, First.xls]Last, First'!$A$1:$B$5,2,0)

HTH
Regards,
Howard

"David Aukerman" wrote in
message ...
Hello,

How do I make a VLOOKUP formula reference a different worksheet that has
a
comma in its name? For instance, in Sheet1 I want to refer to a sheet
named
"Last, First" in this way:

=VLOOKUP(A1, 'Last, First'!$A$1:$M$100, 13, TRUE)

But the comma in sheet "Last, First" seems to make the VLOOKUP function
advance the argument too early. Is there an easy fix for this?

Thanks,
--David Aukerman







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 and names with Commas Rpt_Me4NotBeingSmart Excel Discussion (Misc queries) 3 April 14th 09 02:19 AM
Referencing Checkbox Names Chad Excel Worksheet Functions 1 July 18th 08 11:28 PM
Referencing Sheet Names Stuart Grant New Users to Excel 1 October 4th 05 03:43 PM
Referencing worksheet names Rich Hayes Excel Worksheet Functions 3 August 25th 05 08:47 PM
Referencing cells containing tab names? nate_a Excel Worksheet Functions 2 July 19th 05 06:42 PM


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