#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 328
Default Forumlas

I need to create a formula to do the following: -

Column A - has stock numbers
Column B - Quantity
Column C - Description

How do I do a formula that will automatically put in the description once I
enter the stock number?

I have another sheet in the same workbook with all of the stock numbers and
descriptions to work from.

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Forumlas

Use VLOOKUP:

Use Data Validation (DV ) to select your stock numbers.

Assuming your Stock table iis in Sheet2 columns A to C:

If stock number (DV) is in A2:

in B2: =VLOOKUP(A2,Sheet2!A:C,2,0)

to get Quantity

in C2: =VLOOKUP(A2,Sheet2!A:C,3,0)

to get Description

HTH



"Lisa" wrote:

I need to create a formula to do the following: -

Column A - has stock numbers
Column B - Quantity
Column C - Description

How do I do a formula that will automatically put in the description once I
enter the stock number?

I have another sheet in the same workbook with all of the stock numbers and
descriptions to work from.

Thanks!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Forumlas

You would use Vlookup in the description column

=VLOOKUP(A2,Sheet2!$A$1:$B$50,2,FALSE)
Drag down as far as rtequired

Where A2 is the stocknumber you are entering and Sheet 2 A1 to B50 are the 2
columns with stock No#s abd descriotions in.



Mike

"Lisa" wrote:

I need to create a formula to do the following: -

Column A - has stock numbers
Column B - Quantity
Column C - Description

How do I do a formula that will automatically put in the description once I
enter the stock number?

I have another sheet in the same workbook with all of the stock numbers and
descriptions to work from.

Thanks!

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
Forumlas or scripts? Gor_yee Excel Discussion (Misc queries) 0 October 16th 06 01:53 PM
how to transpose forumlas iturnrocks Excel Worksheet Functions 4 August 11th 06 04:16 PM
Circular Reference Forumlas acebrown Excel Discussion (Misc queries) 1 July 22nd 06 02:47 AM
Forumlas Not Executing Trey Excel Discussion (Misc queries) 2 January 25th 06 04:02 PM
Help with Commission forumlas asdfasdf Excel Worksheet Functions 6 November 15th 04 05:28 PM


All times are GMT +1. The time now is 04:11 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"