Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default My Excel formula is using my text as a cell range.

I am trying to have my formula look up my value. The problem is my text
value appears to be a cell range, for example "a75-s209". A75-s209 is a
model number that we sell. I tried to use an apostrophe, as well as
quotation marks. I could not get either one to function properly
=VLOOKUP(Inventory!"a75-s209",Inventory!A2:B74,2)
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default My Excel formula is using my text as a cell range.

Aeryn,
If it is text, then it is not on WS Inventory as such, so use;
=VLOOKUP("a75-s209",Inventory!A2:B74,2)

NickHK

"Aeryn635" wrote in message
...
I am trying to have my formula look up my value. The problem is my text
value appears to be a cell range, for example "a75-s209". A75-s209 is a
model number that we sell. I tried to use an apostrophe, as well as
quotation marks. I could not get either one to function properly
=VLOOKUP(Inventory!"a75-s209",Inventory!A2:B74,2)



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default My Excel formula is using my text as a cell range.

Thank you so much!! Almost perfect. How do I tell it to only return an exact
match when it searches for a value?

"NickHK" wrote:

Aeryn,
If it is text, then it is not on WS Inventory as such, so use;
=VLOOKUP("a75-s209",Inventory!A2:B74,2)

NickHK

"Aeryn635" wrote in message
...
I am trying to have my formula look up my value. The problem is my text
value appears to be a cell range, for example "a75-s209". A75-s209 is a
model number that we sell. I tried to use an apostrophe, as well as
quotation marks. I could not get either one to function properly
=VLOOKUP(Inventory!"a75-s209",Inventory!A2:B74,2)




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default My Excel formula is using my text as a cell range.

Aeryn,
Look at the 4th argument to VLOOKUP.

NickHK

"Aeryn635" wrote in message
...
Thank you so much!! Almost perfect. How do I tell it to only return an

exact
match when it searches for a value?

"NickHK" wrote:

Aeryn,
If it is text, then it is not on WS Inventory as such, so use;
=VLOOKUP("a75-s209",Inventory!A2:B74,2)

NickHK

"Aeryn635" wrote in message
...
I am trying to have my formula look up my value. The problem is my

text
value appears to be a cell range, for example "a75-s209". A75-s209 is

a
model number that we sell. I tried to use an apostrophe, as well as
quotation marks. I could not get either one to function properly
=VLOOKUP(Inventory!"a75-s209",Inventory!A2:B74,2)






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
Excel 2007 - formula to display text over a range of values Malaria Man[_2_] Excel Discussion (Misc queries) 1 April 28th 10 05:50 PM
Convert text in cell to a range name for formula Sawhney Excel Worksheet Functions 1 April 14th 06 01:06 AM
How can I display a cell range in a text box in excel? Pat Hughes Excel Discussion (Misc queries) 3 September 22nd 05 05:13 PM
Using the text from a cell as a range name in a formula Fletch Excel Discussion (Misc queries) 3 June 13th 05 07:57 PM
How do I use text in a cell as a range name in a formula Kiwi Excel Discussion (Misc queries) 2 April 11th 05 04:17 AM


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