![]() |
vlookup (a drop list)
I'm not the most computer friendly person so Ill my best try to decade what
I want to do: Fist my reference has three columns: Column A Column B Column C Item Name Cost Level Some Items have different cost to them (some different cost for different levels) (I have put into list) Where I want the information displayed I have the Items Names as a List. And I want to use the vlookup to display the (cost and level) in the next to columns. Is there a way that vlookup can read the lists in my reference. It just displays it as a blank cell. |
vlookup (a drop list)
Say your datalist is in A1 to C50. Say your drop-down list is in F1, and you want to display the cost in G1, and the level in H1. Enter this formula in G1: =IF(F1="","",VLOOKUP($F1,$A$1:$C$50,COLUMN(B1),0)) Then, copy this formula to H1. Now, each change of the choice in the drop-down list will result in the appropriate price and level being displayed in G1 and H1. -- HTH, RD --------------------------------------------------------------------------- Please keep all correspondence within the NewsGroup, so all may benefit ! --------------------------------------------------------------------------- "john" wrote in message ... I'm not the most computer friendly person so Ill my best try to decade what I want to do: Fist my reference has three columns: Column A Column B Column C Item Name Cost Level Some Items have different cost to them (some different cost for different levels) (I have put into list) Where I want the information displayed I have the Items Names as a List. And I want to use the vlookup to display the (cost and level) in the next to columns. Is there a way that vlookup can read the lists in my reference. It just displays it as a blank cell. |
vlookup (a drop list)
john
See Debra Dalgleish's site for more on VLOOKUP and Data Validation lists for entering the choices. http://www.contextures.on.ca/xlFunctions02.html http://www.contextures.on.ca/xlDataVal01.html Note the section on using DV lists from another worksheet by naming the list. Gord Dibben MS Excel MVP On Sun, 20 May 2007 07:19:00 -0700, john wrote: I'm not the most computer friendly person so I’ll my best try to decade what I want to do: Fist my reference has three columns: Column A Column B Column C Item Name Cost Level Some Items have different cost to them (some different cost for different levels) (I have put into list) Where I want the information displayed I have the Items Names as a List. And I want to use the vlookup to display the (cost and level) in the next to columns. Is there a way that vlookup can read the lists in my reference. It just displays it as a blank cell. |
All times are GMT +1. The time now is 04:09 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com