LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default using strings in vlookup function calls

Hi.

I am having success using vlookup on a sheet (Week 1).

The vlookup formula is as: =VLOOKUP(B8,'Week 1'!A2:F17,4,FALSE)

It properly returns "Thu" from column 4 of the mentioned array in the
sheet named "Week 1".

B8 sequences up in the array as it is the lookup reference value.

My copied array of that formula also works.

I want to replace 'Week 1' sheet name declaration with a call to a
sheet whose name is stored in a cell like "B2". The cell contents matches
the sheet name exactly And is chosen from a drop down list validation
schema at present.

I have 17 sheets of data, and one sheet to examine them in, and the drop
down list allows choosing a sheet (week), I want that drop down cell
content to be the replacement text in the vlookup formula. That way the
sheet contents reflects the selected week's data.

Also, it would be nice to reference a named array in the "A2:F17" part
of the formula like "Week 1" through "Week 17" in the formula, also based
on the contents selected for B2.

I cannot remember how to declare the string so that excel looks at it
correctly.
 
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
strings as criteria in database function DCOUNT Rob Excel Worksheet Functions 2 October 2nd 07 09:04 AM
Charting with missing data or empty strings from vlookup() MJS Charts and Charting in Excel 2 February 23rd 07 07:16 AM
Excel wildcard ? for replacing strings in dropdown function Excel Wildcard ? Replace Excel Discussion (Misc queries) 1 January 27th 07 05:57 PM
hash function for large strings jheby Excel Worksheet Functions 22 March 16th 06 07:07 PM
How to find number of pairs of strings from list of strings? greg_overholt Excel Worksheet Functions 5 January 27th 06 10:42 PM


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