+ Reply to Thread
Results 1 to 5 of 5

Call on cells from drop down list

  1. #1
    Registered User
    Join Date
    07-30-2013
    Location
    Orlando
    MS-Off Ver
    Excel 2003
    Posts
    2

    Smile Call on cells from drop down list

    I have a column of 343 items in E, and their corresponding prices in Row E. I've created a drop down list in numerous cells in Column A for items, and I need to formulate it so that the adjacent cell in Column B for each individual drop down will call the correct prices from E. I know this should be simple, but I am absolutely boggled. Any help is very appreciated.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Call on cells from drop down list

    Please Login or Register  to view this content.
    This is a contradiction.

    Please post an example of your file, without confidential information, and the desired (expected) result.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    07-30-2013
    Location
    Orlando
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Call on cells from drop down list

    Spreadsheet 1.xlsxYeah, that first one should say column D, and I've attached a sample. That's what I get for rushing.


    What I'm looking for is to have the appropriate pricing called into the adjacent cell for whatever item is pulled from the dropdown menu. I will touch up the aesthetics and functionality of everything once I have a working formula.

    Thank you for your help.

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Call on cells from drop down list

    See the attached file.

    I used VLookup for that.

    b2
    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-18-2013
    Location
    St. Louis, MO
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Call on cells from drop down list

    I have the following code that calls macros / functions from drop down menu

    Private Sub Worksheet_Change(ByVal Target As Range)
    If Target.Address = "$I$2" Then
    Select Case Target
    Case "CLOSE REQUESTED"
    Call Macro1
    Case "BF1"
    ActiveCell.Offset(0, -1) = ActiveCell.Offset(0, -2) + 7
    Call Macro2
    Case "BF2"
    ActiveCell.Offset(0, -1) = ActiveCell.Offset(0, -2) + 14
    Call Macro2
    Case "BF3"
    ActiveCell.Offset(0, -1) = ActiveCell.Offset(0, -2) + 21
    Call Macro2
    Case "BF4"
    ActiveCell.Offset(0, -1) = ActiveCell.Offset(0, -2) + 28
    Call Macro2
    Case "BF5"
    ActiveCell.Offset(0, -1) = ActiveCell.Offset(0, -2) + 35
    Call Macro2
    Case "BF6"
    ActiveCell.Offset(0, -1) = ActiveCell.Offset(0, -2) + 42
    Call Macro2
    Case Else
    Call Macro2
    End Select
    End If


    BUT HOW do I make the 2nd line relative:
    If Target.Address = "$I$2" Then

    I want the target to be anything in Column "I" and cannot seem to be able to set it for the entire column / range and still have it work. help?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Using a drop down list to populate cells underneath the drop down.
    By jfgay in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-24-2013, 04:07 PM
  2. Drop down list to call up table
    By ajslf in forum Excel General
    Replies: 1
    Last Post: 06-14-2012, 08:59 PM
  3. drop down list..if cells contain data
    By jw01 in forum Excel General
    Replies: 11
    Last Post: 03-03-2011, 05:02 PM
  4. Formula: Drop Down List -> Choose Option Finds Cells & Replace Cells with Cells
    By g00glethis1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-14-2010, 01:10 PM
  5. Drop down list for 2 cells
    By P357 in forum Excel General
    Replies: 4
    Last Post: 04-05-2009, 07:02 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1