Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am working in Excel. I have created a text drop-down menu in one column.
Can I insert a function so that when a choice is made, a value automatically appears in another cell i.e. choosing Monday in Cell D1 brings up 100 in cell E1, choosing Tuesday in Cel D1 brings up 200 in E1 etc... |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Yep. Take a look at LOOKUP functions (or VLOOKUP). If you're just using days,
you could even use a combination of WEEKDAY & CHOOSE. See XL's help file for guidance on all of these functions. -- Best Regards, Luke M *Remember to click "yes" if this post helped you!* "Relating text to values in drop-downs" wrote: I am working in Excel. I have created a text drop-down menu in one column. Can I insert a function so that when a choice is made, a value automatically appears in another cell i.e. choosing Monday in Cell D1 brings up 100 in cell E1, choosing Tuesday in Cel D1 brings up 200 in E1 etc... |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a sample workbook with the exact setup you are asking....email
me and I'll send it to you! Ken |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Or maybe you could use VBA:
Private Sub Worksheet_Change(ByVal Target As Range) Dim r As Long r = ActiveCell.Row If Target.Column = 4 And Target.Row 1 Then Select Case Cells(r, "D").Value Case "Monday" Cells(r, "E").Value = 100 Case "Tuesday" Cells(r, "E").Value = 200 Case "Wednesday" Cells(r, "E").Value = 300 Case "Thursday" Cells(r, "E").Value = 400 Case "Friday" Cells(r, "E").Value = 500 Case "Saturday" Cells(r, "E").Value = 600 Case "Sunday" Cells(r, "E").Value = 700 Case Else Exit Sub End Select End If End Sub Ken(not an expert!) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
drop down list that changes cell color upon selection | Excel Discussion (Misc queries) | |||
Text to dictate colour of the cell and/or row | Excel Worksheet Functions | |||
Linking a selection in a drop down list to a calc in another cell | Excel Worksheet Functions | |||
How do I dictate cell to cell progression in a protected worksheet | Excel Worksheet Functions | |||
Selection of Drop down list that allows you to go to a particular cell | Excel Worksheet Functions |