Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default Lookup across workbook

Hello,
I'd like some help with the lookup formula you would use to reference cells
across different worksheets. For example, if a certain word is typed into
cell A1, then I would like cell A2 to reflect a value that appears on another
worksheet (if the word changes, then the worksheet reference changes). I
have tried LOOKUP(A1,{x,x},{x,x}) and basic IF formulas.
Hope someone can assist, if more information is needed, let me know.
Thanks
--
Carla
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 364
Default Lookup across workbook

Assuming you have your data to lookup in Book1.xls in Sheet1 Col A & B
then enter this in A2 in the other one;
=VLOOKUP(A1,'[Book1.xls]Sheet1'!$A:$B,2,FALSE)

An easier way is to enter the formula upto =VLOOKUP(A1, and then click on
the other workbook, select cols A & B then enter the rest of the formula i.e.
enter ,2,False)

"Carla" wrote:

Hello,
I'd like some help with the lookup formula you would use to reference cells
across different worksheets. For example, if a certain word is typed into
cell A1, then I would like cell A2 to reflect a value that appears on another
worksheet (if the word changes, then the worksheet reference changes). I
have tried LOOKUP(A1,{x,x},{x,x}) and basic IF formulas.
Hope someone can assist, if more information is needed, let me know.
Thanks
--
Carla

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Lookup across workbook

How many possible words could be entered in A1 to return values from
different worksheets?

You could end up with an extensive nested IF formula if a multitude of
words.

For two only...............

=IF(A1="qwert",VLOOKUP(A1,Sheet2!$C$1:$F$24,2,FALS E),IF(A1="hoohah",VLOOKUP(A1,Sheet3!$A$1:$D$24,2,F ALSE)))

You may be better off with a Data Validation dropdown menu in A1 and some
sheet event code if you have multiple choices in A1


Gord Dibben MS Excel MVP


On Sun, 14 Sep 2008 20:05:00 -0700, Carla
wrote:

Hello,
I'd like some help with the lookup formula you would use to reference cells
across different worksheets. For example, if a certain word is typed into
cell A1, then I would like cell A2 to reflect a value that appears on another
worksheet (if the word changes, then the worksheet reference changes). I
have tried LOOKUP(A1,{x,x},{x,x}) and basic IF formulas.
Hope someone can assist, if more information is needed, let me know.
Thanks


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default Lookup across workbook

Hi Gord,
This could work - I have 15 possible words that could appear in A1. Would
you mind also elaborating on what I could do with the "Data Validation
dropdown menu in A1 and some sheet event code"?
Thanks for your help.
--
Carla


"Gord Dibben" wrote:

How many possible words could be entered in A1 to return values from
different worksheets?

You could end up with an extensive nested IF formula if a multitude of
words.

For two only...............

=IF(A1="qwert",VLOOKUP(A1,Sheet2!$C$1:$F$24,2,FALS E),IF(A1="hoohah",VLOOKUP(A1,Sheet3!$A$1:$D$24,2,F ALSE)))

You may be better off with a Data Validation dropdown menu in A1 and some
sheet event code if you have multiple choices in A1


Gord Dibben MS Excel MVP


On Sun, 14 Sep 2008 20:05:00 -0700, Carla
wrote:

Hello,
I'd like some help with the lookup formula you would use to reference cells
across different worksheets. For example, if a certain word is typed into
cell A1, then I would like cell A2 to reflect a value that appears on another
worksheet (if the word changes, then the worksheet reference changes). I
have tried LOOKUP(A1,{x,x},{x,x}) and basic IF formulas.
Hope someone can assist, if more information is needed, let me know.
Thanks



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Lookup across workbook

Would the lookup tables be the same on each sheet?

i.e. just the lookup value(word in A1) and sheet names would differ.

Might be easiest if you email me directly with the workbook and an
description of the ranges to lookup on the sheets.

Change the AT and DOT to get my email address.

I have a plan but should get some specifics as above.

Should be able to send you back a working model.


Gord


On Mon, 15 Sep 2008 16:30:01 -0700, Carla
wrote:

Hi Gord,
This could work - I have 15 possible words that could appear in A1. Would
you mind also elaborating on what I could do with the "Data Validation
dropdown menu in A1 and some sheet event code"?
Thanks for your help.




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default Lookup across workbook

Hi Gord,
Thanks for your assistance. I played around with the formula you supplied a
few days ago and came up with a solution. I created a dropdown menu for A1
and used the following formula in the lookup cells (so that it was displaying
the value in that particular cell on the different sheets):

=IF($A$1="Bob",LOOKUP(Sheet1!$G$53,Sheet1!$G$53),I F($A$1="John",LOOKUP(Sheet2!$G$74,Sheet2!$G$74),IF ($A$1="David",LOOKUP(Sheet3!$G$98,Sheet3!$G$98))))

Thanks again.
--
Carla


"Gord Dibben" wrote:

Would the lookup tables be the same on each sheet?

i.e. just the lookup value(word in A1) and sheet names would differ.

Might be easiest if you email me directly with the workbook and an
description of the ranges to lookup on the sheets.

Change the AT and DOT to get my email address.

I have a plan but should get some specifics as above.

Should be able to send you back a working model.


Gord


On Mon, 15 Sep 2008 16:30:01 -0700, Carla
wrote:

Hi Gord,
This could work - I have 15 possible words that could appear in A1. Would
you mind also elaborating on what I could do with the "Data Validation
dropdown menu in A1 and some sheet event code"?
Thanks for your help.



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Lookup across workbook

Ok

That's not quite 15 names but you're happy so I'm happy.


Gord

On Tue, 16 Sep 2008 20:23:01 -0700, Carla
wrote:

Hi Gord,
Thanks for your assistance. I played around with the formula you supplied a
few days ago and came up with a solution. I created a dropdown menu for A1
and used the following formula in the lookup cells (so that it was displaying
the value in that particular cell on the different sheets):

=IF($A$1="Bob",LOOKUP(Sheet1!$G$53,Sheet1!$G$53), IF($A$1="John",LOOKUP(Sheet2!$G$74,Sheet2!$G$74),I F($A$1="David",LOOKUP(Sheet3!$G$98,Sheet3!$G$98))) )

Thanks again.


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
lookup value from different workbook BAKERSMAN Excel Discussion (Misc queries) 1 July 26th 07 05:50 PM
lookup in 1 workbook to get data for another workbook new_to_vba Excel Worksheet Functions 0 June 21st 07 04:35 AM
Lookup more than one workbook IntricateFool Excel Discussion (Misc queries) 3 June 5th 06 07:48 PM
workbook lookup Max_power Excel Discussion (Misc queries) 1 April 6th 06 02:03 PM
How can I do a 3-D Lookup through a workbook? Dave Peterson Excel Discussion (Misc queries) 0 January 25th 05 12:15 AM


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