MrExcel Message Board

Go Back   MrExcel Message Board > Question Forums > Excel Questions

Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only.

Reply
 
Thread Tools Display Modes
Old Apr 7th, 2002, 01:44 PM   #1
gumby
New Member
 
Join Date: Apr 2002
Posts: 13
Default

I have this =VLOOKUP(B17,$A$40:$B$49,2,FALSE) in my sheet. cell b17 has "=a43".(I'm assuming this is the problem) It gives me the error #N/A. how can I format the b17 cell reference in vlookup so it will see it as a cell reference and not text.

gumby is offline   Reply With Quote
Old Apr 7th, 2002, 01:56 PM   #2
Aladin Akyurek
MrExcel MVP
 
Aladin Akyurek's Avatar
 
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
Default

Quote:
On 2002-04-07 12:44, gumby wrote:
I have this =VLOOKUP(B17,$A$40:$B$49,2,FALSE) in my sheet. cell b17 has "=a43".(I'm assuming this is the problem) It gives me the error #N/A. how can I format the b17 cell reference in vlookup so it will see it as a cell reference and not text.
I presume that B17 houses the formula

=A43

If so, What houses A43?

Moreover, is this A43 in the same sheet as your lookup table $A$40:$B$49?

Aladin Akyurek is offline   Reply With Quote
Old Apr 7th, 2002, 01:56 PM   #3
Dave Patton
Board Regular
 
Join Date: Feb 2002
Location: Calgary, Alberta Canada
Posts: 2,065
Default


You probably want to put the value to be looked up in B17.

Go to B17 and enter an amount to be looked up. If you enter something that is recorded in the same way as the information in A43:A49, the formula will give the information in the adjacent column (B).

If you try to lookup something that is not in your lookup range, you will get the message #N/A.
Dave Patton is offline   Reply With Quote
Old Apr 7th, 2002, 02:03 PM   #4
Peo08
New Member
 
Join Date: Apr 2002
Posts: 7
Default

Maybe you want to try this

=OFFSET(INDIRECT(B17),,1)

will return the adjacent cell to the
right of cell address A43

Regards,

Peo Sjoblom
Peo08 is offline   Reply With Quote
Old Apr 7th, 2002, 03:13 PM   #5
gumby
New Member
 
Join Date: Apr 2002
Posts: 13
Default

cell a43 contains text "chaintech excel"
I want vlookup to look in cell b17 which has "=a43" then return the data in cell b43
gumby is offline   Reply With Quote
Old Apr 7th, 2002, 03:29 PM   #6
Aladin Akyurek
MrExcel MVP
 
Aladin Akyurek's Avatar
 
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
Default

Quote:
On 2002-04-07 14:13, gumby wrote:
cell a43 contains text "chaintech excel"
I want vlookup to look in cell b17 which has "=a43" then return the data in cell b43
You don't mean that B17 has "=a43" literally including the double quotes, do you?

If so, why is that?
Aladin Akyurek is offline   Reply With Quote
Old Apr 7th, 2002, 03:31 PM   #7
kinkyparamour
Board Regular
 
Join Date: Feb 2002
Location: Florida
Posts: 82
Default

If you have "=a43" in b17 your value will be a43.....If you want the text from a43 to be the value in b17 use =a43 without the "" around your formula.....



Denny

[ This Message was edited by: kinkyparamour on 2002-04-07 14:32 ]
kinkyparamour is offline   Reply With Quote
Old Apr 7th, 2002, 03:52 PM   #8
gumby
New Member
 
Join Date: Apr 2002
Posts: 13
Default

no, the entry in b17 does not have quotes
b17 contains =a43
gumby is offline   Reply With Quote
Old Apr 7th, 2002, 04:01 PM   #9
Peo08
New Member
 
Join Date: Apr 2002
Posts: 7
Default

I already gave you the solution, you cannot use vlookup..

=OFFSET(INDIRECT(B17),,1)

will return what's in B43 if B17 contains a43

why don't you try it?

Regards,

Peo Sjoblom
Peo08 is offline   Reply With Quote
Old Apr 7th, 2002, 04:02 PM   #10
Aladin Akyurek
MrExcel MVP
 
Aladin Akyurek's Avatar
 
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
Default

Quote:
On 2002-04-07 14:52, gumby wrote:
no, the entry in b17 does not have quotes
b17 contains =a43
Now, please answer: In which sheet (sheetname) is your

=VLOOKUP(B17,$A$40:$B$49,2,FALSE)

B17

A43

and

B43?
Aladin Akyurek is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 12:13 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
All contents Copyright 1998-2012 by MrExcel Consulting.
diabetic desserts recipes recipes Diabetic Soups Holiday Pizza Recipes Popcorn Recipes Recipes For Microwave Pasta Recipes Casserole Recipes Chili Recipes Curry Recipes Crockpot Recipes Apples Recipes Bread Recipes Vegetarian Recipes Vegetable recipes Desserts Recipes Appetizers Ethnic Recipes Meat Dishes Barbecue Recipes Sauces Recipes Marinade Recipes Low Fat Recipes Frugal Gourmet Kitchen Classics Recipes On The Grill Cook Books Seafood Recipes Cajun Recipes Breads Low Fat Low Fat Breads Bread Machine Recipes Yeast Breads Quick Breads Fat Free Vegetarian Salad Recipes Eggplant Recipes Radish Recipes Tomato Recipes Jalapeno Recipes Potato Recipes Lettuce Recipes Cabbage Recipes Beans Ambrosia Recipes Biscotti Recipes Desserts Low Fat Cookie Recipes Cheesecake Recipes Cake Recipes Pie Recipes Muffin Recipes Custard Recipes Best Appetizers Appetizers Low Fat Salsa Recipes Dip Recipes International Recipes Afghan Recipes Alaska Recipes French Recipes German Recipes Greek Recipes Italian Recipes Spanish Recipes Thai Recipes Korean Recipes Chinese Recipes Mexican Recipes Indian Recipes Beef Recipes Pork Pork & Ham Pork Butts Pork Chop Recipes Pork Ribs Rulled Pork Poultry Recipes Stews Recipes Ground Beef Barbecue Grill Barbecue Smoker All Purpose Sauce BBQ Sauce Barbecue Sauce Carolina BBQ Sauce Pickle Recipes Marinades Smoking Low Fat Appetizers & Dips Low Fat Breakfast Low Fat Cakes Low Fat Cheesecakes Low Fat Cookies Low Fat Desserts Low Fat Fish & Seafood Low Fat Meats Low Fat Pasta Low Fat Pies Low Fat Salads Low Fat Sandwiches Low Fat Sauces & Condiments Low Fat Sides Low Fat Soups Low Fat Vegetarian Baker's Dozen Taste of Home Recipe Book Bon Appetit Cookbook Blacktie Cookbook Buster Cook Book Cookbook USA Cook Book Cook Book Sara's Cookbook Sara's Cookbook Appetizers and Dips Poultry recipes Diabetic recipes Holiday recipes Miscellaneous recipes 110 recipes 1986 Usenet cookbook 2900 recipes Cyberrealm recipes Great sysops of world Specialty recipes Ceideburg recipes Cheese recipes Chili recipes Fruits recipes Garlic recipes Great chefs of NY Londontowne recipes Raisins recipes Recipes for kids US Food Vegetarian recipes Bread recipes Drinks Meat Dishes Brisket recipes Caribou recipes Chicken recipes Filet mignons recipes Pork recipes Swordfish recipes Turkey recipes Pasta recipes Uncategorized recipes Ethnic recipes Canada recipes English recipes Ethiopia recipes Germany recipes Greece recipes Mexican recipes Philippines recipes Welsh recipes Microwave recipes Soups recipes Vegetable recipes Asparagus recipes Barley recipes Brown rice recipes Lentil recipes Mushrooms recipes Salads recipes Wild rice Desserts recipes Cakes recipes Chocolate recipes Cookies recipes Ice cream recipes