Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Ty Ty is offline
external usenet poster
 
Posts: 3
Default Problem with Pick List associated cell

Can anybody help me with this issue. I am trying to select an item from a pick list and be able to automatically copy the adjacent cell value to another cell.


Example:

This is the pick list

PAPER HOLDER - LEVEL I (CHROME) $2.80
TOWEL BAR - 24" LEVEL I (CHROME) $2.80
TOWEL BAR - 18" LEVEL I (CHROME) $2.80


Once I choose the item to fill in another cell location, I want the adjacent price to automatically fill in another cell location as well.

---
frmsrcurl: http://msgroups.net/microsoft.public.excel.misc/23
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Problem with Pick List associated cell

One idea, use a formula in a col adjacent to the DV pick list

Let's say your pick list as posted is in B2 down
You could have this in say C2, copied down:
=IF(B2="","",MID(B2,SEARCH("$",B2)+1,99)+0)
Format col C as currency to taste

The above relies on searching for the "$" in the pick list's string, then
stripping all the numbers after the "$" using MID. The last "+0" bit is to
coerce the resulting text numbers (as MID returns it as text) to real
numbers.
--
Max
Singapore
"Ty" / wrote in message
...
Can anybody help me with this issue. I am trying to select an item from a
pick list and be able to automatically copy the adjacent cell value to
another cell.


Example:

This is the pick list

PAPER HOLDER - LEVEL I (CHROME) $2.80
TOWEL BAR - 24" LEVEL I (CHROME) $2.80
TOWEL BAR - 18" LEVEL I (CHROME) $2.80


Once I choose the item to fill in another cell location, I want the
adjacent price to automatically fill in another cell location as well.

---
frmsrcurl: http://msgroups.net/microsoft.public.excel.misc/23



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Problem with Pick List associated cell

Create a new table (A1:B3, say) on a different sheet.
Give the first column (A1:A3) a nice name.
Use Data|Validation to create a dropdown list with those options as the choice.

Use a formula in the adjacent cell to retrieve the value in the adjacent column
in the table.

=if(a1="","",vlookup(a1,sheet2!a1:b3,2,false))

Debra Dalgleish has some notes about naming the range:
http://contextures.com/xlDataVal01.html#Name

And for using =vlookup():
http://www.contextures.com/xlFunctions02.html (for =vlookup())
and
http://contextures.com/xlFunctions02.html#Trouble

Ty wrote:

Can anybody help me with this issue. I am trying to select an item from a pick list and be able to automatically copy the adjacent cell value to another cell.

Example:

This is the pick list

PAPER HOLDER - LEVEL I (CHROME) $2.80
TOWEL BAR - 24" LEVEL I (CHROME) $2.80
TOWEL BAR - 18" LEVEL I (CHROME) $2.80

Once I choose the item to fill in another cell location, I want the adjacent price to automatically fill in another cell location as well.

---
frmsrcurl: http://msgroups.net/microsoft.public.excel.misc/23


--

Dave Peterson
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
can I build a user pick a value from a list to insert into a cell krisfr Excel Discussion (Misc queries) 2 July 20th 06 12:21 AM
how do i get a drop down pick list in a cell andrew openshaw Excel Worksheet Functions 0 March 2nd 06 03:28 PM
how do i get a drop down pick list in a cell bpeltzer Excel Worksheet Functions 0 March 2nd 06 03:26 PM
Making pick list conditional on selection from previous pick list Stewart Excel Discussion (Misc queries) 1 June 27th 05 11:30 AM
Calculate Value of Cell From Pick List Choice Buz Excel Discussion (Misc queries) 1 April 5th 05 08:52 PM


All times are GMT +1. The time now is 03:20 AM.

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"