Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default how to show data in another cell from a drop down box

I have created a drop down box from another worksheet. What i want to happen
is when the data from the list is selected excel then pastes data into
another cell.
In the drop down list is a list of descriptions when one of these is
selected i want to link to the corresponding price and paste it to a cell.
for invoicing purposes is this possible?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default how to show data in another cell from a drop down box

See this:

http://contextures.com/xlFunctions02.html

--
Biff
Microsoft Excel MVP


"shaky_uk" wrote in message
...
I have created a drop down box from another worksheet. What i want to
happen
is when the data from the list is selected excel then pastes data into
another cell.
In the drop down list is a list of descriptions when one of these is
selected i want to link to the corresponding price and paste it to a cell.
for invoicing purposes is this possible?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default how to show data in another cell from a drop down box

Once you have used the Data Validation drop-down to select an item from the
list, use the =VLOOKUP() function to get the price from an adjacent column.
--
Gary''s Student - gsnu200823


"shaky_uk" wrote:

I have created a drop down box from another worksheet. What i want to happen
is when the data from the list is selected excel then pastes data into
another cell.
In the drop down list is a list of descriptions when one of these is
selected i want to link to the corresponding price and paste it to a cell.
for invoicing purposes is this possible?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,346
Default how to show data in another cell from a drop down box

Hi,

If all you want is the value to appear in the cell, use a VLOOKUP or related
formula as suggested. If you actually want to paste a value into a cell, and
not use a formula then you would need to code it with VBA.


Private Sub Worksheet_Change(ByVal Target As Range)
Dim isect As Range
Set isect = Application.Intersect(Target, Range("A1"))
If Not isect Is Nothing Then
'your code here
End If
End Sub

In this example the drop down list would be in cell A1 of the active sheet.
You would need to put code into the "your code here" part to do whatever you
want.

If this helps, please click the Yes button.

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"shaky_uk" wrote:

I have created a drop down box from another worksheet. What i want to happen
is when the data from the list is selected excel then pastes data into
another cell.
In the drop down list is a list of descriptions when one of these is
selected i want to link to the corresponding price and paste it to a cell.
for invoicing purposes is this possible?

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
Macro and Drop down list to show different sets of data do not wor audrey gouy Excel Discussion (Misc queries) 0 June 18th 08 09:31 AM
How do I show that a drop down list exists in a cell? Bob Slater Excel Discussion (Misc queries) 1 April 18th 08 09:51 PM
Data Validation Drop Down List - Always Show Louise Excel Discussion (Misc queries) 1 September 18th 06 12:26 PM
Show data dependant on selection from drop down box ukplay Excel Worksheet Functions 1 May 15th 06 04:49 PM
pivot tables-drop data in, how to make it show as columns instead Alicia Excel Discussion (Misc queries) 1 February 15th 06 03:31 PM


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