Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Automatically filling a cell from a worksheet based on a selection

I have an invoice form in which I would like to automatically insert the
price based on the item selection in another cell. My data is a small table,
2 columns one for item, one for price. On my invoice for, I am able to
select my item from a drop down box, now I would like to automatically fill
the price column based on the item selection. What formula or function do I
need to use.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Automatically filling a cell from a worksheet based on a selection

Use VLOOKUP()
--
Gary''s Student - gsnu201003


"Pbrent" wrote:

I have an invoice form in which I would like to automatically insert the
price based on the item selection in another cell. My data is a small table,
2 columns one for item, one for price. On my invoice for, I am able to
select my item from a drop down box, now I would like to automatically fill
the price column based on the item selection. What formula or function do I
need to use.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 376
Default Automatically filling a cell from a worksheet based on a selection

Hi

Assuming your pricing data are on Sheet2 in columns A and B.
Also assuming that your item selection is in column C, on sheet1
In cell D2
=IF(C2="","",VLOOKUP(C2,Sheet2!$A:$B,2,0))
--
Regards
Roger Govier

Pbrent wrote:
I have an invoice form in which I would like to automatically insert the
price based on the item selection in another cell. My data is a small table,
2 columns one for item, one for price. On my invoice for, I am able to
select my item from a drop down box, now I would like to automatically fill
the price column based on the item selection. What formula or function do I
need to use.

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
Automatically filling in a formula in a cell Don Excel Discussion (Misc queries) 7 October 22nd 07 09:37 PM
Filling a few cells based on the info from another worksheet. Bruce[_2_] Excel Worksheet Functions 5 May 23rd 07 02:32 AM
Automatically Filling In Corresponding Data from Another Worksheet [email protected] Excel Discussion (Misc queries) 2 September 23rd 06 01:52 AM
Automatically filling in cells based on another cell's content Ginger Excel Worksheet Functions 5 September 2nd 05 09:17 AM
How do I automatically hide columns in a worksheet based on a cell value? dkhedkar Excel Worksheet Functions 1 March 5th 05 12:20 AM


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