LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default Is there a way to return records?

You're welcome!

Biff

"rayteach" wrote in message
...
Thank you so much for your response. That makes it much easier to use the
VLOOKUP function.
--
ray


"Biff" wrote:

I do not see how this is an
advance over copy and paste?


Using copy/paste, you'd have to do this every time you want to lookup
some
data. Using the lookup formulas you do it once by just changing the
lookup
value.

Also, the examples you've been given are rather basic. They can be
modified
to give them much more capability.

For example, you don't need to enter 3 different formulas, one for each
column index number:

=VLOOKUP($A$1, Products, 2, 0)
=VLOOKUP($A$1, Products, 3, 0)
=VLOOKUP($A$1, Products, 4, 0)

You can write one formula and as you copy it across to other cells, have
the
column index number automatically increment:

=VLOOKUP($A$1, Products, COLUMNS($A:B), 0)

Biff

"rayteach" wrote in message
...
Your formula worked perfectly but, perhaps I am being thick headed, I
still
need to copy the formula through each cell. I do not see how this is an
advance over copy and paste? There is no way to simply type the product
code
into a cell and then have the rest of the record copied into the
adjacent
cells?
--
ray


"Duke Carey" wrote:

Name the range that contains your product codes by selecting all the
cells,
then using InsertNamesDefine and typing in a brief name - let's call
it
Products

Now, in the cells adjacent to the cell where you'll input the product
code
use (assuming the product code is entered in A1)

=VLOOKUP($A$1, Products, 2, 0)

The 2 instructs Excel to get whatever is in the second column of the
product
table, so change this number to 3, 4, etc as you copy it into other
cells.
The 0 requires an exact match on product code and returns an #NA error
if
there is no match



"rayteach" wrote:

I am using Excel XP. I have a spreadsheet with product codes,
textual
description, price, and extension as the column labels and about 15
records.
I want to know if there is a way to (for example) enter the product
code of
an item in a cell in another worksheet (or a different workbook) and
have the
complete record of that item be duplicated.
ray






 
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
return multiple records matching multiple criteria Karthik Excel Worksheet Functions 2 March 22nd 06 04:42 PM
Deleting specific records from a column [email protected] Excel Discussion (Misc queries) 2 June 16th 05 04:02 AM
check if reference exists, then return its value or return 0 doudou Excel Worksheet Functions 1 June 4th 05 09:17 PM
How do create a formula to evalute a # to return 1 of 4 conditions Larry Excel Worksheet Functions 4 May 29th 05 12:58 AM
Linking records schauncey Setting up and Configuration of Excel 0 March 11th 05 03:29 PM


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