Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 5
Default VLOOKUP Question for New User

I have a list of 800 items I must look up from one worksheet and enter the
price on another worksheet. The worksheets are not similar. Using a common
item number that appears in both worksheets, will VLOOKUP do this for me? In
other words copy a price from one worksheet to the proper column in another
worksheet?
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 5,441
Default VLOOKUP Question for New User

Let's say that your common item numbers are both in column A

=VLOOKUP(A2,OtherSheet!A:H,8,False)

will pull the data from column H of the OtherSheet. If you actually have a separate workbook, then
the formula will be slightly different, but not significantly.

HTH,
Bernie
MS Excel MVP


"vburns" wrote in message
...
I have a list of 800 items I must look up from one worksheet and enter the
price on another worksheet. The worksheets are not similar. Using a common
item number that appears in both worksheets, will VLOOKUP do this for me? In
other words copy a price from one worksheet to the proper column in another
worksheet?



  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 5
Default VLOOKUP Question for New User

Does this mean I still have to type in the item number each time in cell A2
to return the price from the other worksheet?

"Bernie Deitrick" wrote:

Let's say that your common item numbers are both in column A

=VLOOKUP(A2,OtherSheet!A:H,8,False)

will pull the data from column H of the OtherSheet. If you actually have a separate workbook, then
the formula will be slightly different, but not significantly.

HTH,
Bernie
MS Excel MVP


"vburns" wrote in message
...
I have a list of 800 items I must look up from one worksheet and enter the
price on another worksheet. The worksheets are not similar. Using a common
item number that appears in both worksheets, will VLOOKUP do this for me? In
other words copy a price from one worksheet to the proper column in another
worksheet?




  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 22,906
Default VLOOKUP Question for New User

Yes

Perhaps a Data Validation Dropdown list in A2 would help?

See Debra Dalgleish's site for help on Data Validation lists.

http://www.contextures.on.ca/xlDataVal01.html


Gord Dibben MS Excel MVP


On Tue, 19 Aug 2008 12:15:01 -0700, vburns
wrote:

Does this mean I still have to type in the item number each time in cell A2
to return the price from the other worksheet?

"Bernie Deitrick" wrote:

Let's say that your common item numbers are both in column A

=VLOOKUP(A2,OtherSheet!A:H,8,False)

will pull the data from column H of the OtherSheet. If you actually have a separate workbook, then
the formula will be slightly different, but not significantly.

HTH,
Bernie
MS Excel MVP


"vburns" wrote in message
...
I have a list of 800 items I must look up from one worksheet and enter the
price on another worksheet. The worksheets are not similar. Using a common
item number that appears in both worksheets, will VLOOKUP do this for me? In
other words copy a price from one worksheet to the proper column in another
worksheet?





  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 22,906
Default VLOOKUP Question for New User

Too hasty with the first post.

If your list of items is in a range of say, A2:A800, simply enter Bernie's
formula in B2 then copy down to B800 by double-click on the fill handle of
B2.


Gord

On Tue, 19 Aug 2008 12:15:01 -0700, vburns
wrote:

Does this mean I still have to type in the item number each time in cell A2
to return the price from the other worksheet?

"Bernie Deitrick" wrote:

Let's say that your common item numbers are both in column A

=VLOOKUP(A2,OtherSheet!A:H,8,False)

will pull the data from column H of the OtherSheet. If you actually have a separate workbook, then
the formula will be slightly different, but not significantly.

HTH,
Bernie
MS Excel MVP


"vburns" wrote in message
...
I have a list of 800 items I must look up from one worksheet and enter the
price on another worksheet. The worksheets are not similar. Using a common
item number that appears in both worksheets, will VLOOKUP do this for me? In
other words copy a price from one worksheet to the proper column in another
worksheet?







  #6   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 5
Default VLOOKUP Question for New User

Thank you for your help. I'm determined to make this work, but I can't yet
get it to work.

My common item numbers are in column F in both worksheets.

I want my price returned from column G in the other price list to column P
of my worksheet. This is my formula:

=VLOOKUP(F7:F651,'08pricelist'!F:G,7,FALSE)

Can you tell what I've done wrong? I get the #REF! error.

"Gord Dibben" wrote:

Too hasty with the first post.

If your list of items is in a range of say, A2:A800, simply enter Bernie's
formula in B2 then copy down to B800 by double-click on the fill handle of
B2.


Gord

On Tue, 19 Aug 2008 12:15:01 -0700, vburns
wrote:

Does this mean I still have to type in the item number each time in cell A2
to return the price from the other worksheet?

"Bernie Deitrick" wrote:

Let's say that your common item numbers are both in column A

=VLOOKUP(A2,OtherSheet!A:H,8,False)

will pull the data from column H of the OtherSheet. If you actually have a separate workbook, then
the formula will be slightly different, but not significantly.

HTH,
Bernie
MS Excel MVP


"vburns" wrote in message
...
I have a list of 800 items I must look up from one worksheet and enter the
price on another worksheet. The worksheets are not similar. Using a common
item number that appears in both worksheets, will VLOOKUP do this for me? In
other words copy a price from one worksheet to the proper column in another
worksheet?





  #7   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 5,441
Default VLOOKUP Question for New User

In P7, enter the formula:

=VLOOKUP(F7,'08pricelist'!F:G,2,FALSE)

and copy down as far as your need.

HTH,
Bernie
MS Excel MVP


"vburns" wrote in message
...
Thank you for your help. I'm determined to make this work, but I can't yet
get it to work.

My common item numbers are in column F in both worksheets.

I want my price returned from column G in the other price list to column P
of my worksheet. This is my formula:

=VLOOKUP(F7:F651,'08pricelist'!F:G,7,FALSE)

Can you tell what I've done wrong? I get the #REF! error.

"Gord Dibben" wrote:

Too hasty with the first post.

If your list of items is in a range of say, A2:A800, simply enter Bernie's
formula in B2 then copy down to B800 by double-click on the fill handle of
B2.


Gord

On Tue, 19 Aug 2008 12:15:01 -0700, vburns
wrote:

Does this mean I still have to type in the item number each time in cell A2
to return the price from the other worksheet?

"Bernie Deitrick" wrote:

Let's say that your common item numbers are both in column A

=VLOOKUP(A2,OtherSheet!A:H,8,False)

will pull the data from column H of the OtherSheet. If you actually have a separate workbook,
then
the formula will be slightly different, but not significantly.

HTH,
Bernie
MS Excel MVP


"vburns" wrote in message
...
I have a list of 800 items I must look up from one worksheet and enter the
price on another worksheet. The worksheets are not similar. Using a common
item number that appears in both worksheets, will VLOOKUP do this for me? In
other words copy a price from one worksheet to the proper column in another
worksheet?







  #8   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 5
Default VLOOKUP Question for New User

Thank you so much. I don't understand the significance of the column index
value of 2, but this worked for most items. Not all prices are in column G
on the price sheet so those items did not return a price, but I'll go back
and tweak those.

"Bernie Deitrick" wrote:

In P7, enter the formula:

=VLOOKUP(F7,'08pricelist'!F:G,2,FALSE)

and copy down as far as your need.

HTH,
Bernie
MS Excel MVP


"vburns" wrote in message
...
Thank you for your help. I'm determined to make this work, but I can't yet
get it to work.

My common item numbers are in column F in both worksheets.

I want my price returned from column G in the other price list to column P
of my worksheet. This is my formula:

=VLOOKUP(F7:F651,'08pricelist'!F:G,7,FALSE)

Can you tell what I've done wrong? I get the #REF! error.

"Gord Dibben" wrote:

Too hasty with the first post.

If your list of items is in a range of say, A2:A800, simply enter Bernie's
formula in B2 then copy down to B800 by double-click on the fill handle of
B2.


Gord

On Tue, 19 Aug 2008 12:15:01 -0700, vburns
wrote:

Does this mean I still have to type in the item number each time in cell A2
to return the price from the other worksheet?

"Bernie Deitrick" wrote:

Let's say that your common item numbers are both in column A

=VLOOKUP(A2,OtherSheet!A:H,8,False)

will pull the data from column H of the OtherSheet. If you actually have a separate workbook,
then
the formula will be slightly different, but not significantly.

HTH,
Bernie
MS Excel MVP


"vburns" wrote in message
...
I have a list of 800 items I must look up from one worksheet and enter the
price on another worksheet. The worksheets are not similar. Using a common
item number that appears in both worksheets, will VLOOKUP do this for me? In
other words copy a price from one worksheet to the proper column in another
worksheet?








  #9   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 5,441
Default VLOOKUP Question for New User

VLOOKUP takes 3 arguments, with an optional fourth. The third argument is the column of the table
to extract the data from - it cannot be a number higher than the number of columns in the table.
Since your table is columns F and G, you only have 2 columns of data, and so 2 is the proper value
for the third argument, not 7. Check out help on VLOOKUP for more.

Not all prices are in column G


They should all be in column G - that is proper usage of a database.

HTH,
Bernie
MS Excel MVP


"vburns" wrote in message
...
Thank you so much. I don't understand the significance of the column index
value of 2, but this worked for most items. Not all prices are in column G
on the price sheet so those items did not return a price, but I'll go back
and tweak those.

"Bernie Deitrick" wrote:

In P7, enter the formula:

=VLOOKUP(F7,'08pricelist'!F:G,2,FALSE)

and copy down as far as your need.

HTH,
Bernie
MS Excel MVP


"vburns" wrote in message
...
Thank you for your help. I'm determined to make this work, but I can't yet
get it to work.

My common item numbers are in column F in both worksheets.

I want my price returned from column G in the other price list to column P
of my worksheet. This is my formula:

=VLOOKUP(F7:F651,'08pricelist'!F:G,7,FALSE)

Can you tell what I've done wrong? I get the #REF! error.

"Gord Dibben" wrote:

Too hasty with the first post.

If your list of items is in a range of say, A2:A800, simply enter Bernie's
formula in B2 then copy down to B800 by double-click on the fill handle of
B2.


Gord

On Tue, 19 Aug 2008 12:15:01 -0700, vburns
wrote:

Does this mean I still have to type in the item number each time in cell A2
to return the price from the other worksheet?

"Bernie Deitrick" wrote:

Let's say that your common item numbers are both in column A

=VLOOKUP(A2,OtherSheet!A:H,8,False)

will pull the data from column H of the OtherSheet. If you actually have a separate
workbook,
then
the formula will be slightly different, but not significantly.

HTH,
Bernie
MS Excel MVP


"vburns" wrote in message
...
I have a list of 800 items I must look up from one worksheet and enter the
price on another worksheet. The worksheets are not similar. Using a common
item number that appears in both worksheets, will VLOOKUP do this for me? In
other words copy a price from one worksheet to the proper column in another
worksheet?










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
User Form question ah Excel Discussion (Misc queries) 1 November 5th 07 10:40 AM
New user with a question earljoe Excel Worksheet Functions 2 February 4th 06 09:28 AM
New User Question steveparker New Users to Excel 2 January 28th 06 10:46 PM
user input question BLW Excel Discussion (Misc queries) 2 May 23rd 05 08:41 PM
<> Scooterdog Excel Worksheet Functions 4 November 3rd 04 02:46 PM


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