+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : How to automate input value?

  1. #1
    Registered User
    Join Date
    12-12-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2007
    Posts
    4

    How to automate input value?

    Hi guys,

    I have a question, i thin it is a pretty simple thing, especially for those who've worked with excel a bit more than me.

    I have a formula which refers to data from two input cells, A and B (among others).

    The value for the two input cells A and B comes from a table with two columns 1 and 2, such that the value in column 1 becomes the input value in cell A, and the corresponding value in column 2 of the table becomes to input value for cell B.


    Now I want to automate this, such that

    a. the user enters manually the value for cell A (example 80%)

    b. excel refers to the column 1 and locates the cell with 80%

    c. excel then enters the corresponding value in column 2 of the table (corresponding to 80%) into cell B

    this sounds embarrassingly simple, but I don't know how to do it. Will be very glad to have your help!

    Thanks,
    S
    Last edited by sandyjune1988; 12-13-2011 at 05:04 AM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,628

    Re: How to automate input value?

    See VLOOKUP in Help.
    Ben Van Johnson

  3. #3
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: How to automate input value?

    All you need to use is VLOOKUP. Research in google and you will get the answer on how to use this simple tool.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  4. #4
    Registered User
    Join Date
    12-12-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: How to automate input value?

    Thank you guys!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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