LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
fontsie
 
Posts: n/a
Default PageArea referencing a text value

Hello All,

I have been searching around all day and didn't see a way of doing
this, so I thought I post to find an answer.

I have a worksheet that will be used as a reference, let's call it
ref_file.xls

In this file, I have multiple Print Areas: PrintArea1, PrintArea2,
PrintArea3, etc.

In another file, example.xls, I have a worksheet that has 3 columns:

Column A is a text field
Column B is a number
Column C contains a VLOOKUP formula

The formula in Column C will look like this:
=VLOOKUP(B1, 'ref_file.xls'!PrintArea1,5)

This works fine, but I was wondering how I can have the "PrintArea"
value be that of Column A.

In other words, if A1 contains the text "PrintArea1", how can I insert
that value into the VLOOKUP formula in Column C?

Let me know if you need a better explaination.


Thanks in Advance,

 
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
Cell text based on 4 condition test Bob Wall Excel Worksheet Functions 3 November 16th 05 07:34 PM
Text Wrapping JMB Excel Discussion (Misc queries) 0 July 29th 05 02:41 AM
Referencing cells text output if it meets specific conditions Chersie Excel Worksheet Functions 3 April 18th 05 04:34 PM
SUMPRODUCT vs Text??? Ken Excel Worksheet Functions 2 April 9th 05 07:21 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM


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